RAID 1 configuration failure(Provider Too Small)

Sean Bruno sbruno at miralink.com
Thu Jul 5 18:47:30 UTC 2007


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?
>
> desdemona# fdisk /dev/da1
> ******* Working on device /dev/da1 *******
> parameters extracted from in-core disklabel are:
> cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)
>
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)
>
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> <UNUSED>
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
> desdemona# fdisk /dev/da0
> ******* Working on device /dev/da0 *******
> parameters extracted from in-core disklabel are:
> cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)
>
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl)
>
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
>    start 63, size 143363997 (70001 Meg), flag 80 (active)
>        beg: cyl 0/ head 1/ sector 1;
>        end: cyl 1023/ head 254/ sector 63
> The data for partition 2 is:
> <UNUSED>
> The data for partition 3 is:
> <UNUSED>
> The data for partition 4 is:
> <UNUSED>
>
> _______________________________________________
> freebsd-geom at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-geom
> To unsubscribe, send any mail to "freebsd-geom-unsubscribe at freebsd.org"
Adding the output of 'gmirror list'
desdemona# gmirror list
Geom name: gm0
State: COMPLETE
Components: 1
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 1639059843
Providers:
1. Name: mirror/gm0
   Mediasize: 73407868416 (68G)
   Sectorsize: 512
   Mode: r6w6e7
Consumers:
1. Name: da0
   Mediasize: 73407868928 (68G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 0
   SyncID: 1
   ID: 3049063106





More information about the freebsd-geom mailing list