Re: Cannot mount / from UFS labels

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Fri, 21 Aug 2009 18:25:51 +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:
>>
>>>I'm not sure this ever worked for 7.x but now I need to have the same
>>
>>It sure does, for me at least:
>>
>>/dev/ufs/home on /home (ufs, NFS exported, local, soft-updates)
>>/dev/ufs/mm on /mm (ufs, NFS exported, local, noatime, soft-updates)
>>/dev/ufs/mm-flac on /mm/flac (ufs, NFS exported, local, noatime, read-only)
>>/dev/ufs/mm-music on /mm/music (ufs, NFS exported, local, noatime, read-only)
>>/dev/ufs/mm-video on /mm/video (ufs, NFS exported, local, noatime, soft-updates)
>>/dev/ufs/mm-video-tv on /mm/video/tv (ufs, local, noatime, soft-updates)
>>/dev/ufs/sw on /sw (ufs, local, noatime, soft-updates)
>>/dev/ufs/sw-bsd on /sw/bsd (ufs, NFS exported, local, noatime, soft-updates)
>>/dev/ufs/sw-images on /sw/images (ufs, NFS exported, local, noatime, read-only)
>>/dev/ufs/backup on /backup (ufs, local, noatime, soft-updates)
> 
> 
> Well, there's no / ...
> 
> 
>>># 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 ...

quip_at_kiwi ~/> mount
/dev/ufs/2gLive on / (ufs, local, read-only)
devfs on /dev (devfs, local)
tank on /tank (zfs, local, noatime)

This is 2GB USB flash disk. It was labeled from outside, as you guess.

uname -r
7.2-RELEASE-p2

Miroslav Lachman
Received on Fri Aug 21 2009 - 14:42:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC