Pages

Tuesday, November 4, 2014

VxVM vxdg ERROR V-5-1-0 Disk Group ...

Today a colleague asked me about a strange situation when adding new disks to a existing disk group in AIX 7.1. He had two new disks from two different storages. The first disk could be added easily as always:

# vxdg -g oradg adddisk emc_clariion1_79

But when he tried to add the second disk he became the following error:

# vxdg -g oradg adddisk emc_clariion0_80
VxVM vxdg ERROR V-5-1-0 Disk Group oradg has only standard disks and trying to add cloned disk to diskgroup.Mix of standard and cloned disks in a diskgroup is not allowed. Please follow the vxdg (1M) man page.


First I took a look at the disk group:

# vxprint -g oradg
TY NAME      ASSOC     KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg oradg     oradg     -        -        -        -        -       -

dm emc_clariion0_52 emc_clariion0_52 - 419348128 -   NOHOTUSE -       -
dm emc_clariion0_54 emc_clariion0_54 - 838767040 -   NOHOTUSE -       -
dm emc_clariion0_55 emc_clariion0_55 - 838767040 -   NOHOTUSE -       -
dm emc_clariion1_52 emc_clariion1_52 - 419348128 -   NOHOTUSE -       -
dm emc_clariion1_54 emc_clariion1_54 - 838767040 -   NOHOTUSE -       -
dm emc_clariion1_55 emc_clariion1_55 - 838767040 -   NOHOTUSE -       -
dm emc_clariion1_79 emc_clariion1_79 - 314496064 -   -        -       -
...


emc_clariion1_79 was added to the disk group, emc_clariion1_80 not. Then I removed the disk:

# vxdg -g oradg rmdisk emc_clariion1_79

And updated the UDID for both disks:

# vxdisk -f updateudid emc_clariion1_79
# vxdisk -f updateudid emc_clariion0_80
# vxdisk set emc_clariion1_79 clone=off
# vxdisk set emc_clariion0_80 clone=off


When I tried to add the disks to the disk group again everything went fine with emc_clariion1_79 but emc_clariion0_80 gave another error:

# vxdg -g oradg adddisk emc_clariion1_79
# vxdg -g oradg adddisk emc_clariion0_80
VxVM vxdg ERROR V-5-1-2349 Device emc_clariion0_80 appears to be owned by disk group oradg.


Since I knew that emc_clariion0_80 was not inside the oradg disk group I tried to remove the disk nevertheless:

# vxdg -g oradg rmdisk emc_clariion0_80
VxVM vxdg ERROR V-5-1-555 Disk emc_clariion0_80 not found in configuration


The only chance I had here was to force initialize the disk again:

# vxdisk -f init emc_clariion0_80

And adding the disk went finally fine:

# vxdg -g oradg adddisk emc_clariion0_80
# vxprint -g oradg
TY NAME      ASSOC     KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg oradg     oradg     -        -        -        -        -       -

dm emc_clariion0_52 emc_clariion0_52 - 419348128 -   NOHOTUSE -       -
dm emc_clariion0_54 emc_clariion0_54 - 838767040 -   NOHOTUSE -       -
dm emc_clariion0_55 emc_clariion0_55 - 838767040 -   NOHOTUSE -       -
dm emc_clariion0_80 emc_clariion0_80 - 314496064 -   -        -       -
dm emc_clariion1_52 emc_clariion1_52 - 419348128 -   NOHOTUSE -       -
dm emc_clariion1_54 emc_clariion1_54 - 838767040 -   NOHOTUSE -       -
dm emc_clariion1_55 emc_clariion1_55 - 838767040 -   NOHOTUSE -       -
dm emc_clariion1_79 emc_clariion1_79 - 314496064 -   -        -       -


http://www.symantec.com/business/support/index?page=content&id=TECH204069

No comments:

Post a Comment