LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-09-2004, 09:41 AM   #1
jalsk
Member
 
Registered: Nov 2003
Location: Boise, Idaho
Distribution: Fedora 9 x86_64 and Gentoo
Posts: 51

Rep: Reputation: 15
getting a tape drive to work with Red Hat 9


I'm trying to get a tape drive to work in Red Hat 9 at my school, and I can't seem to find any commands that will tell me what I'm supposed to do to find out where it is located or where I can configure it. we're running kernel 2.4.20-8. I just need to know how to install and confiugre it. The tape drive is an HP SureStore DAT24 and I'm not sure what the scsi card is. I can get that information if you need it. I just need a way to find out if linux is detecting and properly configuring the scsi card and how to get the tape drive working so that we're able to back up our information. Any help will be appreciated

-Jalsk
 
Old 01-09-2004, 10:41 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Do you have a /dev/st0 or /dev/nst0?

Look at the ouput of dmesg for messages on the SCSI card and tape drive.
The command
cat /proc/scsi/scsi

Should show the SCSI controller and drive information.

The output of lsmod should show if the SCSI controller module is being loaded.

You also need to verify the tape module st is loading also using lsmod
 
Old 01-09-2004, 01:40 PM   #3
jalsk
Member
 
Registered: Nov 2003
Location: Boise, Idaho
Distribution: Fedora 9 x86_64 and Gentoo
Posts: 51

Original Poster
Rep: Reputation: 15
I have nst0 and st0, but it doesn't appear that it is loading the module for scsi because when I tried cat /proc/scsi/scsi, it said that the directory didn't exist. I need to know how to get the module installed and also how to mount, format, and set up backup jobs too once I get the tape drive working, if that wouldn't be too much of a problem. I think that the problem at this point is that it hasn't detected the card and therefore can't see that the tape drive exists.

Thanks for the help

-Jalsk
 
Old 01-09-2004, 03:31 PM   #4
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
There generally is nothing special that needs to be done to get a tape drive to work once the scsi card is setup. You need to find out what version of scsi card you have. Login as root and post the output from
lspci -v;
and
ismod;
 
Old 01-09-2004, 05:09 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
You do not mount a tape drive. I have only used a DLT tape drive with linux and they do not require formating. I don't know about DAT tapes.

There are lots of backup utilities. Check sourceforge. You can also use tar.
You should also install the tape utilites called mt.

mt -f /dev/st0 status
 
  


Reply



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
Tape drive that used to work... argh! budzynm Linux - Hardware 1 02-22-2004 06:36 PM
Tape Drive won't work with Suse 8.0 schaf Linux - Hardware 1 07-25-2003 01:11 AM
My tape drive doesn't work! ghoppy Linux - Hardware 6 05-07-2003 12:44 AM
IDE CD-RW w/ SCSI Tape Drive (don't work together) DigitalCrowd Linux - Hardware 1 01-19-2003 11:39 AM
Red Hat 7 install on hard drive using ULTRA100 drive fbwr75215 Linux - Software 4 04-15-2001 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 PM.

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