Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-28-2004, 12:43 PM   #1
Registered: Mar 2004
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
about tape drive and more

I have a scsi tape driver (SONY sdt-7000) on scsi adpater card. Linux detected the adapter card but i am out of idea to access the tape on the tape driver. And i dont know whether linux has taken tape driver also. i searched /dev file and found more than 10 files w filename starting w word "sdt". Is this the one? but it didnt worked. pls help this dude.

Also, i had hdfs formatted floppy which i realsied contained some very interestring docs. I tried to copy its contents to my hdd. mount failed saying hdfs not supported by kernel. so i did "tar xvf /dev/fd0" and wow..all the contents of floppy came into my local drive. But then i tried to copy it to another fd. but only few part got copied. whssa prob. pls help again,

pls give sols to two probs. thnx
Old 06-28-2004, 02:25 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Copy & paste the output of
please ... you will need the physical device driver
for the SCSI Controller, generic SCSI support and
the tape-driver (modprobe st if it's not loaded) to
operate a tape-drive.
Also check your output of
for any hints on the device having been picked up
during boot.

Old 06-28-2004, 02:27 PM   #3
Senior Member
Registered: Oct 2003
Posts: 2,559

Rep: Reputation: 213Reputation: 213Reputation: 213
The device files for scsi tape drives are /dev/st0(rewind) and /dev/nst0(no rewind). When using st0 the tape will automatically rewind at the conclusion of the operation; when using nst0, the tape won't rewind. To test if the tape is being recognized insert a tape in the drive and in a console run:

$ su
<enter root password>
# mt -f /dev/nst0 rewind

If your system recognizes the tape drive, the tape should do a rewind.
Old 06-28-2004, 02:29 PM   #4
Registered: Aug 2002
Posts: 16,025

Rep: Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850Reputation: 1850
Don't you mean hpfs? Or was it just a typo? I do not know if hpfs support is included in a default kernel.

You need to load the tape module st. i.e.
modprobe st

Also install the tape utilities called mt. Your tape device will be /dev/st0 (rewinds upon completion of command) and /dev/nst0 ( no rewind ).
The command:
mt -f /dev/nst0 status

Will display the status of the tape drive. You can use the tar (Tape archiver ) command to write to the drive. You can also find backup utilities on the freshmeat website.

tar -cvf /dev/st0 /data (for example, to write to tape)
Old 06-29-2004, 01:49 PM   #5
Registered: Mar 2004
Posts: 93
Blog Entries: 1

Original Poster
Rep: Reputation: 15
thank u guys for all ur help. it worked just fine. I could now access the tape.
by "tar commnd". its content stored in /home but i couldnt copy it to a floppy. Mounting didnt worked. "tar cmd" stores only random part of it. (I re-tar the fdd content back ..and compared to saved copy in /home).
pls help me.
I'd like to mention that software was made for sco-unix and I was trying to port the system into linux (Against all opposition and this endeavor is somewhat secret until i prove that linux box can also good ). many imp applications still remain inside the sco-box. I
want to copy these to tape sony sdt-700. but probs and confusions. where is tape device file located in sco-unix? pls help me.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I use a Tape drive monkeymartin Slackware 4 05-26-2006 06:46 AM
Tape drive JSLayton Slackware 22 02-24-2006 06:05 AM
Floppy drive interfaced tape drive in Slackware isolationist Linux - Hardware 6 02-13-2006 05:54 AM
tape drive tincat2 Linux - Hardware 1 02-13-2006 05:50 AM
Help with tape drive smgr12 Red Hat 2 08-29-2005 11:07 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:12 AM.

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