查看主机上光纤卡的WWN的方法
节点1:
[root@dnlgl1 ~]# cd /sys/class/fc_host/
[root@dnlgl1 fc_host]# ls
host2 host3
[root@dnlgl1 fc_host]# cd host2
[root@dnlgl1 host2]# more port_name
0x5001438000c2e7ec
[root@dnlgl1 host2]# cd ..
[root@dnlgl1 fc_host]# cd host3
[root@dnlgl1 host3]# more port_name
0x500110a00016ba46
节点2:
[root@dnlgl2 ~]# cd /sys/class/fc_host
[root@dnlgl2 fc_host]# ls -lt
total 0
drwxr-xr-x 3 root root 0 Aug 8 14:16 host4
drwxr-xr-x 3 root root 0 Aug 8 14:16 host3
[root@dnlgl2 fc_host]# more ./host3/port_name
0x10000000c9a7dac3
[root@dnlgl2 fc_host]# more ./host4/port_name
0x10000000c9c0ce85
[@more@]存储交换机A:
DNLGL1_H3_DS8100_A
DNLGL2_H4_DS8100_A
存储交换机B:
DNLGL1_H3_DS8100_A
DNLGL2_H4_DS8100_A
Ocr_vote磁盘2G*2
mkfbvol –extpool p2 –cap 2 –eam rotateexts –name dnlgl_ocr_1 7000
mkfbvol –extpool p3 –cap 2 –eam rotateexts –name dnlgl_ocr_2 7100
flash磁盘 10G*2
mkfbvol –extpool p2 –cap 10 –eam rotateexts –name dnlgl_flash_1 7001
mkfbvol –extpool p3 –cap 10 –eam rotateexts –name dnlgl_flash_2 7101
data磁盘 30G*10
mkfbvol –extpool p2 –cap 30 –eam rotateexts –name dnlgl_data_01 7002
mkfbvol –extpool p2 –cap 30 –eam rotateexts –name dnlgl_data_02 7003
mkfbvol –extpool p2 –cap 30 –eam rotateexts –name dnlgl_data_03 7004
mkfbvol –extpool p2 –cap 30 –eam rotateexts –name dnlgl_data_04 7005
mkfbvol –extpool p2 –cap 30 –eam rotateexts –name dnlgl_data_05 7006
mkfbvol –extpool p3 –cap 30 –eam rotateexts –name dnlgl_data_06 7102
mkfbvol –extpool p3 –cap 30 –eam rotateexts –name dnlgl_data_07 7103
mkfbvol –extpool p3 –cap 30 –eam rotateexts –name dnlgl_data_08 7104
mkfbvol –extpool p3 –cap 30 –eam rotateexts –name dnlgl_data_09 7105
mkfbvol –extpool p3 –cap 30 –eam rotateexts –name dnlgl_data_10 7106
lshosttype –type scsimap256
mkvolgrp是选择scsimap256
mkvolgrp –type scsimap256 –volume 7000-7006 DNLGLVG
chvolgrp –action add –volume 7100-7106 V6
Lsportprof –s IBM.2107-75TT181
在创建hostconnect时选择Intel – Linux RHEL
Mkhostconnect –wwname 10000000c9c0ce85 –profile “Intel – Linux RHEL” –volgrp V6 DNDGL2_FCS0
………
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/32980/viewspace-1059548/ ,如需转载,请注明出处,否则将追究法律责任。