Date: Fri, 7 Jul 2006 15:48:20 -0400 From: "Scott Ullrich" <sullrich@gmail.com> To: "Viktor Vasilev" <viktor.vasilev@stud.tu-darmstadt.de> Cc: freebsd-geom@freebsd.org Subject: Re: Detecting GMIRROR volumes without using gmirror utility Message-ID: <d5992baf0607071248y6b4c9397oa6e45318867afcb8@mail.gmail.com> In-Reply-To: <200607072147.01099.viktor.vasilev@stud.tu-darmstadt.de> References: <d5992baf0607071155m7f37ab8ds2a9b6ea92a82cddd@mail.gmail.com> <200607072147.01099.viktor.vasilev@stud.tu-darmstadt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/7/06, Viktor Vasilev <viktor.vasilev@stud.tu-darmstadt.de> wrote: > Maybe this could do the job: > > sysctl -b kern.geom.conftxt > > I don't have an active gmirror setup, but google says the output looks like > this: > > 0 DISK ad2 120034123776 512 hd 16 sc 63 > 1 MIRROR mirror/gm0 120034123264 512 > 2 MBR mirror/gm0s1 120031478784 512 i 0 o 32256 ty 165 > 3 BSD mirror/gm0s1f 118984074240 512 i 5 o 1047404544 ty 7 > 3 BSD mirror/gm0s1e 268435456 512 i 4 o 778969088 ty 7 > 3 BSD mirror/gm0s1d 268435456 512 i 3 o 510533632 ty 7 > 3 BSD mirror/gm0s1c 120031478784 512 i 2 o 0 ty 0 > 3 BSD mirror/gm0s1b 242098176 512 i 1 o 268435456 ty 1 > 3 BSD mirror/gm0s1a 268435456 512 i 0 o 0 ty 7 > 0 DISK ad0 120034123776 512 hd 16 sc 63 > 1 MBR ad0s1 120031478784 512 i 0 o 32256 ty 165 > 2 BSD ad0s1f 118984074240 512 i 5 o 1047404544 ty 7 > 2 BSD ad0s1e 268435456 512 i 4 o 778969088 ty 7 > 2 BSD ad0s1d 268435456 512 i 3 o 510533632 ty 7 > 2 BSD ad0s1c 120031478784 512 i 2 o 0 ty 0 > 2 BSD ad0s1b 242098176 512 i 1 o 268435456 ty 1 > 2 BSD ad0s1a 268435456 512 i 0 o 0 ty 7 That's exactly what the doctor ordered. Thanks, I'll give this a wack! Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5992baf0607071248y6b4c9397oa6e45318867afcb8>