1754314 Members
2692 Online
108813 Solutions
New Discussion юеВ

Tape Error

 
luutinhquyen
New Member

Tape Error

I get an error with the HP Tape when run the command :
mt -f /dev/nst0 status
/dev/nst0: No such device or address

then I type: cat /proc/scsi/scsi the result with the tape is:

Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: HP Model: DLT VS160 Rev: 2F00
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00

If I reboot the Server, the tape will ok. Someone help me fix the above error without rebooting the Server?

Thanks in advance.

4 REPLIES 4
Michal Kapalka (mikap)
Honored Contributor

Re: Tape Error

hi,

is this tape external ??? and if yes its shared betveen some servers or is dedicated only for this server and connected ?


mikap
luutinhquyen
New Member

Re: Tape Error

Yes, it is external and is dedicated only for this server and connected.

Thanks
Michal Kapalka (mikap)
Honored Contributor

Re: Tape Error

hi,

normally if you have for example StorageWorks Tape Array 5300, where you are able to mix the tape drives with the CD/DVD rom drives, it could happend, that you need to manually scan the scsi devices.

its similiar to add the SAN LUN online on the Linux.

check this site :

http://bash.cyberciti.biz/diskadmin/rescan-linux-scsi-bus/

mikap
luutinhquyen
New Member

Re: Tape Error

Hello,

The following is the result after I run the script:

./rescan-scsi-bus.sh: line 476: [: 474:: integer expression expected
Host adapter 0 (mptspi) found.
Host adapter 1 (usb-storage) found.
Host adapter 2 (usb-storage) found.
Scanning SCSI subsystem for new devices
Scanning host 0 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 0 0 6 0 ...
OLD: Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: HP Model: DLT VS160 Rev: 2F00
Type: Sequential-Access ANSI SCSI revision: 02
Scanning for device 0 0 6 0 ...
OLD: Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: HP Model: DLT VS160 Rev: 2F00
Type: Sequential-Access ANSI SCSI revision: 02
Scanning host 1 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ST316021 Model: 5AS Rev:
Type: Direct-Access ANSI SCSI revision: 02
Scanning for device 1 0 0 0 ...
OLD: Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ST316021 Model: 5AS Rev:
Type: Direct-Access ANSI SCSI revision: 02
Scanning host 2 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ST316021 Model: 5AS Rev:
Type: Direct-Access ANSI SCSI revision: 02
Scanning for device 2 0 0 0 ...
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ST316021 Model: 5AS Rev:
Type: Direct-Access ANSI SCSI revision: 02
0 new device(s) found.
0 device(s) removed.

Should I do now?

Thanks