APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > Linux ide tape drive name /dev/ht0
Printer Friendly Version




News Group Posts

Linux ide tape drive name /dev/ht0



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

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.
 

If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments

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.




Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



ad

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

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide


 I sell and support
 Kerio Mail server
g_face.jpg

This post tagged:

       - Hardware
       - Kernel
       - Linux
       - Tape Drives




Unix/Linux Consultants

Skills Tests

Guest Post Here