Date: Thu, 6 Apr 2006 10:21:07 -0400 From: Vivek Khera <vivek@khera.org> To: stable@freebsd.org Subject: Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?) Message-ID: <5DB6F364-6FE2-4DB9-9D88-C7053868777F@khera.org> In-Reply-To: <20060406081213.GA5578@garage.freebsd.pl> References: <440D74B3.3030309@vwsoft.com> <200603070939.30032.joao@matik.com.br> <54559.192.168.0.10.1141751042.squirrel@webmail.sd73.bc.ca> <20060316160813.GA15720@nowhere> <442033A2.2030208@rogers.com> <442043D0.6090206@centtech.com> <4432EA5E.3060003@rogers.com> <20060406081213.GA5578@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 6, 2006, at 4:12 AM, Pawel Jakub Dawidek wrote: > I can't give you an authoritative answer, because I don't know UFS > internals so well. All I know is that it (UFS) thinks the last > sector is > available and may want to use it at some point getting EIO then. Well, my ovservation from using "diskinfo -t -v" on my /dev/ad4 device and then on the /dev/mirror/gm0 device after the mirror create shows a slightly smaller mediasize. Now, whether the UFS knows it is smaller or not, I can't say, but the lower level of the OS is reporting a smaller media size. In any case, every time I partition a disk, fdisk always leaves a bunch of sectors hanging off the end. I presume that's where gmirror stores its data for whole-disk mirror... at least I'd hope!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5DB6F364-6FE2-4DB9-9D88-C7053868777F>