From owner-freebsd-current@FreeBSD.ORG Fri Aug 21 14:41:32 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 69FD4106568B for ; Fri, 21 Aug 2009 14:41:32 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from hamlet.setfilepointer.com (hamlet.SetFilePointer.com [63.224.10.2]) by mx1.freebsd.org (Postfix) with SMTP id 174958FC16 for ; Fri, 21 Aug 2009 14:41:31 +0000 (UTC) Received: (qmail 87600 invoked from network); 21 Aug 2009 09:41:31 -0500 Received: from keira.kiwi-computer.com (HELO kiwi-computer.com) (63.224.10.3) by hamlet.setfilepointer.com with SMTP; 21 Aug 2009 09:41:31 -0500 Received: (qmail 8008 invoked by uid 2001); 21 Aug 2009 14:41:30 -0000 Date: Fri, 21 Aug 2009 09:41:30 -0500 From: "Rick C. Petty" To: current@freebsd.org Message-ID: <20090821144130.GA7873@keira.kiwi-computer.com> References: <20090821131723.GA91417@acme.spoerlein.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090821131723.GA91417@acme.spoerlein.net> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: Cannot mount / from UFS labels X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com 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 14:41:32 -0000 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) # uname -a FreeBSD myhost 7.1-STABLE FreeBSD 7.1-STABLE #26: Thu Feb 12 15:07:00 CST 2009 rick@myhost:/usr/obj/usr/src/sys/GENERIC i386 > root fs device on two machines: labels to the rescue! As I don't want to > use the GEOM labels, but UFS labels, this is what I did: These are essentially the same thing, in that glabel wraps the UFS labels. > # 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. > The kernel does not find this filesystem, pressing ? shows only > - a bunch of ufsid/* devices > - lots of partition names > - ntfs/System and msdosfs/HIDDEN which are other partitions on this > machine. > > Only ufs/ comes up empty. What's my error? What version/build of FreeBSD? Are you using a GENERIC kernel? What does dmesg say? What was shown on the console when you did the tunefs? What is the output of "ffsinfo -l 1 / | grep volname"? Also show us a listing of /dev/ufs/. -- Rick C. Petty