09-23-05 02:01 AM
["Followup-To:" header set to comp.os.linux.hardware.]
On 22 Sep 2005 07:45:37 -0700, yasaswi staggered into the Black Sun and
said:
> In my RHEL 4 ES server, I have HP StorageWorks DAT 72 SCSI Internal
> Tape Drive. How would I see it in /dev directory? Would it be
> /dev/tape ? or /dev/rft0 or /dev/st0?
If this is the only tape on the system, it's /dev/st0 for the rewinding
tape device and /dev/nst0 for the non-rewinding tape device. You use
the non-rewinding tape device sort of like so:
/sbin/dump -0u -a -f /dev/nst0 /dev/sda1
/sbin/dump -0u -a -f /dev/nst0 /dev/sda2
...writes a full dump of the ext3 filesystems on /dev/sda1 and /dev/sda2
to the tape in the non-rewinding tape device.
> Also how would I go about configuring it and using the tape drive?
Configuring it? You use mt or mtx to do things like set the tape's
block size, enable or disable hardware compression, take tapes offline
or put them online, retension, seek, etcetera. You typically use a tape
with tar or cpio or BRU or amanda; check the man or info pages for those
programs to see some examples.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL
[ Post a follow-up to this message ]
|