Date: Fri, 19 Mar 2010 20:54:37 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Steve Franks <bahamasfranks@gmail.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: tunefs -L issue Message-ID: <20100319195437.GA54241@slackbox.erewhon.net> In-Reply-To: <539c60b91003191221g59364484l89c4c140780677a4@mail.gmail.com> References: <539c60b91003140931o1f0d2d00u7ff7f5d021718b7c@mail.gmail.com> <20100314170012.GA38210@slackbox.erewhon.net> <539c60b91003190802l54e91581pb393dce81d0be76e@mail.gmail.com> <20100319165708.GA71392@slackbox.erewhon.net> <539c60b91003191221g59364484l89c4c140780677a4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <rsmith@xs4all.nl> 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 <filesystem>'= =2E=20 You can afterwards make it read/write again with 'mount -u -w <filesystem>'= =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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100319195437.GA54241>