Edit the resource information
If the system is in a cluster environment, edit the resource information using the following procedure.
If it is not in a cluster environment, then skip step 1) and start from step 2).
Search the node ID.
# /etc/opt/FJSVlcluster/bin/clgetnode
RID 3
KEY sdxst3
RNAME sdxst3
NODEID 0
#
Search the Resource ID.
# /etc/opt/FJSVcluster/bin/clgetrid -c DISK -k c2t11d0 -s 0
87
#
Delete the resource information.
# /etc/opt/FJSVcluster/bin/cldelrsc -r 87
Execute the automatic resource registration of the cluster. Execute the following command on any one node:
# /etc/opt/FJSVcluster/bin/clautoconfig -r
Register the disk
Register the disk in the disk class again.
# sdxdisk -M -c class01 -d c1t1d0=disk02
You can check if the disk has been registered using the following command:
# sdxinfo -D
OBJ NAME TYPE CLASS GROUP DEVNAM DEVBLKS DEVCONNECT STATUS
------ ------- ------ ------- ------- ------- -------- ---------------- -------
disk disk01 mirror class01 grp01 c2t10d0 17682084 sdxst3:sdxst4 ENABLE
disk disk02 undef class01 * c2t11d0 17596416 sdxst3:sdxst4 ENABLE
#
Add the disk
Add the disk to the mirror disk group.
# sdxdisk -C -c class01 -g grp01 -d disk01
Check if the disk has been registered using the following command:
# sdxinfo -D
OBJ NAME TYPE CLASS GROUP DEVNAM DEVBLKS DEVCONNECT STATUS
------ ------- ------ ------- ------- ------- -------- ---------------- -------
disk disk01 mirror class01 grp01 c2t10d0 17682084 sdxst3:sdxst4 ENABLE
disk disk02 mirror class01 grp01 c2t11d0 17596416 sdxst3:sdxst4 ENABLE
#