Arctera

During disk group creation with ‘-o same_enckey=yes’, disk reattach fails if a disk comes online after losing connectivity (4003890)

To use a single key for all the encrypted volumes in a disk group, the value of the same_enckey option must be set to yes during disk group creation. The same_enckey option sets an additional feature configuration for the disk group. After creating the disk group, if a disk comes online after losing connectivity, the disk reattach operation is performed. This operation does not allow any additional configuration on disk group and causes the disk reattach operation to fail.

Workaround:

Perform one of the following tasks to reattach the disk after it comes online:

Deport the disk group and import it again.

vxdg deport diskGroupName

vxdg importOptions import diskGroupName

  1. Deport the disk group .

    vxdg deport diskGroupName

  2. Import the disk group.

    vxdg importOptions import diskGroupName

If it is not feasible to deport and then import a disk group due to an ongoing application load, perform the following steps:

  1. Obtain the private region length of the disk.

    vxdisk list diskName | grep "private:" | awk '{print $4}' | cut -d= -f2

  2. Initialize the disk.

    vxdisk -f init diskName privlen= privateRegionLength

    Here, privateRegionLength is the value that is obtained in step 1.

  3. Reattach the disk.

    vxdg -g diskGroupName -k adddisk diskName

  4. Restart the volumes in the disk group.

    vxrecover

During disk group creation with ‘-o same_enckey=yes’, disk reattach fails if a disk comes online after losing connectivity (4003890)

In this article