HP-UNIX连EMC CX4-480存储需要注意的地方
HP-UNIX连EMC CX4-480存储有2个需要特别注意的地方:
- HBA卡的WWN地址在EMC存储上注册时需注意:Initiater Type为HP No Auto Trespass或CLARiiON Open,Failover Mode为4(当HP-Unix 11.31上不安装powerpath时)
- 建PV时,设备符的选择
db2[/#]ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
disk 0 0/0/0/2/0/0/0.8.0 sdisk CLAIMED DEVICE HP EH0146FAWJB
/dev/dsk/c0t8d0 /dev/dsk/c0t8d0s2 /dev/rdsk/c0t8d0 /dev/rdsk/c0t8d0s2
/dev/dsk/c0t8d0s1 /dev/dsk/c0t8d0s3 /dev/rdsk/c0t8d0s1 /dev/rdsk/c0t8d0s3
disk 1 0/0/0/2/0/0/0.8.1 sdisk CLAIMED DEVICE HP EH0146FAWJB
/dev/dsk/c0t8d1 /dev/dsk/c0t8d1s2 /dev/rdsk/c0t8d1 /dev/rdsk/c0t8d1s2
/dev/dsk/c0t8d1s1 /dev/dsk/c0t8d1s3 /dev/rdsk/c0t8d1s1 /dev/rdsk/c0t8d1s3
disk 4 0/0/0/5/0/0/0.2.23.255.0.0.0 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 14 0/0/0/5/0/0/0.2.23.255.0.0.1 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c2t0d1 /dev/rdsk/c2t0d1
disk 15 0/0/0/5/0/0/0.2.23.255.0.0.2 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c2t0d2 /dev/rdsk/c2t0d2
disk 21 0/0/0/5/0/0/0.2.23.255.0.0.3 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c2t0d3 /dev/rdsk/c2t0d3
disk 25 0/0/0/5/0/0/0.2.23.255.0.0.4 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c2t0d4 /dev/rdsk/c2t0d4
disk 7 0/0/0/5/0/0/1.2.23.255.0.0.0 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 10 0/0/0/5/0/0/1.2.23.255.0.0.1 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 11 0/0/0/5/0/0/1.2.23.255.0.0.2 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
disk 23 0/0/0/5/0/0/1.2.23.255.0.0.3 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c5t0d3 /dev/rdsk/c5t0d3
disk 27 0/0/0/5/0/0/1.2.23.255.0.0.4 sdisk CLAIMED DEVICE DGC RAID 5
/dev/dsk/c5t0d4 /dev/rdsk/c5t0d4
db2[/#]strings /etc/lvmtab
/dev/vg00
M6(^
/dev/disk/disk2_p2
/dev/dsk/c0t8d0s2
/dev/vgarch
/dev/dsk/c5t0d3
/dev/dsk/c3t0d3
/dev/dsk/c2t0d3
/dev/vglock
/dev/dsk/c5t0d1
/dev/vgdb
/dev/dsk/c5t0d0
/dev/dsk/c2t0d0
/dev/vgadd
/dev/dsk/c2t0d4
/dev/dsk/c5t0d4
/dev/dsk/c3t0d4
/dev/dsk/c4t0d4
db2[/#]ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rchgr/autoch1 /dev/rac/c6t0d1
/dev/rdisk/disk2 /dev/rdsk/c0t8d1
/dev/rdisk/disk2_p1 /dev/rdsk/c0t8d1s1
/dev/rdisk/disk2_p2 /dev/rdsk/c0t8d1s2
/dev/rdisk/disk2_p3 /dev/rdsk/c0t8d1s3
/dev/rtape/tape1_BEST /dev/rmt/c6t0d0BEST
/dev/rtape/tape1_BESTn /dev/rmt/c6t0d0BESTn
/dev/rtape/tape1_BESTb /dev/rmt/c6t0d0BESTb
/dev/rtape/tape1_BESTnb /dev/rmt/c6t0d0BESTnb
/dev/rdisk/disk3 /dev/rdsk/c0t8d0
/dev/rdisk/disk3_p1 /dev/rdsk/c0t8d0s1
/dev/rdisk/disk3_p3 /dev/rdsk/c0t8d0s3
/dev/rdisk/disk3_p2 /dev/rdsk/c0t8d0s2
/dev/rdisk/disk9 /dev/rdsk/c5t0d0
/dev/rdsk/c2t0d0
/dev/rdisk/disk18 /dev/rdsk/c5t0d1
/dev/rdsk/c2t0d1
/dev/rdisk/disk19 /dev/rdsk/c5t0d2
/dev/rdsk/c2t0d2
/dev/rdisk/disk24 /dev/rdsk/c5t0d3
/dev/rdsk/c2t0d3
/dev/rdisk/disk26 /dev/rdsk/c5t0d4
/dev/rdsk/c2t0d4
可以看到连上存储后有两种设备符Persistent DSF和Legacy DSF(s),其中Persistent DSF聚合后的设备符,而Legacy DSF(s)指的是每根链路的设备符。
创建PV时应该使用Persistent DSF,但是要去掉r,如pvcreate /dev/disk/disk26
另外官方建议超时时间为180:
pvchange -t 180 /dev/disk/disk26