Operating System - Linux
1827798 Members
2344 Online
109969 Solutions
New Discussion

Re: Linux Tape Drive Help

 
Steven Chen_1
Super Advisor

Linux Tape Drive Help

Hello,

We have a tape drive on Linux Red Hat OS on server and would like to know the way to get information about the server hardware like using hpux "ioscan" and how to mount the tape.

It would be very appreciated if got help here.

Steven
Steve
2 REPLIES 2
Stuart Browne
Honored Contributor

Re: Linux Tape Drive Help

To find out what devices are connected to your SCSI chain, check /proc/scsi/scsi.

As for 'mounting a tape', well that's a different story. You can't "mount" a tape.

You can access it as the device pair of '/dev/st0' and '/dev/nst0' (rewind and no-rewind respectivly) using you're favourite tools (tar, dd, cpio, etc. etc.)
One long-haired git at your service...
D. Jackson_1
Honored Contributor

Re: Linux Tape Drive Help

You might try these few steps:

cat /proc/scsi/scsi0/*
cat /proc/scsi/scsi1/*

Look in /proc/scsi*

As for tape:
Look at the man pages for mt (man mt)

HTH