glabel clarification
PJ
af.gourmet at videotron.ca
Mon Oct 19 17:12:02 UTC 2009
Adam Vande More wrote:
> On Mon, Oct 19, 2009 at 10:58 AM, PJ <af.gourmet at videotron.ca
> <mailto:af.gourmet at 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?
More information about the freebsd-questions
mailing list