Date: Thu, 14 Sep 2006 09:42:25 -0700 (PDT) From: "R. B. Riddick" <arne_woerner@yahoo.com> To: freebsd-geom@FreeBSD.ORG Subject: Re: gmirror size question Message-ID: <20060914164225.36453.qmail@web30309.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
--- "R. B. Riddick" <arne_woerner@yahoo.com> wrote: > I would use gnop during the "gmirror label" command in the hope, that gmirror > stores the mediasize permanently without further future checking... But that > is just a quick shot... > Because I found the question so interesting here is the plan (it is my plan; I invented it on my own; and I have a second plan about bands playing songs of David Hasselhoff): # diskinfo /dev/md? /dev/md0 512 33554432 65536 /dev/md1 512 16777216 32768 # gnop create -v -s 10485760 md0 # gmirror label fook md0.nop md1 # gmirror stop fook # gnop destroy md0.nop # gmirror forget fook # gmirror insert fook md0 # gmirror list Geom name: fook State: COMPLETE Components: 2 Balance: split Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 395302241 Providers: 1. Name: mirror/fook Mediasize: 10485248 (10M) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: md0 Mediasize: 33554432 (32M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 864954146 2. Name: md1 Mediasize: 16777216 (16M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 3713132874 [or similar] quod erat fackiendum -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060914164225.36453.qmail>