multi path 구성 스토리지와 연결했을때, 하나의 path가 끊겼다가 다시 연결되었을때 fail over 안될때 확인할 사항
링크가 단절되었을때,
# lspath -l hdisk6
Failed hdisk6 fscsi1
Enabled hdisk6 fscsi0
Enabled hdisk6 fscsi0
복구되어도 여전히 Failed 상태.
fscsi0의 속성값 확인 했을때, 아래와 같음.
# lsattr -El fscsi0
attach switch How this adapter is CONNECTED False
dyntrk no Dynamic Tracking of FC Devices True+
fc_err_recov delayed_fail FC Fabric Event Error RECOVERY Policy True+
위의 두 속성을 바꿔준다.
# chdev -l fscsi0 -a fc_err_recov=fast_fail Method error (/usr/lib/methods/chggen): 0514-029 Cannot perform the requested function because a child device of the specified device is not in a correct state. # chdev -l fscsi0 -a fc_err_recov=fast_fail -P fscsi0 changed # chdev -l fscsi0 -a dyntrk=yes -P fscsi0 changed
# lsattr -El fscsi0
attach switch How this adapter is CONNECTED False
dyntrk yes Dynamic Tracking of FC Devices True+
fc_err_recov fast_fail FC Fabric Event Error RECOVERY Policy True+