From owner-freebsd-stable@FreeBSD.ORG Fri Sep 24 15:53:17 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15B3416A62B; Fri, 24 Sep 2004 15:53:17 +0000 (GMT) Received: from post5.inre.asu.edu (post5.inre.asu.edu [129.219.110.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id E157443D39; Fri, 24 Sep 2004 15:53:16 +0000 (GMT) (envelope-from David.Bear@asu.edu) Received: from conversion.post5.inre.asu.edu by asu.edu (PMDF V6.1-1X6 #30769) id <0I4J00B01YLSZD@asu.edu>; Fri, 24 Sep 2004 08:49:04 -0700 (MST) Received: from smtp.asu.edu (smtp.asu.edu [129.219.110.107]) <0I4J00B08YLHVH@asu.edu>; Fri, 24 Sep 2004 08:49:03 -0700 (MST) Received: from moroni.pp.asu.edu (moroni.pp.asu.edu [129.219.69.200]) (8.12.10/8.12.10/asu_smtp_relay,nullclient,tcp_wrapped) with ESMTP id i8OFmp71015653; Fri, 24 Sep 2004 08:48:51 -0700 (MST) Received: by moroni.pp.asu.edu (Postfix, from userid 500) id A0941FA9; Fri, 24 Sep 2004 08:48:02 -0700 (MST) Received: from post1.inre.asu.edu (post1.inre.asu.edu [129.219.110.72]) by moroni.pp.asu.edu (8.11.6/8.11.6) with ESMTP id h12KKtk11536 for ; Sun, 02 Feb 2003 13:20:55 -0700 Received: from conversion.post1.inre.asu.edu by asu.edu (PMDF V6.1 #40110) id <0H9P0020176VB1@asu.edu> for iddwb@moroni.pp.asu.edu (ORCPT david.bear@asu.edu); Sun, 02 Feb 2003 13:20:55 -0700 (MST) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by asu.edu (PMDF V6.1 #40110) with ESMTP id <0H9P000B276VEX@asu.edu> for iddwb@moroni.pp.asu.edu (ORCPT david.bear@asu.edu); Sun, 02 Feb 2003 13:20:55 -0700 (MST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 6DE9156B81; Sun, 02 Feb 2003 12:20:53 -0800 Received: by hub.freebsd.org (Postfix, from userid 538) id D829637B401; Sun, 02 Feb 2003 12:20:51 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id B9B582E8000; Sun, 02 Feb 2003 12:20:51 -0800 (PST) Received: by hub.freebsd.org (bulk_mailer v1.12); Sun, 02 Feb 2003 12:20:51 -0800 Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C82BA37B405; Sun, 02 Feb 2003 12:20:49 -0800 (PST) Received: from lyceum.netmojo.ca (lyceum.pims.sfu.ca [142.58.49.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F18343F79; Sun, 02 Feb 2003 12:20:49 -0800 Received: from lyceum.netmojo.ca (flowctrl@localhost [127.0.0.1]) by lyceum.netmojo.ca (8.12.6/8.11.6) with ESMTP id h12KKhxc014921; Sun, 02 Feb 2003 12:20:43 -0800 Received: (from brent@localhost) by lyceum.netmojo.ca (8.12.6/8.12.6/Submit) id h12KKheZ014920; Sun, 02 Feb 2003 12:20:43 -0800 (PST) X-URL: http://brent.kearneys.ca From: Brent Kearney In-reply-to: <15933.30462.77008.33453@guru.mired.org> Sender: owner-freebsd-questions@FreeBSD.ORG To: dwbear75@gmail.com Message-id: <20030202202043.GA14875@kearneys.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline Precedence: bulk X-Loop: FreeBSD.ORG Delivered-to: freebsd-questions@freebsd.org Old-To: Mike Meyer User-Agent: Mutt/1.4i Lines: 58 References: <20030202185009.GA14514@kearneys.ca> <20030202185916.GA14615@kearneys.ca> <20030202191806.GA14696@kearneys.ca> <15933.30462.77008.33453@guru.mired.org> cc: stable@FreeBSD.ORG cc: questions@FreeBSD.ORG Subject: Re: filesystem disappeared following 4.2 -> 4.7 upgrade X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: brent@kearneys.ca List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 24 Sep 2004 15:53:17 -0000 X-Original-Date: Sun, 02 Feb 2003 12:20:43 -0800 X-List-Received-Date: Fri, 24 Sep 2004 15:53:17 -0000 On Sun, Feb 02, 2003 at 01:52:30PM -0600, Mike Meyer wrote: > In <20030202191806.GA14696@kearneys.ca>, Brent Kearney typed: > > No /dev/ad5s1, etc., and `mount /dev/ad5s1 /home` produces only: > > > > mount: /dev/ad5s1: No such file or directory > > > > Do I need to make device nodes for the ad5s1 partition? I'm not sure how, > > if so. > > Yes, you need to make device nodes. Try: > > # cd /dev > # ./MAKEDEV ad5s1c > Or s1a, or whatever you were using. Thanks Mike; `/dev/MAKEDEV ad5` made all of the nodes, and I was able to mount /dev/ad5s1e, and relieve my panic ;). What if this system were an all-IDE system? I was planning to update one soon, and will no doubt run into this problem. The root filesystem device node will change names, and according to this thread: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2388792+2394647+/usr/local/www/db/text/2003/freebsd-questions/20030112.freebsd-questions even if I anticipate what the new name will be (how do I do that, anyways?), updating /etc/fstab before rebooting with the new binaries won't help. It doesn't look like anyone followed up on that thread, but maybe I'm using the wrong search criteria. The note in /usr/src/UPDATING on this new ata code is quite sparse, given what people may unexpectedly run into when updating on IDE systems. That should probably be fixed to include the requirement of doing not only `MAKEDEV all`, but also `MAKEDEV ` to create partition nodes, and whatever needs to be done for booting onto the newly named partitions, if the / is on one of them. Best regards, Brent > The reason ad0 turned into ad5 is that ata disk devices are now > numbered statically instead of dynamically. This is a good > thing. While it does mean that your drives move when you upgrade the > OS this one time, it also means that they won't move when you add a > drive to the system. > > -- > Mike Meyer http://www.mired.org/consulting.html > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message