From owner-freebsd-questions@FreeBSD.ORG Tue Oct 20 03:28:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55458106568F for ; Tue, 20 Oct 2009 03:28:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0F9C48FC17 for ; Tue, 20 Oct 2009 03:28:10 +0000 (UTC) Received: from r55.edvax.de (port-92-195-71-245.dynamic.qsc.de [92.195.71.245]) by mx01.qsc.de (Postfix) with ESMTP id 773F93C929; Tue, 20 Oct 2009 05:28:09 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n9K3S8op001573; Tue, 20 Oct 2009 05:28:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 20 Oct 2009 05:28:08 +0200 From: Polytropon To: PJ Message-Id: <20091020052808.371e0931.freebsd@edvax.de> In-Reply-To: <4ADC8C9A.4030903@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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Adam Vande More , Johan Hendriks , Polytropon , freebsd-questions@freebsd.org Subject: Re: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 03:28:10 -0000 On Mon, 19 Oct 2009 11:58:18 -0400, PJ 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. I think that's a possible explaination. I'm guessing: If the labels of both disks have the same names, and both disks are present at booting time, and /etc/fstab contains those labels, then maybe if both disks have identical labels, then instead from the booting disk ad6, the ad12 disk labels are used for file system mounting? The easiest way REALLY is to extract one disk from the system and use only one disk for booting tests. Let's say you've already transfered data from ad6 (source) to ad12 (target) successfully. Now unplug ad6 and let the system boot from ad12. It should work. Then, put ad12's disk to ad6's controller. So now the former ad12 is ad6. Because you're using labels, it shouldn't matter. Try to boot. Should work as well. This really is the easiest way to check. > I can still clone the disk but then just have to > find what disk is the clone. Clones are identical. :-) Seriously: There is a way to determine it definitely: Have a look at the UFSID class labels. They should be unique, even if glabel labels are identical. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...