我正在尝试从一组磁带中提取数据。目前,磁带盒中有五盘磁带。
我尝试使用该mtx
命令,但没有成功。
继承人的输出
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
以下是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
答案1
感谢这些评论,我才得以解决这个问题。
将自动加载器从“顺序”更改为“随机”后,我能够使用命令mtx
通过其 ID 加载磁带。