LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems using mt with a DLT drive (https://www.linuxquestions.org/questions/linux-software-2/problems-using-mt-with-a-dlt-drive-455062/)

k2merlinsix 06-15-2006 10:38 AM

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.

madluther 06-15-2006 10:55 AM

The tape device on linux is typically called /dev/st0

try this instead

mt -f /dev/st0 eom

HTH

Mad.

k2merlinsix 06-22-2006 08:57 AM

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!

frankjoshua 06-28-2006 01:47 PM

Here's some basic help.
Tape drives in Linux


All times are GMT -5. The time now is 10:44 PM.