Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 01-10-2006, 02:15 AM   #1
dark justice
LQ Newbie
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Problem in using tape drive in Redhat

Hi There,

Im a newbie in Linux and have read several postings about using a tape drive but the more I got confused. Anyway here are some of the info needed that I believe could help and I hope somebody can walk me through to be able to use my tape drive.

- Im not familiar whether I still need to install a specific driver just to use my tape drive or if its plug and play in Linux.

Machine : HP Proliant DL380 G4 Intel Xeon
HDD : 2 HP Ultra Scsi 72.8 GB in stripe configured using HP Smart Start on channel 1 and 2
Tape Drive : HP Storageworks Dat 40 Scsi on channel 4
OS : Redhat AS3 2.4.21-37.ELsmp

dmesg : nothing about SCSI or tape
tail /var/log/messages :nothing about SCSI or tape
lsmod : st 31524 0 (autoclean) (unused)
autofs4 16888 0 (autoclean) (unused)
cciss 48172 4
sd_mod 14160 0 (unused)
scsi_mod 115756 3 [st sg cciss sd_mod]

cat /proc/scsi/scsi : Attached devices: none
lsmod | grep scsi : scsi_mod 115756 3 [st sg cciss sd_mod]
insmod st : Using /lib/modules/2.4.21-37.ELsmp/kernel/drivers/scsi/st.o
mknod tape c 37 0 : proceeded and created tape in /dev
tar cvf /dev/tape / : tried this but released the tape first it proceeded despite tape is out, meaning its storing on local disk

Anybody who can give me series of commands to complete usage of my tape drive given the info above?

Old 01-10-2006, 09:34 AM   #2
Registered: Aug 2002
Posts: 17,476

Rep: Reputation: 2280Reputation: 2280Reputation: 2280Reputation: 2280Reputation: 2280Reputation: 2280Reputation: 2280Reputation: 2280Reputation: 2280Reputation: 2280Reputation: 2280
The tape module is st which is being loaded.

You do not mention whether your SCSI drives are being recognized but they should show up with the cat command. Are these your primary drives? Is the SCSI controller module loading?

SCSI tape devices are typically /dev/st0, /dev/nst0 etc. and the major minor numbers for /dev/st0 are 9 0 not 37 0.

You can use the mt command to check the status of the tape drive
mt -f /dev/st0 status
Old 01-11-2006, 01:04 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

I'm closing the original since the dupe is in the more appropriate
forum for this question.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on install tape drive in RedHat Linux 8.0 SandyLiu Linux - Hardware 11 05-12-2003 10:00 PM
Help on install tape drive in RedHat Linux 8.0 SandyLiu Linux - Newbie 3 05-10-2003 10:33 PM
how to add tape drive to redhat 8.0? chanys Linux - General 2 03-05-2003 04:34 PM
Tape Drive on RedHat Zyanid Linux - Hardware 0 08-23-2002 03:22 AM
install tape drive on Redhat 7.3 wangxiuy Linux - Hardware 3 07-25-2002 04:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration