Chinaunix

标题: 请问在AIX下有没有指令可以直接操控IBM TS3100的磁带机 [打印本页]

作者: penny61    时间: 2008-05-15 16:12
标题: 请问在AIX下有没有指令可以直接操控IBM TS3100的磁带机
一个请简单的例子,在AIX操作系统下,系统里的rmt1是IBM 3581-F28,  rmt2是IBM TS3100,

从drvicer里把磁带导出放入第七个槽位所用指令如下:
tapeutil -f /dev/rmt1 move  "86"  "7"
把第一个槽位的磁带放入drvicer里
tapeutil -f /dev/rmt1 move  "1"  "86"

我查了TS3100的说明书,端口号分别发下:
Drive 1端口是256
Slot 1 端口是4096
但使用如上的指令:
tapeutil -f /dev/rmt2 move  "256"  "4096"
tapeutil -f /dev/rmt2 move  "4096"  "256"
都报了没有这个设备的错误,请问我在AIX系统下,对IBM TS3100进行入带与出带的指令是什么?
作者: sun_up    时间: 2008-05-16 02:39
three ways to move the tape running tapeutil on AIX:
1. use the changer special file:
tapeutil -f /dev/smcX move  256  4096
tapeutil -f /dev/smcX move  4096  256

2. use the drive special file with changer support
tapeutil -f /dev/rmt2.smc  mount  4096
tapeutil -f /dev/rmt2.smc  unmount  4096

3. Unload tape and move to the first empty slot using the drive special file
tapeutil -f/ dev/rmt2 unmount

For the first two methods,  the tape must be unloaded first before to move the tape.
For the last method, you can't move the tape to a special address. The tape is always moved to the first empty slot
作者: penny61    时间: 2008-05-16 09:39
谢谢了!

三个方法我都试过了,好象只有第一个方法有用,后面两个都报设备错误的信息.

不过能用就可以了!

非常感谢!
作者: mhy119    时间: 2008-10-29 17:27
标题: 我还有一个问题,
请教一下是否有命令直接打开I/O slot 现在我只能move到 IOslot ,然后要手工弹出I/Oslot,比较麻烦。
作者: zw047    时间: 2008-11-11 16:58
直接按前面面板安纽不是更快吗
作者: dfxsoft    时间: 2009-01-04 10:53
用web界面访问不是更加直观吗,
作者: aixully    时间: 2010-09-26 09:48
mount第一个槽位(4096)的磁带
tapeutil -f /dev/rmtX mount 4096

将驱动器中的磁带unmount回第一个槽位(4096)
tapeutil -f /dev/rmtX unmount 4096




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2