ovpass创建步骤
1、找出对应的光纤卡(粗体字),此处为fscsi1:
[21:58:27 root@billdg /]# lsdev -C |grep I/O
fscsi0 Available 03-00-02 FC SCSI I/O Controller Protocol Device
fscsi1 Available 05-00-02 FC SCSI I/O Controller Protocol Device
vio0 Available Virtual I/O Bus
[22:00:10 root@billdg /]# lsdev -Cs fcp
rmt0 Available 05-00-02 Other FC SCSI Tape Drive
rmt1 Available 05-00-02 Other FC SCSI Tape Drive
rmt2 Available 05-00-02 Other FC SCSI Tape Drive
rmt3 Available 05-00-02 Other FC SCSI Tape Drive
2、找出scsi_ID和lun_ID(粗体字),此处可多查看几个rmt,可以找到规律。一般机械手的lun_id为0:
[22:00:22 root@billdg /]# odmget -q “name=rmt2” CuAt
CuAt:
name = “rmt2”
attribute = “scsi_id”
value = “0x11000”
type = “R”
generic = “D”
rep = “s”
nls_index = 6

CuAt:
name = “rmt2”
attribute = “lun_id”
value = “0x3000000000000”
type = “R”
generic = “D”
rep = “s”
nls_index = 7
3、以下为billdg和billdb机器的ovpass创建命令
mkdev -c media_changer -s fcp -t ovpass -p fscsi1 -w 0x11000,0
mkdev -c media_changer -s fcp -t ovpass -p fscsi3 -w 0x11000,0

4、/usr/openv/volmgr/bin/driver/mkdev_ovpass
将该命令放在系统启动脚本中,以确保在系统每次启动后都可访问 ovpass 驱动程序设
备文件。