Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 11:18:06 -0800
From:      Brent Kearney <brent@kearneys.ca>
To:        questions@freebsd.org
Subject:   Re: filesystem disappeared following 4.2 -> 4.7 upgrade
Message-ID:  <20030202191806.GA14696@kearneys.ca>
In-Reply-To: <20030202185916.GA14615@kearneys.ca>
References:  <20030202185009.GA14514@kearneys.ca> <20030202185916.GA14615@kearneys.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030202191806.GA14696>