From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d431723fa090d135 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: SCSI drive installation? Date: 2000/02/03 Message-ID: <87chog$ouc$1@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 581180514 Distribution: world References: <38999c74.4130269@news.earthlink.net> X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 949602896 25548 16.82.16.67 (3 Feb 2000 18:34:56 GMT) Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Date: 3 Feb 2000 18:34:56 GMT Newsgroups: comp.unix.osf.osf1 In article <38999c74.4130269@news.earthlink.net>, mtanquary@earthlink.net (Matt Tanquary) writes: >I removed a drive which recently failed and replaced it with another. >The old drive was a Seagate Barracuda 4.5 gig. The new drive is an IBM >DNES-309170 9.1 gig. The SCSI ID is 5, on bus 'scsi1'. > >I rebuilt the device drivers for rz5&rrz5, but disklabel still gives >me the following: > >>># disklabel -rw rz5 not_in_drivetab >>>disklabel: /dev/rrz5a: No such device or address According to the intro(2) manual page, the error you got can be cause by the following conditions. [ENXIO] No such device or address Indicates one or more of the following errors: + The specified address, major device number, or channel is out of valid range. + No more channels are available (open()). + The named file is a character-special or block-special file and the associated device does not exist (open()). + The O_NONBLOCK flag is set, the named file is FIFO, O_WRONLY is set, and no process has the file open for reading (open()). + The specified tape drive is offline or a disk pack is not loaded in the specified disk drive. The most likely case, is that the kernel doesn't recognize the drive or it isn't ready. This being a SCSI drive you can use the scu(8) command to pound on it in some detail; do an Inquiry command to see if it responds at all, read a couple of mode pages, send it a Test Unit Ready (always a good test) and Read Capacity. This should offer a clue, since you'll get back the Sense Key, ASC and ASCQ of any SCSI failures. >I am also interested in knowing how you can distinguish a drive on >bus0, id5 from a drive on bus1, id5. The drive number is found from (bus * 8) + target-id Generally, it is a good idea, to double check the presense of drives with the console, since that offers a slightly different SCSI implementation. >Matt > -- Alan Rollow alan@nabeth.cxo.dec.com