Operating System - Linux
1823920 Members
3278 Online
109667 Solutions
New Discussion юеВ

How to find the tape device

 
SOLVED
Go to solution
hangyu
Regular Advisor

How to find the tape device

I have a external tape drive that connect to the server via scsi card , I can see the tape drive by ARCserve , how can I know what is the tape drive device path ( eg. /dev/st0) ? thx
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: How to find the tape device

Normally the dmesg command will list the devices detected and their names. /dev/st0 is the default tape device for Linux.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: How to find the tape device

Shalom,

/dev/st0 is the default path for an attached tape drive.

Check that its turned on and the scsi id is not zero the id the scsi card normally gets. Also see that the scsi card if used is compatible with the drive.

The device should be visible via hwbrowser as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
George Liu_4
Trusted Contributor

Re: How to find the tape device

From either dmesg or messages, find something like

Attached scsi tape st0 at scsi1, channel 0, id 2, lun 0

You know it is st0 or something else.
hangyu
Regular Advisor

Re: How to find the tape device

thx reply ,



in the /dev directory , there is 2004st0 , is it the device path of tape drive ? thx
George Liu_4
Trusted Contributor

Re: How to find the tape device

Yes. it seems like /dev/st0
please post the longer message to make sure

Also, please assign points