LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-15-2006, 10:38 AM   #1
k2merlinsix
Member
 
Registered: Dec 2004
Location: West Virginia
Distribution: Fedora
Posts: 35

Rep: Reputation: 15
Problems using mt with a DLT drive


We are migrating our software from Solaris to Linux and we are trying to get a program that executes a system command to a tape drive to work. The command is "mt -f /dev/rmt/1 eom"

This command works on Solaris but does not in Linux even though online documents say that it should be there. What is the matching command in Linux?

Also the other command is "mt -f /dev/rmt/1 bsf 2" Works fine with Solaris and the command is actually there for Linux but it give an input/output error. Any one know why?

I was using the right path to the DLT drive also I just left the /dev/rmt/1 there because I dont have the other location right off hand.

Last edited by k2merlinsix; 06-15-2006 at 10:39 AM.
 
Old 06-15-2006, 10:55 AM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 349

Rep: Reputation: 30
The tape device on linux is typically called /dev/st0

try this instead

mt -f /dev/st0 eom

HTH

Mad.
 
Old 06-22-2006, 08:57 AM   #3
k2merlinsix
Member
 
Registered: Dec 2004
Location: West Virginia
Distribution: Fedora
Posts: 35

Original Poster
Rep: Reputation: 15
Yeah that is what I was trying to say in the last sentence was that I was using the correct /dev name which as you pointed was st0 I was having a brain fart when I submitted the post.

So my FC4 says that eom is not a command for mt and when I use a bsf 2 I get an input/output error which may be because it is looking for an eom marker?

I am not sure how to fix this any help would be great!
 
Old 06-28-2006, 01:47 PM   #4
frankjoshua
Member
 
Registered: May 2006
Posts: 32

Rep: Reputation: 15
Here's some basic help.
Tape drives in Linux
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux friendly DLT drive dehavik Linux - Hardware 3 06-11-2006 08:28 AM
DLT copy using dd - dlt to harddrive and back tomatoefish Linux - Hardware 1 03-19-2006 07:50 PM
tar command and dlt drive LuvdemHeels Red Hat 0 11-24-2004 03:29 PM
DLT 40 How do I access this tape drive? chr15t0 Linux - Hardware 1 02-14-2003 10:13 AM
Linux with SCSI DLT drive AMilroy Linux - General 0 07-09-2001 11:01 AM


All times are GMT -5. The time now is 09:27 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration