From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 19:54:40 2010 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 42ED6106567F for ; Fri, 19 Mar 2010 19:54:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr18.xs4all.nl (smtp-vbr18.xs4all.nl [194.109.24.38]) by mx1.freebsd.org (Postfix) with ESMTP id C90618FC20 for ; Fri, 19 Mar 2010 19:54:39 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr18.xs4all.nl (8.13.8/8.13.8) with ESMTP id o2JJsc6o005715; Fri, 19 Mar 2010 20:54:38 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 02257BA98; Fri, 19 Mar 2010 20:54:38 +0100 (CET) Date: Fri, 19 Mar 2010 20:54:37 +0100 From: Roland Smith To: Steve Franks Message-ID: <20100319195437.GA54241@slackbox.erewhon.net> References: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> <20100314170012.GA38210@slackbox.erewhon.net> <539c60b91003190802l54e91581pb393dce81d0be76e@mail.gmail.com> <20100319165708.GA71392@slackbox.erewhon.net> <539c60b91003191221g59364484l89c4c140780677a4@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <539c60b91003191221g59364484l89c4c140780677a4@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: tunefs -L issue 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, 19 Mar 2010 19:54:40 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 19, 2010 at 12:21:27PM -0700, Steve Franks wrote: > On Fri, Mar 19, 2010 at 9:57 AM, Roland Smith wrote: > > On Fri, Mar 19, 2010 at 08:02:10AM -0700, Steve Franks wrote: > >> Wait a second. =A0What do I have to do, mount single user to find the > >> darn things? =A0They have completely disappeared, not even a > >> 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought > >> I was previously seeing that on shutdown, not startup, now neither) > > > > The following command looks also in the old messages files; > > > > =A0 =A0bzgrep 'Label for.*ufsid' /var/log/messages.* | less > > > >> Even in single user mode, root is already mounted, so I'm never going > >> to find the label for it. =A0I'm afraid man geom is just leaving me > >> guessing (see below). =A0geom label doesn't seem to think I have any > >> disks... > >> > >> Handbook: > >> > >> % glabel status > >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Name =A0Status =A0Components > >> ufsid/486b6fc38d330916 =A0 =A0 N/A =A0ad4s1d > >> ufsid/486b6fc16926168e =A0 =A0 N/A =A0ad4s1f > >> > >> Local: > >> > >> [steve@fyre /usr/home/steve]$ glabel status > >> =A0 =A0 =A0 =A0 =A0 Name =A0Status =A0Components > >> iso9660/WALL_E =A0 =A0 N/A =A0acd0 > >> [steve@fyre /usr/home/steve]$ > >> > > > > I don't see anything here either on my system. > > >=20 >=20 > > Doesn't tunefs -L work? (sorry, can't recall the beginning of this thre= ad). >=20 > Apparently, but only in single-user mode. =20 According to tunefs(8) you should be able to run it on a filesystem that has been made read-only. You can make a mounted filesystem read-only with 'mount -u -r '= =2E=20 You can afterwards make it read/write again with 'mount -u -w '= =2E=20 > I think my problem is more > one of documentation. The handbook is rather obtuse on the subject. > The inability to even locate or read the labels on a mounted system is > about as un-POLS as I've come across lately.... The ufsid labels are automatically removed from a filesystem when it is mounted. So it is not surprising that no ufsid labels are found on a running system. And IIRC, the automatic ufsid labels are a new feature. The handbook might be slightly behind the times. =20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuj1n0ACgkQEnfvsMMhpyVO4wCeNgf0G/Cc61VXSQzkbr82paqi RYwAn3xXq1MFWd0dRWZlnV99PR6EuR1g =VPx3 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--