Different size drives

Ivan Voras ivoras at freebsd.org
Wed Feb 4 07:46:39 PST 2009


Dave Johnson wrote:
> Hi All
> 
> Is there a way to get geom to ignore the size of the 2nd drive?
> 
> Both drives are 250GB
> 
> The "slave" is a 100k larger.

If you're asking about gmirror, it should automatically "just work". I
have a configuration like that (different drive manufacturers, different
sector counts):

~> gmirror list
Geom name: gm0
State: COMPLETE
Components: 2
Balance: split
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 2
ID: 468895920
Providers:
1. Name: mirror/gm0
   Mediasize: 80026361344 (75G)
   Sectorsize: 512
   Mode: r7w7e8
Consumers:
1. Name: ad0
   Mediasize: 80026361856 (75G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 2
   ID: 1459003038
2. Name: ad2
   Mediasize: 81964302336 (76G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 2
   ID: 1951693847


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20090204/85b54266/signature.pgp


More information about the freebsd-geom mailing list