In cluster(your node_number may differ).
node_a:/root #lsattr -El ssar
node_number 2 SSA Network node number True
node_a:/root #ls -al /dev/tmssa*
c-wx------ 1 root system 43, 0 Feb 28 19:13 /dev/tmssa1.im
cr-x------ 1 root system 43, 1 Feb 28 19:13 /dev/tmssa1.tm
cr-------- 1 root system 43,65535 Feb 28 19:13 /dev/tmssako
node_a:/root # lsdev -C | grep tmssa
tmssar Available Target Mode SSA Router
tmssa1 Available -01 Target Mode SSA Device
node_b:/root # lsattr -El ssar
node_number 2 SSA Network node number True
node_b:/root #ls -al /dev/tmssa*
c-wx------ 1 root system 43, 0 Feb 28 19:13 /dev/tmssa1.im
cr-x------ 1 root system 43, 1 Feb 28 19:13 /dev/tmssa1.tm
cr-------- 1 root system 43,65535 Feb 28 19:13 /dev/tmssako
node_b:/root # lsdev -C | grep tmssa
tmssar Available Target Mode SSA Router
tmssa1 Available -01 Target Mode SSA Device
node_b:/root # rmdev -l tmssar
tmssar Defined
node_b:/root # rmdev -l tmssa1
tmssa1 Defined
node_b:/root # chdev -l ssar -a node_number=1
ssar changed
node_b:/root # lsdev -C | grep tmssa
tmssar Defined Target Mode SSA Router
tmssa1 Defined -01 Target Mode SSA Device
node_b:/root # cfgmgr
Method error (/usr/lib/methods/cfgtmssa -l tmssa1 ):
0514-027 The specified device is in the wrong state to
perform the requested function.
node_b:/root # lsdev -C | grep tmssa
tmssar Available Target Mode SSA Router
tmssa1 Defined -01 Target Mode SSA Device
tmssa2 Available Target Mode SSA Device
node_b:/root # rmdev -l tmssa1 -d
tmssa1 deleted
node_b:/root # lsdev -C | grep tmssa
tmssar Available Target Mode SSA Router
tmssa2 Available Target Mode SSA Device
node_b:/root # ls -al /dev/tmssa*
c-wx--x--x 1 root system 43, 2 Mar 03 13:19 /dev/tmssa2.im
cr-xr-xr-x 1 root system 43, 3 Mar 03 12:28 /dev/tmssa2.tm
cr--r--r-- 1 root system 43,65535 Mar 03 12:28 /dev/tmssako
node_a:/root #lsattr -El ssar
node_number 2 SSA Network node number True
node_a:/root #ls -al /dev/tmssa*
c-wx------ 1 root system 43, 0 Feb 28 19:13 /dev/tmssa1.im
cr-x------ 1 root system 43, 1 Feb 28 19:13 /dev/tmssa1.tm
cr-------- 1 root system 43,65535 Feb 28 19:13 /dev/tmssako
node_a:/root # lsdev -C | grep tmssa
tmssar Available Target Mode SSA Router
tmssa1 Available -01 Target Mode SSA Device
node_b:/root # lsattr -El ssar
node_number 2 SSA Network node number True
node_b:/root #ls -al /dev/tmssa*
c-wx------ 1 root system 43, 0 Feb 28 19:13 /dev/tmssa1.im
cr-x------ 1 root system 43, 1 Feb 28 19:13 /dev/tmssa1.tm
cr-------- 1 root system 43,65535 Feb 28 19:13 /dev/tmssako
node_b:/root # lsdev -C | grep tmssa
tmssar Available Target Mode SSA Router
tmssa1 Available -01 Target Mode SSA Device
node_b:/root # rmdev -l tmssar
tmssar Defined
node_b:/root # rmdev -l tmssa1
tmssa1 Defined
node_b:/root # chdev -l ssar -a node_number=1
ssar changed
node_b:/root # lsdev -C | grep tmssa
tmssar Defined Target Mode SSA Router
tmssa1 Defined -01 Target Mode SSA Device
node_b:/root # cfgmgr
Method error (/usr/lib/methods/cfgtmssa -l tmssa1 ):
0514-027 The specified device is in the wrong state to
perform the requested function.
node_b:/root # lsdev -C | grep tmssa
tmssar Available Target Mode SSA Router
tmssa1 Defined -01 Target Mode SSA Device
tmssa2 Available Target Mode SSA Device
node_b:/root # rmdev -l tmssa1 -d
tmssa1 deleted
node_b:/root # lsdev -C | grep tmssa
tmssar Available Target Mode SSA Router
tmssa2 Available Target Mode SSA Device
node_b:/root # ls -al /dev/tmssa*
c-wx--x--x 1 root system 43, 2 Mar 03 13:19 /dev/tmssa2.im
cr-xr-xr-x 1 root system 43, 3 Mar 03 12:28 /dev/tmssa2.tm
cr--r--r-- 1 root system 43,65535 Mar 03 12:28 /dev/tmssako
No comments:
Post a Comment