From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 13:59:48 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 4001A1065692 for ; Mon, 19 Oct 2009 13:59:48 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id D083B8FC28 for ; Mon, 19 Oct 2009 13:59:47 +0000 (UTC) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id n9JDxkuQ037889; Mon, 19 Oct 2009 15:59:46 +0200 (CEST) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 19 Oct 2009 15:59:43 +0200 Message-ID: <57200BF94E69E54880C9BB1AF714BBCBA57086@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: glabel clarification Thread-Index: AcpQw7N5mhaGPdO1TGOsA3VnwldUnwAABLug References: <4ADC6D89.10600@videotron.ca> From: "Johan Hendriks" To: "PJ" X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: glabel clarification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 13:59:48 -0000 >I understood that labeling a disk with glabel would permit the disk to >be switched to another system and booting from that disk would not >require other manupulations than adjusting network configuration, samba, >rc.conf and a few others.. >But what if there is already a disk on the system with the identical >labels in /dev/label/ ? >I understood that whatever the actual disk might be (ad4, ad12, >ad1...)would be irrelevant? >It would appear that the actual booting goes according to the label; so, >if there are duplicate labels the boot will not necessarily be from the >newly installed disk if there is another disk with duplicate glabel labels? >So doing a glabel seems superfluous... >What then is the real purpose of glabel, since the boot process seems to >need a unique identifier? Switching between machines is not what labels are for.(enlighten me if it is) As far as understand, it makes switching the drive in the same machine easier. It does not matter if labels are used, that the device is seen as /dev/ad0 or /dev/ad{x}. This makes adding and replacing disk much easier. Sometimes the disk numbers change when removing raid controllers or other hardware. Regards, Johan =20 No virus found in this outgoing message. Checked by AVG - www.avg.com=20 Version: 8.5.422 / Virus Database: 270.14.20/2444 - Release Date: 10/18/09 09:04:00