磁带机常用命令
Ejecting tape on AIX & Some Tape commands
我正在尝试使用这个命令弹出磁带
mt -f /dev/rmt/0 unload
但它给了我错误
Code:
mt -f /dev/rmt/0 unload
mt: 0511-575 unload is not a recognized subcommand.
Usage: mt [-f Device] Subcommand [Count]
Valid subcommands are:
weof
eof
fsf
bsf
fsr
bsr
rewind
offline
rewoffl
status
Code:
tctl -f /dev/rmt0 offline
/dev/rmt0: The device is not ready for operation.
But the tape is inside the drive !
ome other tape commands
获取关于磁带的信息。它使用压缩和可变长度块大小
tctl -f /dev/rmt0 status
复卷磁带驱动器
tctl -f /dev/rmt0 rewind
倒带并弹出rmt0磁带机
tctl -f /dev/rmt0 offline
检查磁带的内容
tctl -f /dev/rmt0.1 -b 1024 -n read
读取磁带并将输出重定向到文件。在这种情况下,操作系统显示磁带本身损坏.
tctl -f /dev/rmt0 read > /tmp/testtape
获取关于磁带的信息
lscfg -vpl rmt0
本文来自博客园,作者:xiaoming zhang,转载请注明原文链接:https://www.cnblogs.com/xmzhang

浙公网安备 33010602011771号