Date: Fri, 27 Jun 2008 22:38:51 -0700 From: Rudy <crapsh@MonkeyBrains.NET> To: booloo@ucsc.edu Cc: freebsd-questions@freebsd.org Subject: Re: gmirror metadata: end of slice or end of disk? Message-ID: <4865CE6B.7050703@MonkeyBrains.NET> In-Reply-To: <20080627194555.GA42681@root.ucsc.edu> References: <20080627194555.GA42681@root.ucsc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Boolootian wrote: > Hi folks, > > I'm trying to understand exactly where on disk gmirror is going to write > its metadata, It just tosses the info in the end of your disk/slice/partition -- I think ;) In your example, you had a da1d... you could do partition level mirroring instead of whole disk level if you want. While a machine was running ... and you had data on da1d, run gmirror label -v -b round-robin gm0d /dev/da1d gmirror instert gm0d da0d (asusming your da0 is what you are mirroring to) and you would have a 'parition level' gmirror... You may need to umount the partition... not sure. Oh, there is the secret sysctl kern.geom.debugflags=16 command as well. Explained in the reference I always use when using gmirror: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Rudy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4865CE6B.7050703>