由于之前HBA卡连接过其他的交换机,HBA保留了之前的信息,需要对原有信息进行清理
rmdev -Rdl fcs* 把对应的fcs信息重新识别
报错如下
#rmdev -Rdl fcs0
Method error (/etc/methods/ucfgdevice):
0514-062 Cannot perform the requested function because the specified device is busy.
原因是盘未删除
rmdev -dl hdisk3 -R 如果有hdiskpower盘,先删除,然后才能删除hdisk
最后cfgmgr -v
-----------------------------------------------------------------swd77:FID128:admin> switchshow
switchName: swd77
switchType: 133.0
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 6
switchId: fffc06
switchWwn: 10:00:88:94:71:d0:f4:e8
zoning: ON (cfg01)
switchBeacon: OFF
FC Router: OFF
HIF Mode: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Address Mode 0]
........
24 24 061800 id N8 Online FC G-Port
25 25 061900 id N8 Online FC F-Port 10:00:00:00:c9:cf:cc:d8
原先在24口出现G-Port,执行重新识别HBA卡fcs*口之后,重新switchshow看到24口能够看到小型机对应的WWN号
........
24 24 061800 id N8 Online FC F-Port 10:00:00:90:fa:07:a2:ce
25 25 061900 id N8 Online FC F-Port 10:00:00:00:c9:cf:cc:d8
........
swd77:FID128:admin> switchshow
switchName: swd77
switchType: 133.0
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 7
switchId: fffc07
switchWwn: 10:00:88:94:71:d0:f3:68
zoning: ON (cfg01)
switchBeacon: OFF
FC Router: OFF
HIF Mode: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Address Mode 0]
.......
24 24 071800 id N8 Online FC F-Port 10:00:00:00:c9:ce:fc:28
25 25 071900 id N8 Online FC G-Port
原先在25口出现G-Port,执行重新识别HBA卡fcs*口之后,重新switchshow看到25口能够看到小型机对应的WWN号
.......
24 24 071800 id N8 Online FC F-Port 10:00:00:00:c9:ce:fc:28
25 25 071900 id N8 Online FC F-Port 10:00:00:00:c9:cf:ba:80