I encountered a weird situation today, and I need help from somebody who has seen this issue before.

I have a program that does an automatic backup check each day. If there's a pending backup to be done, my script would load an unused tape from slot 9~20 using "mtx" command, and store tar files on that tape. I tested the script for several backups and it worked fine.

Today when I try to load the tape, somehow the "mtx" command returns an error like follows (I run the backup in "screen" so I cannot scroll up and see the full error message, but it's roughly like this):

mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Hardware Error
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no

and what's more weird is that, after dumping the error the machine automatically loads slot 7 (the first slot that has tape in it). Can anybody tell me why this would happen? How do I avoid that? Thanks.

Edit: By the way, I did this whole process once again, but the error's gone, so I cannot reproduce the situation.

link|improve this question
Note, you can scroll back in screen in 'copy mode', normally C-a [ – sendmoreinfo Jan 28 at 20:48
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.