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
[-- Attachment #1 --] 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. What do I have to do, mount single user to find the > >> darn things? They 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; > > > > bzgrep '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. I'm afraid man geom is just leaving me > >> guessing (see below). geom label doesn't seem to think I have any > >> disks... > >> > >> Handbook: > >> > >> % glabel status > >> Name Status Components > >> ufsid/486b6fc38d330916 N/A ad4s1d > >> ufsid/486b6fc16926168e N/A ad4s1f > >> > >> Local: > >> > >> [steve@fyre /usr/home/steve]$ glabel status > >> Name Status Components > >> iso9660/WALL_E N/A acd0 > >> [steve@fyre /usr/home/steve]$ > >> > > > > I don't see anything here either on my system. > > > > > > Doesn't tunefs -L work? (sorry, can't recall the beginning of this thread). > > Apparently, but only in single-user mode. 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>'. You can afterwards make it read/write again with 'mount -u -w <filesystem>'. > 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. Roland -- 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) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkuj1n0ACgkQEnfvsMMhpyVO4wCeNgf0G/Cc61VXSQzkbr82paqi RYwAn3xXq1MFWd0dRWZlnV99PR6EuR1g =VPx3 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100319195437.GA54241>
