RAID 1 configuration failure(Provider Too Small)

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Jul 5 23:53:54 UTC 2007


On Thu, Jul 05, 2007 at 12:06:05PM -0700, Sean Bruno wrote:
> Pawel Jakub Dawidek wrote:
> >On Thu, Jul 05, 2007 at 11:44:27AM -0700, Sean Bruno wrote:
> >  
> >>I'm trying to setup a 2 disk RAID 1 on my Dell PE 1850 between two identical Seagate SCSI drives with the howto at: 
> >>http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
> >>
> >>I am able to convert my root drive(da0) to geom and reboot just fine.  I am failing when I run:
> >>
> >>|*gmirror insert gm0 /dev/da1*|
> >>
> >>
> >>The second step of converting the mirror drive of my RAID1 (da1) fails with the same "Provider da1 too small" error no matter what I attempt to do.  The drives are 
> >>reporting exactly the same size according to fdisk(see below).  Any ideas here?
> >>    
> >
> >fdisk? You are operating on raw disks, so it doesn't matter what
> >fdisk(8) reports. Compare disk sizes with diskinfo(8).
> >
> >  
> Ah...thanks!  That makes more sense.  I guess I'll re-install on the smaller drive and then mirror to the larger one?  Does that sound reasonable?
> 
> desdemona# diskinfo da0 da1
> da0     512     73407868928     143374744       8924    255     63
> da1     512     73407820800     143374650       8924    255     63

Yes, you can always insert bigger disk.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070705/670cd173/attachment.pgp


More information about the freebsd-geom mailing list