1753424 Members
4964 Online
108793 Solutions
New Discussion юеВ

tape dive unaccessible

 
sysad_boy
Frequent Advisor

tape dive unaccessible

Hi Guys,

Would to ask for expert help on this...I have a linux box (rhel 4) on HP ML570 with internal dat72 tape drive...When i execute the mt command i have this....
[root@chtosapp output]# mt -f /dev/st0 status
/dev/st0: No such device or address

Regards,




6 REPLIES 6
Suraj K Sankari
Honored Contributor

Re: tape dive unaccessible

Hi,

After attaching your tape drive did you check your log messages in which device it was assign.

are you sure it is /dev/st0

or you can check with st1, st2 like....

Check your log files

Suraj
Taifur
Respected Contributor

Re: tape dive unaccessible

Hi Syad

Try to check

#dmesg |grep tape

tapedevice like st0, st1 like this

After that
#
#tar -cfv /dev/tapedevice /filepath


To check the List the names of all the files in the archive

#tar -tvf /dev/tapedevice >/tmp/backup_list.txt

#tar -tvf /dev/tapedevice

Tape drive is automatically mount

Rgds//
Taifur
Khairy
Esteemed Contributor

Re: tape dive unaccessible

wrong forum? hpux is not linux
sysad_boy
Frequent Advisor

Re: tape dive unaccessible

Hi Guys,

Thanks for the prompt reply..I checked the logs and found no relevent info regarding the tape drive on dmesg and messages.log

Also tried to check other device file name...but the output is the same..

[root@chtosapp output]# mt -f /dev/st0 status
/dev/st0: No such device or address
[root@chtosapp output]# mt -f /dev/st1 status
/dev/st1: No such file or directory
[root@chtosapp output]# mt -f /dev/st2 status
/dev/st2: No such file or directory
[root@chtosapp output]#

Any other ideas?

Regards
Hemmetter
Esteemed Contributor

Re: tape dive unaccessible

Hi,

die Tape driver show up in
# lsmod | grep st

maybe you need to (re-) load the driver:

# rmmod st
# modprobe st
then have a look at dmesg and /proc/scsi/scsi

rgds
HGH
Gokul Chandola
Trusted Contributor

Re: tape dive unaccessible

Hi,
In HP-UX we are chaging in kernel following:

stape = static

There may be some changes in linux...


Regards,
Gokul Chandola
There is always some scope for improvment.