cancel
Showing results for 
Search instead for 
Did you mean: 

external tape drive

 
Highlighted
Frequent Advisor

external tape drive

I have a external tape drive that connect to the server , I can see the tape drive via my backup software , but when I try to tar file to /dev/st0 , but it not work , what is the device name ( eg. /dev/st0 , /dev/st1 or something ) that the external tape drive atached ? how can i check it ? thx
6 REPLIES 6
Highlighted
Honored Contributor

Re: external tape drive

The file should be /dev/st0, what is the output of?:

mt -f /dev/st0 status

¿What is the error you get when you try to tar to the device?

¿What kind of device is it?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Highlighted
Occasional Advisor

Re: external tape drive

thx reply ,

in my system , no /dev/st0 , what device path should I mount to ? thx

#ls /dev/st0
ls: /dev/st0: No such file or directory
Highlighted
Esteemed Contributor

Re: external tape drive

Hi haeman,

What Linux version do you use?
What type is your tape, how is it connected?
Is "st" loaded, check with "lsmod"
Any /var/log/messages?
What says dmesg?

Does it show up in "lsscsi" and /proc/scsi/scsi?

Thats the first points to check.

rgds
HGH
Highlighted
Frequent Advisor

Re: external tape drive

RH ,

SDLT via scsi

# lsmod |grep st
st 31524 0 (unused)
scsi_mod 115496 5 [sg st aic7xxx ips sd_mod]

# messages |grep tape
Aug 21 09:04:01 ORA kernel: Attached scsi tape st0 at scsi1, channel 0, id
5, lun 0

#dmesg |grep tape
Attached scsi tape st0 at scsi1, channel 0, id 5, lun 0

but the st0 is not present , can advise what is it ? thx


# ls /dev/st0
ls: /dev/st0: No such file or directory


Highlighted
Esteemed Contributor

Re: external tape drive

Hi again haeman,

What Linux/Kernel version is it?

Can do do a "rescan-scsi-bus.sh" if available ( www.garloff.de/kurt/linux/rescan-scsi-bus.sh)

or
# echo "- - - " > /sys/class/scsi_host/host${i}/scan

with ${i} the appropriate number for your scsi-bus.



rgds
HGH
Highlighted
Respected Contributor

Re: external tape drive

Hi,

As asked above provide us version of OS and which Linux distribution are you using here.

Also what is backup software and what you see in that for verifying tape drive.

"There is always some scope for improvement"