LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Installation of internal HP DAT 40i DDS internal tape drive (https://www.linuxquestions.org/questions/linux-hardware-18/installation-of-internal-hp-dat-40i-dds-internal-tape-drive-252356/)

netkepala 11-08-2004 05:08 AM

Installation of internal HP DAT 40i DDS internal tape drive
 
Dear All,

I'm using RedHat Linux 9.0 and recently I would like to add a HP DAT 40i DDS internal tape drive to my server

I'm familiar with TAR command but I'm new to linux tape drive

Could someone show me step by step how I can set it up so RH Linux can recognize it and also a sample of how to do TAR backup on it

Thank you very much in advance

michaelk 11-08-2004 07:37 AM

I assume the drive is SCSI?
Make sure the SCSI tape module st is loading.

The tape device will be:
/dev/st0 - rewinds tape
/dev/nst0 - does not rewind tape.

The tar command works the same
tar -cvf /dev/st0 /files/to/backup

netkepala 11-08-2004 09:36 AM

thanks for the reply michaelk.

Err how do I ensure the SCSI tape module st is loaded up?

If i want to backup 2 files to same tape am i right with the following command?

1. tar -cvf /dev/st0 /backup/file1
2. tar -rvf /dev/nst0 /backup/file2

michaelk 11-08-2004 12:22 PM

Look at the output of the command lsmod
If not then load it via the command
modprobe st

Actually, I've never used the r option with a tape drive.


All times are GMT -5. The time now is 01:18 PM.