Date: Sun, 13 Jan 2008 21:37:09 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Oscar Delay <osastw3@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Missing /dev entries on SCSI drive Message-ID: <20080114033709.GC97708@dan.emsphone.com> In-Reply-To: <627653.65153.qm@web63409.mail.re1.yahoo.com> References: <627653.65153.qm@web63409.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 13), Oscar Delay said: > I've a disk partition on an old system which I cannot mount because > the device entry under /dev is missing. This is a mostly unused > machine that hasn't been backed up in a while but I'd like to recover > the partition if possible. The SCSI adaptor is an Adaptec 2940U2W, > the only device entries in /dev related to the drive are da0 and > da0s1. > > The major,minor device numbers are 0,93 for da0 and 0,94 for da0s1. > What would my mknod arguments be for da0s1d. It's a 6.1 release box. 6.x uses devfs and GEOM, which means that device nodes are automatically created based on the existence of partition and disklalbel data on disk. Minor numbers are allocated dynamically every time disks are probed, so manually creating a devoce node with mknod would be useless. If there is a da0s1 but no da0s1d, then the disklabel header on da0s1 must be damaged or missing. If you remember the layout, you can run disklabel and recreate it. Another option is to use the sysutils/scan_ffs or sysutils/ffs2recov ports to determine the original disklabel settings. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080114033709.GC97708>