From owner-freebsd-questions Sun Feb 2 12:20:51 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C82BA37B405; Sun, 2 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, 2 Feb 2003 12:20:49 -0800 (PST) (envelope-from brent@lyceum.netmojo.ca) 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, 2 Feb 2003 12:20:43 -0800 (PST) (envelope-from brent@lyceum.netmojo.ca) Received: (from brent@localhost) by lyceum.netmojo.ca (8.12.6/8.12.6/Submit) id h12KKheZ014920; Sun, 2 Feb 2003 12:20:43 -0800 (PST) Date: Sun, 2 Feb 2003 12:20:43 -0800 From: Brent Kearney To: Mike Meyer Cc: questions@freebsd.org, stable@freebsd.org Subject: Re: filesystem disappeared following 4.2 -> 4.7 upgrade Message-ID: <20030202202043.GA14875@kearneys.ca> Reply-To: brent@kearneys.ca References: <20030202185009.GA14514@kearneys.ca> <20030202185916.GA14615@kearneys.ca> <20030202191806.GA14696@kearneys.ca> <15933.30462.77008.33453@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15933.30462.77008.33453@guru.mired.org> User-Agent: Mutt/1.4i X-URL: http://brent.kearneys.ca Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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