2

I am trying to extract data from a set of tapes. Currently, there are five of them in the tape-magazine.

I have tried using the mtx command without much success.

Heres the output of

mtx -f /dev/sg1 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Not Ready
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 04
mtx: Request Sense: Additional Sense Qualifier = 8E
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed

Here is the output of the tapeinfo command

tapeinfo -f /dev/sg1

Product Type: Medium Changer
Vendor ID: 'BDT     '
Product ID: 'FlexStor II     '
Revision: '4.70'
Attached Changer: No
SerialNumber: '00DE65202403_LL0'
TapeAlert[21]:Clean Periodic:The tape drive needs to be cleaned at next opportunity.
SCSI ID: 0
SCSI LUN: 1
Ready: no
12
  • 1
    What's your actual question ?
    – user9517
    Oct 3, 2016 at 5:28
  • I have five tapes in the tape magazine. Is there a way to load them through the command-line?
    – feverDream
    Oct 3, 2016 at 5:33
  • You should edit your question and add your actual question to it. Did you try mtx load <slotnum> ? What happend ? ...
    – user9517
    Oct 3, 2016 at 5:39
  • I have updated the question. Thanks for responding.
    – feverDream
    Oct 3, 2016 at 5:51
  • That mtx output often means the tape magazine door is still open. Is the autoloader fully closed-up and ready to go?
    – MadHatter
    Oct 3, 2016 at 5:53

1 Answer 1

1

Thanks to the comments, I was able to solve the problem.

After changing the auto-loader from "sequential" to "random", I was able to use the mtx command to load the tape using its id.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .