From owner-freebsd-current@FreeBSD.ORG Fri Aug 21 16:42:37 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 B82BB106568E for ; Fri, 21 Aug 2009 16:42:37 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 766468FC23 for ; Fri, 21 Aug 2009 16:42:37 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7523C19E045; Fri, 21 Aug 2009 18:25:52 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 4EB2819E043; Fri, 21 Aug 2009 18:25:50 +0200 (CEST) Message-ID: <4A8ECA8F.1070800@quip.cz> Date: Fri, 21 Aug 2009 18:25:51 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: =?UTF-8?B?VWxyaWNoIFNww7ZybGVpbg==?= References: <20090821131723.GA91417@acme.spoerlein.net> <20090821144130.GA7873@keira.kiwi-computer.com> <20090821160700.GD91417@acme.spoerlein.net> In-Reply-To: <20090821160700.GD91417@acme.spoerlein.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: "Rick C. Petty" , 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: Fri, 21 Aug 2009 16:42:37 -0000 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@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