LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-28-2004, 01:43 PM   #1
mchitrakar
Member
 
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, 03:25 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Copy & paste the output of
lsmod
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
dmesg
for any hints on the device having been picked up
during boot.


Cheers,
Tink
 
Old 06-28-2004, 03:27 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 3,006

Rep: Reputation: 395Reputation: 395Reputation: 395Reputation: 395
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, 03:29 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,358

Rep: Reputation: 6149Reputation: 6149Reputation: 6149Reputation: 6149Reputation: 6149Reputation: 6149Reputation: 6149Reputation: 6149Reputation: 6149Reputation: 6149Reputation: 6149
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, 02:49 PM   #5
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Blog Entries: 1

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.
 
  


Reply


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 07:46 AM
Tape drive JSLayton Slackware 22 02-24-2006 07:05 AM
Floppy drive interfaced tape drive in Slackware isolationist Linux - Hardware 6 02-13-2006 06:54 AM
tape drive tincat2 Linux - Hardware 1 02-13-2006 06:50 AM
Help with tape drive smgr12 Red Hat 2 08-29-2005 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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