From owner-freebsd-current@FreeBSD.ORG Sun Aug 23 13:10:01 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7F24106568E for ; Sun, 23 Aug 2009 13:10:01 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3E4448FC08 for ; Sun, 23 Aug 2009 13:10:01 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [127.0.0.1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id n7ND9x0h034112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Aug 2009 15:10:00 +0200 (CEST) (envelope-from uqs@spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id n7ND9xPc034111; Sun, 23 Aug 2009 15:09:59 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Sun, 23 Aug 2009 15:09:58 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: "Rick C. Petty" Message-ID: <20090823130958.GM91417@acme.spoerlein.net> Mail-Followup-To: "Rick C. Petty" , current@freebsd.org References: <20090821131723.GA91417@acme.spoerlein.net> <20090821144130.GA7873@keira.kiwi-computer.com> <20090821160700.GD91417@acme.spoerlein.net> <20090821180202.GE91417@acme.spoerlein.net> <20090821202358.GA10290@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090821202358.GA10290@keira.kiwi-computer.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: current@freebsd.org Subject: Re: Cannot mount / from UFS labels X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 13:10:01 -0000 On Fri, 21.08.2009 at 15:23:58 -0500, Rick C. Petty wrote: > On Fri, Aug 21, 2009 at 08:02:02PM +0200, Ulrich Spörlein wrote: > > On Fri, 21.08.2009 at 18:07:00 +0200, Ulrich Spörlein wrote: > > > On Fri, 21.08.2009 at 09:41:30 -0500, Rick C. Petty wrote: > > > > On Fri, Aug 21, 2009 at 03:17:23PM +0200, Ulrich Spörlein wrote: > > > > > # tunefs -L root / (in single user) > > > > > then updated /etc/fstab and rebooted > > > > > > > > Was / mounted read-write at the time? After the tunefs, you should have > > > > seen some messages on the console related to the labels. > > > > > > Not quite, the dmesg spammage has been quenched in RELENG_8 and the > > > label *did* show up in dumpfs and /dev/ufs. But I now tried again, and > > > re-mounting the / filesystem r/w makes the label go away. > > > > > > So I guess I need to boot a live system first and have the label created > > > from "outside". Now where is that USB stick ... > > > > Just to clarify, this worked. > > > > What's broken is tunefs on / in single user mode. The change is seen by > > dumpfs but will not survive a reboot. I guess that's ok, though. > > You didn't explain whether you had / mounted read-only or read-write. > Also, it probably matters how you got into single-user mode ("shutdown now" > vs. option 4 from boot2). Also, the fact that it's mounted might be the > issue. I'm not sure I would claim this as "broken", although I can't see > any reason a read-only mount is prevented from tuning (at least changing > the volume name). Hello, it went like this: boot -s tunefs -L root / dumpfs / | grep volname (volname is set!) mount -uw / dumpfs / | grep volname (volname is not set!) Regards, Uli