Top
PRIMECLUSTER DR/PCI Hot Plug User's Guide 4.5
FUJITSU Software

2.4.3 Adding the disk again

Edit the resource information

  1. 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).

    1. Search the node ID.

      # /etc/opt/FJSVlcluster/bin/clgetnode
      RID 3
      KEY sdxst3
      RNAME sdxst3
      NODEID 0
      #
    2. Search the Resource ID.

      # /etc/opt/FJSVcluster/bin/clgetrid  -c DISK  -k c2t11d0  -s 0
      87
      #
    3. Delete the resource information.

      # /etc/opt/FJSVcluster/bin/cldelrsc -r 87
    4. Execute the automatic resource registration of the cluster. Execute the following command on any one node:

      # /etc/opt/FJSVcluster/bin/clautoconfig -r
  2. 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
    #
  3. 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
    #