From owner-freebsd-net@FreeBSD.ORG Wed Feb 19 12:32:41 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D07931A7 for ; Wed, 19 Feb 2014 12:32:41 +0000 (UTC) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6580611BC for ; Wed, 19 Feb 2014 12:32:40 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id x13so269363wgg.13 for ; Wed, 19 Feb 2014 04:32:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:message-id:from:to:cc:subject:date :mime-version:content-type:content-disposition :content-transfer-encoding; bh=SZzsZoS/RxZgqJPolgOggCBShWqRw7UHds5yVEfmySk=; b=F++/YVkQjmFJyYuGWGmyDjpT/YCJ2tQ9A0aDuCEYcyg6g/tXlJS+H/yycR0BKaYrEb x7jUy4qVDVpdq2XyORVdiBPgx08BoNT2IVCruqw74Tu5qR8zpD7C175Qp43UeXeenGIk IkwSWfCBMD1yNHZpZsatrzq+j2+L4IDjgLACyA47S0GvbNRLODuFlMt63Zm2UaV6HxDg jgC3+q9w5gC12yeesVNkDvpQWul3Zhc65cswAzQ4y8TgwKng137yGqc1F3a2kRcQc316 77qci3lOe6y+2TazyGAV9bsFrHrRaTiU8+dpxHfBy9PESpRbVYHK2gT2Ttm8ogpCW+52 3c1A== X-Gm-Message-State: ALoCoQkVEAmQ7LMK11HoLZ7QECVZnbZsxCsDEdcFrsDjenW6K9sUkVEqWNWOwYeckuU58NMHCjBF X-Received: by 10.194.118.228 with SMTP id kp4mr657070wjb.94.1392812670494; Wed, 19 Feb 2014 04:24:30 -0800 (PST) Received: from workvmetc ([85.13.211.140]) by mx.google.com with ESMTPSA id cm5sm1259777wid.5.2014.02.19.04.24.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Feb 2014 04:24:30 -0800 (PST) References: <20140219175643.0e744028@X220.alogt.com> <20140219201420.7d2f7e1c@X220.alogt.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: lucian@lastdot.org To: Erich Dollansky Subject: Re: Where has my /dev/label =?UTF-8?Q?gone=3F?= Date: Wed, 19 Feb 2014 12:24:28 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 12:32:41 -0000 Erich Dollansky writes: > Hi, > > On Wed, 19 Feb 2014 11:54:40 +0000 > lucian@lastdot.org wrote: > > > Erich Dollansky writes: > > > > > On Wed, 19 Feb 2014 09:10:53 +0000 > > > Lucian wrote: > > > > > > > I set up some labels (glabel label blah /dev/partition) and they > > > > show up fine in /dev/label, but once I reboot out of single user > > > > mode and into nornal mode /dev/label is gone. > > > > > > > > What am I missing? > > > > > > Bermuda triangle? > > > > > > It sounds strange. Ok, you this in the single user mode. Why? What > > > devices did you label? > > > > > > Hopefully not the devices in use. This does not work from my point > > > of view. You would have to use another label type then. > > > > I did this in single user because according to the docs you can't do > > it on a "live system". > > http://www.freebsd.org/doc/handbook/geom-glabel.html > > do you have this in your kernel? > > options GEOM_LABEL > > You can also load the module at boot time with an entry > in /boot/loader.conf. > > Erich I have GEOM_LABEL loaded, but I noticed something strange. If I boot in single user, I can create and see the labels under /dev/label, however if I remount the / filesystem RW then /dev/label disappears. BUT, if I just replace my / partition in fstab with the seemingly missing label (eg /dev/label/rootfs) then the system boots up fine and /dev/label is again available to `ls`. Strange stuff, it should be covered in the handbook... Problem solved, I guess.