Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2009 12:43:54 +0200
From:      Polytropon <freebsd@edvax.de>
To:        PJ <af.gourmet@videotron.ca>
Cc:        Adam Vande More <amvandemore@gmail.com>, Johan Hendriks <Johan@double-l.nl>, freebsd-questions@freebsd.org
Subject:   Re: glabel clarification
Message-ID:  <20091020124354.85465feb.freebsd@edvax.de>
In-Reply-To: <4ADD89A1.9060204@videotron.ca>
References:  <4ADC6D89.10600@videotron.ca> <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> <4ADC772F.3060303@videotron.ca> <6201873e0910190729v12f66335xe93d0c83a0ee7aee@mail.gmail.com> <4ADC794F.3050505@videotron.ca> <6201873e0910190737o1d849953h6761085ba532f8f6@mail.gmail.com> <4ADC7BD3.30301@videotron.ca> <6201873e0910190809h3cd4416bxaaf526008110447a@mail.gmail.com> <4ADC8C9A.4030903@videotron.ca> <6201873e0910190912w42325e0q541d46bc2a2972fb@mail.gmail.com> <4ADC9DE6.6020900@videotron.ca> <20091020053531.758c5a67.freebsd@edvax.de> <4ADD89A1.9060204@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Oct 2009 05:57:53 -0400, PJ <af.gourmet@videotron.ca> wrote:
> Exactly what is happening on my system. That's basically what has been
> troubling me. I cloned ad12 to ad6 and then wanted to boot from ad6...
> well, everytime I boot from ad6 the boot is from ad12 because both have
> identical labels. The only way out is to change the labels on ad6 to
> point to ad6 partitions and not to /dev/label/name.

That is a solution for the case that you want to keep both
disks running in the system. If you just want to make one
disk (b) available in order to swap it when the master disk
fails (w), then labels are fine.

I'm not sure what your main purpose of cloning the disks
was. Two options:
	a) keep two disks in sync, so you can use your
	   backup disk when the working disk fails and
	   needs to be extracted
	b) make a clone of your working disk so it can
	   be placed into another system



> So the only reason to use glabel, in my case, is to boot from the clone
> on another system without worrying about the actual disk label. Once
> it's booted, the label can be changed to conform to the label on the new
> system.

The label doesn't need to be changed when the disk in question
is placed into another system. Labels work independent from
the different settings you might find in different computers,
such as different device names (due to different position on
the controller).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091020124354.85465feb.freebsd>