全部博文(14)
分类:
2010-02-03 17:10:44
p615:/>lsdev -Cc tape
rmt0 Available 1H-08-01 IBM 3580 Ultrium Tape Drive (FCP)
rmt1 Available 1H-08-01 IBM 3580 Ultrium Tape Drive (FCP)
smc0 Available 1H-08-01 IBM 3583 Library Medium Changer (FCP)
smc1 Available 1H-08-01 IBM 3583 Library Medium Changer (FCP)
2)查看磁带库中的磁带位置情况:
p615:/>tapeutil -f /dev/smc0 invent | more
Reading element status...
Robot Address 1 /*机械臂*/
Robot State .................... Normal
ASC/ASCQ ....................... 0000
Media Present .................. No
Source Element Address Valid ... No
Media Inverted ................. No
Volume Tag .....................
Import/Export Station Address 16 /*I/O口*/
Import/Export State ............ Normal
ASC/ASCQ ....................... 0000
Media Present .................. No
Import Enabled ................. Yes
Export Enabled ................. Yes
Robot Access Allowed ........... Yes
Source Element Address Valid ... No
Media Inverted ................. No
Volume Tag .....................
……
Drive Address 256 /*机械臂*/
Drive State .................... Normal
ASC/ASCQ ....................... 0000
Media Present .................. No
Robot Access Allowed ........... Yes
Source Element Address Valid ... No
Media Inverted ................. No
Same Bus as Medium Changer ..... Yes
SCSI Bus Address ............... 1
Logical Unit Number Valid ...... No
Volume Tag .....................
……
Slot Address 4096 /*槽位*/
Slot State ..................... Abnormal
ASC/ASCQ ....................... 8300
Media Present .................. Yes
Robot Access Allowed ........... Yes
Source Element Address ......... 4096
Media Inverted ................. No
Volume Tag ...................../*我们知道这里有1合lto1没有条码标签*/
Slot Address 4097
Slot State ..................... Normal
ASC/ASCQ ....................... 0000
Media Present .................. Yes
Robot Access Allowed ........... Yes
Source Element Address ......... 4099
Media Inverted ................. No
Volume Tag ..................... CLNU54L1/*清洗带*/
Slot Address 4098
Slot State ..................... Normal
ASC/ASCQ ....................... 0000
Media Present .................. Yes
Robot Access Allowed ........... Yes
Source Element Address ......... 4096
Media Inverted ................. No
Volume Tag ..................... A00004L2
……
3)查看rmtx和element号之间的对应关系:
3、1)物理位置和sn的关系
3583的控制面板上status/drivers可以看到驱动器的物理位置和sn;wwn:
设备 sn wwn
------ ------ ------
lib 1319585
drv1 1110119982 500308C1426A1001
drv2 1110140955 500308C1426A1004
3、2)物理位置和element的关系
每种带库的都有自己的对应关系,请查阅手册(setup and operation guide):
3、3)sn和element关系:
综合1,2可知
drvx sn element
---- ------ ------
drv1 1110119982 256
drv2 1110140955 257
3、4)rmtx和sn的关系:
使用命令
p615:/>lscfg -vps -l rmt0
rmt0 U0.1-P1-I5/Q1-W500308C1426A1001-L0
IBM 3580 Ultrium Tape Drive (FCP)
Manufacturer................IBM
Machine Type and Model......ULT3580-TD2
Serial Number...............1110119982
Device Specific.(FW)........38D0
p615:/>lscfg -vps -l rmt1
rmt1 U0.1-P1-I5/Q1-W500308C1426A1004-L0
IBM 3580 Ultrium Tape Drive (FCP)
Manufacturer................IBM
Machine Type and Model......ULT3580-TD2
Serial Number...............1110140955
Device Specific.(FW)........38D0
3、6)rmtx和element的关系:
综合3,4可知
rmtx drvx sn element
---- ---- ------ ------
rmt0 drv1 1110119982 256
rmt1 drv2 1110140955 257
另外,如果是光纤设备,wwn也是一个识别的方法。