Best of the Newsgroups: Linux ide tape drive name /dev/ht0


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



Subject: Re: Debian IDE Tape Drive
From: John-Paul Stewart <jpstewart@sympatico.ca>
Date: Fri, Feb 14, 2003 7:13 PM


Hate these ads?



Michael Robertson wrote:

> Godwin Stewart wrote:

> > /dev/st* maybe? I could be wrong...

> I checked the kern.log file.  I have found that the device name is
> /dev/hdd.



Nooo!!  That won't work.  














If the device is installed as a secondary master, the kernel
will initially spit out some message pertaining to /dev/hdd
and you can use /dev/hdd as a parameter to 'hdparm' to turn
on/off DMA, etc.  But /dev/hdd is a block device for
reading/writing to hard drives.  You cannot talk to your
tape that way...it's also known as /dev/ht0 (assuming its
the first or only tape drive in the system).  /dev/ht0 is
what you need to use.  (Unless it's been setup with IDE-SCSI
emulation, in which /dev/st0 is what you need.)



On my system, where the tape drive is the secondary master,
'dmesg | grep hdc' shows (in part) the following:



hdc: Seagate STT20000A, ATAPI TAPE drive
ide-tape: hdc <-> ht0: Seagate STT20000A rev 8A51






Notice the message from ide-tape showing that hdc is
associated with ht0.  Try 'dmesg | grep hdd' on your own
system.  Be aware that you may need to manually 'modprobe
ide-tape' first, and/or add:



alias char-major-37 ide-tape



to /etc/modules.conf for automatic loading of the ide-tape
module.




Comments
BofcusmNum2043 :
Hello,

I had a similar problem with a Seagate STT3401A Travan ide tape drive.

It was reporting:
ide-tape: ht0: I/O error, ...

After some research, I found the solution on Seagates web site:
http://www.certance.com/support/kb/tape/faq/travan40_redhat.html


# rmmod ide-tape

# rmmod ide-scsi

# modprobe ide-scsi

The tape drive now works with the device name /dev/st0, for example:

# tar cf /dev/st0 /etc

Regards,

Christopher.


Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner





Views for this page
Today This Week This Month This Year  Overall
2219632 4,930

/Bofcusm/2043.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.


http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting



Twitter
  • Nov 18 20:41
    I'll be out all day Wednesday the 19th, hard to reach even by phone. Leave a message and have patience.
  • Nov 18 10:07
    What am I doing? Not doing what I WANT to be doing! Oh, well, in every life a little work must fall..









Change Congress


Related Posts