LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-04-2006, 08:37 PM   #1
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Tape drive's there but not there.


I'm having a few interesting incidents with my tape drive, and am trying to figure out how to get it working. It's a 4GB Travan tape drive from Seagate, and it's being picked up correctly (or seems to). It sits in the /dev/hdc spot and is recognized as a "CONNER CTT8000-A, ATAPI TAPE drive", as shown in /var/log/dmesg. The drive itself is working great, but yet when I try to do anything with it (with a tape in it), it will ls as /dev/ht0 or /dev/ht1, but will say "device does not exist" when I try to use cat or another command on it. Using tar either seems to dump everything at ~ or /dev/user (both are about the same, aren't they?) to stdout, which puts garbage on the screen and drives the system bell crazy. When I do seem to hit on the right sequence for tar, I, again, get "/dev/ht0: device does not exist". What do I need to fix and how do I fix it? Most of it may be user error, as the manual for tar is very unclear. To back up my home directory, what is the exact command I need? The manual seems to suggest something like tar --create input output which would translate to tar --create ~ /dev/ht0 (this dumps the garbage), but I have also tried stuff like tar -cf /home/user /dev/ht0 as -f is force and -c is create (--create) and you can combine options when using short options. Am I still doing it wrong?

What should my /etc/default/tar file look like? I made a new file and stuck an entry in. It looks something like this:
archive0=/dev/ht0 10 4194304
I believe it is archive number = /dev entry, size of the blocks (in sets of 512 bytes) and then total number of 512-byte sets.

Last edited by lectraplayer; 09-04-2006 at 08:43 PM.
 
Old 09-05-2006, 03:29 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Try running:

mt -f /dev/hdc status
 
Old 09-05-2006, 07:45 PM   #3
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Original Poster
Rep: Reputation: 32
Back where I started. I get this when I try it:
/dev/hdc: invalid argument
/dev/ht0: no such device
/dev/ht1: no such device
 
Old 09-06-2006, 07:20 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Add hdc=ide-scsi kernel option to the grub.conf. The device ID will be /dev/st0.
Make sure the tape module st is loaded.
Then try:
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
Mounted hard drive's files/folders are invisible when created jay_rod101 Linux - Newbie 6 06-16-2006 01:57 AM
Using a DDS5 tape drive to restore from a DDS3 backup tape. AndrewCAtWayofthebit Linux - Hardware 1 05-14-2006 09:15 AM
Hard drive's not working for knoppix hdinstall gravy Linux - Newbie 1 11-20-2005 11:40 AM
changing drive's order r_x Linux - Hardware 1 07-19-2005 04:56 AM
HELP! mounted hard drive's read only system? Devboy Linux - Newbie 8 10-12-2003 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:45 AM.

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