免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4157 | 回复: 5
打印 上一主题 下一主题

[VTL与磁带系统] IBM磁带库机械臂驱动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-02-24 15:38 |只看该作者 |倒序浏览
最近在写和IBM磁带库相关的程序,不知道如何用C++操作IBM磁带库的机械臂,请问有没有人知道这个怎么去写?

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
2 [报告]
发表于 2011-02-24 21:56 |只看该作者
要调系统命令吧?

论坛徽章:
0
3 [报告]
发表于 2011-02-25 04:23 |只看该作者
What operating system will your program be running on?
What device driver will be used as your changer driver?

To manage a tape library, the program needs to call open( ), ioctl( ), close( ) basically. The open( ) and close( ) are mostly same on all of operating system. The ioctl calls are very difference deponded on which device driver using. For example, you call SG_IO( ) to send the SCSI command to the library running with Linux generic driver -- sg on Linux. On Solaris, you can use USCSI( ) to issue SCSI command running with Solaris native passthru driver -- sgen. On HP-UX, you can use HP-UX native changer driver -- schgr or passthru driver -- spt to call its ioctls. On AIX, you have to call HBA API to send the commands.

If you want to use IBM changer drivers to handle IBM tape libraries, IBM provides a whole set of ioctl calls on AIX, Linux, Solaris, Windows and HP-UX.

If you are working for third party of changer driver like EMC Lus driver for IBM tape libraries, you need to contact with the third party vendor.

论坛徽章:
0
4 [报告]
发表于 2011-02-25 11:20 |只看该作者
回复 3# sun_up

OS: Windows 2003 Server
Tape Liberay: IBM 3581

我不知道去哪里找IBM磁带库机械臂的API

论坛徽章:
0
5 [报告]
发表于 2011-02-26 00:43 |只看该作者
You still don't answer what tape changer driver you plan to run with.

The IBM Tape Device Driver Programming Reference is available at the following URL:
http://www-01.ibm.com/support/do ... mp;uid=ssg1S7003032

论坛徽章:
0
6 [报告]
发表于 2011-02-28 09:18 |只看该作者
You still don't answer what tape changer driver you plan to run with.

The IBM Tape Device Driver  ...
sun_up 发表于 2011-02-26 00:43


OK,我刚刚去看了下:

设备管理器中显示的介质名为: IBM 3581 LTO AutoLoader
在注册表SCSI下的子键为:      Changer&Ven_IBM&Prod_ULT3581-TA&Rw_I114
其GUID为:                          {CE5939AE-EBDE-11D0-B181-0000F8753EC4}\0000

不知道是不是你要的信息
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP