Chinaunix

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

作者: penny61    时间: 2008-05-15 16:12
标题: 请问在AIX下有没有指令可以直接操控IBM TS3100的磁带机
一个请简单的例子,在AIX操作系统下,系统里的rmt1是IBM 3581-F28,  rmt2是IBM TS3100,\r\n\r\n从drvicer里把磁带导出放入第七个槽位所用指令如下:\r\n tapeutil -f /dev/rmt1 move  \"86\"  \"7\"\r\n把第一个槽位的磁带放入drvicer里\r\n tapeutil -f /dev/rmt1 move  \"1\"  \"86\"\r\n\r\n我查了TS3100的说明书,端口号分别发下:\r\nDrive 1端口是256\r\nSlot 1 端口是4096\r\n但使用如上的指令:\r\n tapeutil -f /dev/rmt2 move  \"256\"  \"4096\" \r\n tapeutil -f /dev/rmt2 move  \"4096\"  \"256\" \r\n都报了没有这个设备的错误,请问我在AIX系统下,对IBM TS3100进行入带与出带的指令是什么?
作者: sun_up    时间: 2008-05-16 02:39
three ways to move the tape running tapeutil on AIX:\r\n1. use the changer special file:\r\ntapeutil -f /dev/smcX move  256  4096\r\ntapeutil -f /dev/smcX move  4096  256 \r\n\r\n2. use the drive special file with changer support\r\ntapeutil -f /dev/rmt2.smc  mount  4096\r\ntapeutil -f /dev/rmt2.smc  unmount  4096 \r\n\r\n3. Unload tape and move to the first empty slot using the drive special file\r\ntapeutil -f/ dev/rmt2 unmount\r\n\r\nFor the first two methods,  the tape must be unloaded first before to move the tape.\r\nFor 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
谢谢了!\r\n\r\n三个方法我都试过了,好象只有第一个方法有用,后面两个都报设备错误的信息.\r\n\r\n不过能用就可以了!\r\n\r\n非常感谢!
作者: 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界面访问不是更加直观吗,




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