本主题介绍了如何检测连接到数据移动器服务器的设备,以及如何检测连接到特定平台的 SCSI 设备。
数据移动器服务器
所有设备均作为链接文件显示在数据移动器服务器上的 /dev/CA 目录中,如以下屏幕所示:
DeviceSerialMap 文件包含连接到数据移动器服务器的转换器和设备的相关信息。
Linux 平台(示例:Red Hat Enterprise Linux)
注意:您可以使用 sg 驱动程序访问所有类型的 SCSI 设备。 可在 /proc/scsi/sg/devices 目录或 /proc/scsi/sg/device_strs 目录中查看 sg 设备映射配置。
UNIX 平台(示例:SUN 10)
SUN 10 操作系统使用两种类型的 SCSI 驱动程序:st 和 sgen。 您可以通过 /etc/driver_aliases 文件确定驱动程序和转换器的类型。 以下屏幕显示驱动程序类型是 st,转换器类型是 scsiclass,01。
以下列表描述了 st 驱动程序的语法。
注意:如果 st 设备不可用,会显示以下结果:
注意:(可选)您可以从 /kernel/drv/st.conf 文件获得设备列表。
以下列表描述了 sgen 驱动程序的语法:
UNIX 平台(示例:HP RISC 11.23)
bash-4.0# ioscan -FnC autoch scsi:wsio:T:T:F:29:231:262144:autoch:schgr:0/3/1/0.0.0.0.0.0:8 128 3 2 0 0 0 0 2 47 199 17 149 21 224 137 113 :3:root.sba.lba.lpfc.lpfd.tgt.schgr:schgr:CLAIMED:D EVICE:HP D2DBS:4 /dev/rac/c4t0d0 scsi:wsio:T:T:F:29:231:589824:autoch:schgr:0/3/1/0.5.0.0.0:8 128 3 2 0 0 0 0 1 53 125 185 26 130 50 80 249 :1:root.sba.lba.lpfc.lpfd.tgt.schgr:schgr:CLAIMED:DE VICE:HP MSL G3 Series:9 /dev/rac/c9t0d0 scsi:wsio:T:T:F:29:231:917504:autoch:schgr:0/3/1/0.0.10.0.0.0:8 128 3 2 0 0 0 0 153 125 185 26 242 88 164 118 :2:root.sba.lba.lpfc.lpfd.tgt.schgr:schgr:CLAIMED: DEVICE:HP MSL G3 Series:14 /dev/rac/c14t0d0
bash-4.0# ioscan -fnC tape Class I H/W Path Driver S/W State H/W Type Description ======================================================================= tape 15 0/3/1/0.0.1.0.0.0 stape CLAIMED DEVICE HP Ultrium VT /dev/rmt/15m /dev/rmt/c5t0d0BEST /dev/rmt/15mb /dev/rmt/c5t0d0BESTb /dev/rmt/15mn /dev/rmt/c5t0d0BESTn /dev/rmt/15mnb /dev/rmt/c5t0d0BESTnb tape 14 0/3/0.2/0.0.1.0.0 stape CLAIMED DEVICE HP Ultrium VT /dev/rmt/14m /dev/rmt/c6t0d0BEST /dev/rmt/14mb /dev/rmt/c6t0d0BESTb /dev/rmt/14mn /dev/rmt/c6t0d0BESTn /dev/rmt/14mnb /dev/rmt/c6t0d0BESTnb tape 17 0/3/0.3/0.0.1.0.0 stape CLAIMED DEVICE HP Ultrium VT /dev/rmt/17m /dev/rmt/c7t0d0BEST /dev/rmt/17mb /dev/rmt/c7t0d0BESTb /dev/rmt/17mn /dev/rmt/c7t0d0BESTn /dev/rmt/17mnb /dev/rmt/c7t0d0BESTnb tape 7 0/3/1/0.0.6.0.0.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI /dev/rmt/7m /dev/rmt/c10t0d0BEST /dev/rmt/7mb /dev/rmt/c10t0d0BESTb /dev/rmt/7mn /dev/rmt/c10t0d0BESTn /dev/rmt/7mnb /dev/rmt/c10t0d0BESTnb tape 8 0/3/1/0.0.7.0.0.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI /dev/rmt/8m /dev/rmt/c11t0d0BEST /dev/rmt/8mb /dev/rmt/c11t0d0BESTb /dev/rmt/8mn /dev/rmt/c11t0d0BESTn /dev/rmt/8mnb /dev/rmt/c11t0d0BESTnb
#mkdir /tmp/tape # mv /dev/rmt/* /tmp/tape # insf -e # ioscan -fnC tape
UNIX 平台(示例:AIX 5.3)
bash-3.00# lscfg -vp|grep -i -p rmt fcnet0 U0.1-P1-I5/Q1 Fibre Channel Network Protocol Device fscsi1 U0.1-P1-I5/Q1 FC SCSI I/O Controller Protocol Device rmt30 U0.1-P1-I5/Q1-W50014380018CC723-L0 Other FC SCSI Tape Drive rmt31 U0.1-P1-I5/Q1-W50014380018CC721-L0 Other FC SCSI Tape Drive rmt32 U0.1-P1-I5/Q1-W50014380018CC6E7-L0 Other FC SCSI Tape Drive rmt33 U0.1-P1-I5/Q1-W50014380018CC6E5-L0 Other FC SCSI Tape Drive rmt34 U0.1-P1-I5/Q1-W50014380018CC6E3-L0 Other FC SCSI Tape Drive rmt35 U0.1-P1-I5/Q1-W50014380018CC6E1-L0 Other FC SCSI Tape Drive rmt38 U0.1-P1-I5/Q1-W50014380018CC703-L0 Other FC SCSI Tape Drive rmt39 U0.1-P1-I5/Q1-W50014380018CC701-L0 Other FC SCSI Tape Drive
bash-3.00# lsdev -Cc tape rmt30 Available 1H-08-02 Other FC SCSI Tape Drive rmt31 Available 1H-08-02 Other FC SCSI Tape Drive rmt32 Available 1H-08-02 Other FC SCSI Tape Drive rmt33 Available 1H-08-02 Other FC SCSI Tape Drive rmt34 Available 1H-08-02 Other FC SCSI Tape Drive rmt35 Available 1H-08-02 Other FC SCSI Tape Drive rmt36 Defined 1H-08-02 Other FC SCSI Tape Drive rmt37 Defined 1H-08-02 Other FC SCSI Tape Drive rmt38 Available 1H-08-02 Other FC SCSI Tape Drive rmt39 Available 1H-08-02 Other FC SCSI Tape Drive
版权所有 © 2011 CA。 保留所有权利。 | 就该主题发送电子邮件至 CA Technologies |