Date: Sat, 05 Feb 2005 21:12:21 -0500 From: Paul Mather <paul@gromit.dlib.vt.edu> To: Karl Denninger <karl@denninger.net> Cc: freebsd-geom@freebsd.org Subject: Re: Gmirror - how to do? Message-ID: <1107655941.4894.29.camel@zappa.Chelsea-Ct.Org> In-Reply-To: <20050205173326.B12620@denninger.net> References: <20050205135705.A10437@denninger.net> <20050205201237.GB1666@darkness.comp.waw.pl> <20050205170415.A12620@denninger.net> <20050205230842.GD1666@darkness.comp.waw.pl> <20050205173326.B12620@denninger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2005-02-05 at 17:33 -0600, Karl Denninger wrote: > On Sun, Feb 06, 2005 at 12:08:42AM +0100, Pawel Jakub Dawidek wrote: > > On Sat, Feb 05, 2005 at 05:04:15PM -0600, Karl Denninger wrote: > > +> > Remember not to boot the main machine with this disk inside, as it can > > +> > be tasted before your main 'boot' mirror. Inserting this disk after > > +> > boot, when your 'boot' mirror is configured should be safe. > > +> > > +> Nope, won't work. > > +> > > +> The mirrors potentially have different PHYSICAL slice sizes (remember > > +> this debate a while back on this list?) and if I do this, I'm guaranteed to > > +> screw the partition table, as the fdisk size of the slice table will be > > +> picked up. > > > > Sorry, but I don't understand. > > How can you touch slices configuration by labeling ad4s1? > > > > -- > > Pawel Jakub Dawidek http://www.wheel.pl > > pjd@FreeBSD.org http://www.FreeBSD.org > > FreeBSD committer Am I Evil? Yes, I Am! > > > Won't the gmirror system create the new mirror (on the "backup disk" using > the full size of the slice? Gmirror will truncate the mirror's size to that of the smallest mirror component at creation (or, if you try and insert a provider that is too small for an existing mirror, it will [should] refuse to add it). So, if you create a slice within the mirror component (/dev/mirror/...) then it cannot, by definition, be "too big." The slice may not cover the entire drive, but it won't be bigger than the drive. The only problem you can run into is if you try and use a drive that is smaller than the smallest one used to create the initial mirror. That will not work. Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1107655941.4894.29.camel>