Missing /dev entries on SCSI drive

2008-01-13 Thread Oscar Delay
Hi,

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. 

 Thanks for any help. 





  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Missing /dev entries on SCSI drive

2008-01-13 Thread Dan Nelson
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
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]