Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2009 13:12:06 -0400
From:      PJ <af.gourmet@videotron.ca>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        Johan Hendriks <Johan@double-l.nl>, Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org
Subject:   Re: glabel clarification
Message-ID:  <4ADC9DE6.6020900@videotron.ca>
In-Reply-To: <6201873e0910190912w42325e0q541d46bc2a2972fb@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Vande More wrote:
> On Mon, Oct 19, 2009 at 10:58 AM, PJ <af.gourmet@videotron.ca
> <mailto:af.gourmet@videotron.ca>> wrote:
>
>     Actually, I have been trying to clone a disk and then install the disk
>     in another machine or same clone in several machines. That's why I
>     thought that once the clone is make it would boot on any machine. This
>     in presuming that each clone is identical including the fstab file; I
>     understood that this would allow immediate bootup regardless of
>     what the
>     disk may be ad4, ad1, ad12 or whatever. This would permit changing the
>     necessary configurations of samba, network, etc. Now I see that it
>     doesn't work that way. I can still clone the disk but then just
>     have to
>     find what disk is the clone.
>
>
> Are all the systems identical?� If so, make sure cabling is identical
> as well then gmirror clone would work as well.
>
> Also my understanding of glabel is different than mentioned above.� As
> long as fstab mounts the glabel location eg /dev/ufs/<label> it should
> be portable across systems since that info is stored as meta data on
> the drive.
>
> What does your fstab look like?
# Device        Mountpoint    FStype    Options        Dump    Pass#
/dev/label/swap        none        swap    sw        0    0
/dev/label/rootfs    /        ufs    rw        1    1
/dev/label/backups    /backups    ufs    rw        2    2
/dev/label/home        /home        ufs    rw        2    2
/dev/label/tmp        /tmp        ufs    rw        2    2
/dev/label/usr        /usr        ufs    rw        2    2
/dev/label/var        /var        ufs    rw        2    2
/dev/acd0        /cdrom        cd9660    ro,noauto    0    0
linproc  /usr/compat/linux/proc linprocfs rw 0 0

this is ad12; ad6 is the same - I guess I hae to get rid of those labels
in ad6 but am not sure if I need to use glabel to remove them or if just
editing fstab will do it?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ADC9DE6.6020900>