From owner-freebsd-questions Sun Feb 2 11:18: 8 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 B5B5037B401 for ; Sun, 2 Feb 2003 11:18:06 -0800 (PST) Received: from lyceum.netmojo.ca (lyceum.pims.sfu.ca [142.58.49.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ED3243F3F for ; Sun, 2 Feb 2003 11:18:06 -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 h12JI6xc014735 for ; Sun, 2 Feb 2003 11:18:06 -0800 (PST) (envelope-from brent@lyceum.netmojo.ca) Received: (from brent@localhost) by lyceum.netmojo.ca (8.12.6/8.12.6/Submit) id h12JI64E014734 for questions@freebsd.org; Sun, 2 Feb 2003 11:18:06 -0800 (PST) Date: Sun, 2 Feb 2003 11:18:06 -0800 From: Brent Kearney To: questions@freebsd.org Subject: Re: filesystem disappeared following 4.2 -> 4.7 upgrade Message-ID: <20030202191806.GA14696@kearneys.ca> Reply-To: brent@kearneys.ca References: <20030202185009.GA14514@kearneys.ca> <20030202185916.GA14615@kearneys.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030202185916.GA14615@kearneys.ca> 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 10:59:16AM -0800, Brent Kearney wrote: > On Sun, Feb 02, 2003 at 10:50:09AM -0800, Brent Kearney wrote: > > > > Hello, > > > > I recently updated a system running freebsd 4.2 to 4.7. I realize > > that there is new ATA code in 4.7. This system is on a SCSI disk, > > but /home is on a large IDE drive. > > > > Following a 'make installkernel', I rebooted to single user mode, ran > > installworld, then did mergemaster. I let mergemaster run the new > > '/dev/MAKEDEV all'. > > > > The 4.2 system called my /home partition /dev/ad0s1e; during boot up > > of 4.7, I see that the disk is recognized, but is called "ad5" instead > > of "ad0". I haven't changed the hardware at all, btw. However, there > > appears to be no /dev/ad5s1e, and furthermore, when I run the disklabel > > editor, it tells me that there is no filesystem on /dev/ad5. If I > > reboot to the old 4.2 kernel, somewhat problematically, I can mount > > /dev/ad0s1e, and access my files. > > > > The UPDATING file mentioned the new ata code, but didn't say anything > > about the need to re-create filesystems; I must be missing something. > > > > I should also mention that softupdates is enabled on my old > /dev/ad0s1e, though I don't know whether that is relevant. OK, another update: fdisk identifies this disk as such: Disk name: ad5 FDISK Partition Editor DISK Geometry: 7476 cyls/255 heads/63 sectors = 120101940 sectors (58643MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 6 unused 0 63 120101877 120101939 ad5s1 3 freebsd 165 C 120101940 1260 120103199 - 6 unused 0 --- After looking closer at disklabel, I see that it has selected the one and only partition on the disk: Disk: ad5 Partition name: ad5s1 Free: 120101877 blocks (58643MB) But still sees no filesystems. If I do `ls -l /dev/ad5*`, I get only: crw-r----- 1 root wheel 116, 0x0001002a Feb 2 02:11 /dev/ad5 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. Thanks, Brent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message