LinuxQuestions.org
Help answer threads with 0 replies.
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 06-07-2004, 09:53 PM   #1
5circles
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Question Installing ATAPI tape drive


I'm trying to install / configure an ATAPI tape drive on a Fedora system, and am getting very bogged down.

The tape drive is recognized by the hardware. /etc/sysconfig/hwconf has a section for TAPE that shows driver: ignore and desc: Seagate STT20000A. Hardware browser shows a tape drive, with the correct device (/dev/hdd) but manufacturer unknown.

I believe I need to have ide-scsi and scsi_mod, and possibly st or sg. lsmod shows scsi_mod dependent on sg, but there is no sign of ide-scsi. This module doesn't appear to be on the system, but ide-tape is there.

/etc/rc.sysinit has stuff about loading st, but this doesn't happen.

etc.

Question 1. How can I set up the right modules to load on startup?
Question 2. Was there a right way to configure the tape (ideally with a graphical tool)
Question 3. Where can I find an explanation of the relationship between the different modules?

Thanks in advance for any and all help.
 
Old 06-08-2004, 08:49 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
It's been a while but I had a seagate ide tape drive which I never got working quite right, I think due to a hardware problem with drive since it behaved erratically in windows as well. IIRC correctly, you can run the tape drive in ide mode or under scsi emulation. It looks like your system is insisting that you run it in ide mode for some reason. If you're running the drive in ide mode, the device file for the drive is /dev/ht0 (rewind) and /dev/nht0 (no rewind). When mounted using the ht0, the tape will automatically rewind after the tape operation and when using nht0 it won't rewind after the operation. To access the drive from the command line you use the "mt" command which has the syntax:

# mt [options] <device file> <command>

You normally need to be root to use "mt" IIRC.

You can test whether your system can see the drive on ht0 by running as root:

# mt -f /dev/nht0 retension

or

# mt -f /dev/nht0 rewind.

If the tape rewinds or retensions, the drive is being recognized.

Another good tool is a program called "taper" which is probably on your install cds. It's an ncurses tape backup program which runs from the command line. If you get a response from the tape drive with the above commands, install the taper rpm and check out the documentation for taper.
 
Old 06-10-2004, 11:47 AM   #3
5circles
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks! This worked. At this point I think it was more important to get the tape working than to increase my understanding, but I don't understand the device names.

I was able to rewind and retension, and also see some data on the tapes using dd.

I'll take a look at taper. Need also to set the TAPE variable so that mt and other programs have a default set. I know I can set the variable manually, but it would be nice to have it set automatically.
 
  


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
Installing SCSI Tape Drive for Fedora Core 2 msnyder Linux - Hardware 1 03-02-2005 05:07 PM
problems installing scsi tape drive craigb Linux - Hardware 8 12-09-2004 07:18 AM
Fedora 2 ATAPI Tape Install rjenkin1985 Fedora 4 08-09-2004 07:23 PM
installing a DDS/4 Tape drive dokkk_d Linux - Newbie 0 09-19-2002 08:02 PM
Installing Travan SCSI Tape Drive bubbagates Linux - General 1 05-01-2002 03:10 PM

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

All times are GMT -5. The time now is 02:16 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