From owner-freebsd-questions@FreeBSD.ORG Fri Oct 16 18:07:23 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 61875106566C for ; Fri, 16 Oct 2009 18:07:23 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5978FC13 for ; Fri, 16 Oct 2009 18:07:23 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRM00DCVD0AVDF0@VL-MO-MR005.ip.videotron.ca> for freebsd-questions@freebsd.org; Fri, 16 Oct 2009 14:07:22 -0400 (EDT) Message-id: <4AD8B65C.9020603@videotron.ca> Date: Fri, 16 Oct 2009 14:07:24 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: freebsd-questions@freebsd.org Subject: GEOM label 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: Fri, 16 Oct 2009 18:07:23 -0000 If I understand correctly from the manual, giving the labels their slice name (/dev/label/rootfs rather than /dev/ad4s1a) will assure that regardless of the disk, the boot will be from the disk being booted and not from another disk as happened to me recently - the fstab on disk ad4 was referncing ad12 so the boot was from ad12 rather than ad4. The handbook says: "By permanently labeling the partitions on the boot disk, the system should be able to continue to boot normally, even if the disk is moved to another controller or transferred to a different system. For this example, it is assumed that a single ATA disk is used, which is currently recognized by the system as ad0." If the disk is moved to another system, it may no longer be ad0... So will it still boot correctly? Or should the ufsid labels be used? Will both of these contortions work?