If there is a partitioned lun in the setup (used for HPUX LVM), vxassist fails with the following error:
# vxassist -g dg05 make test 4096m
VxVM vxassist ERROR V-5-1-639 Failed to obtain locks:
disk_3: no such object in the configuration
# vxassist -g arch1dg maxsize
VxVM vxassist ERROR V-5-1-639 Failed to obtain locks:
disk_3: no such object in the configuration
This is a known issue, which could be reproduced as following:
1. Using idisk to create partitions for one disk (not under VxVM control)
2. Using "insf -e" to create the device files for all the partitions
3. Run vxdisk scandisks
4. Using vxassist to create volume will fail
Fix solutions:
1. Restart vxconfigd
# vxconfigd -k -m enable
2. After you run "idisk", "ioscan" and "insf" commands, please run
vxdisk rm
vxdctl cacheflush
vxdisk scandisks
to remove DA records under VxVM control.
3. Delete partitioned lun(s)
Applies To
VxVM 5.1SP1
HPUX 11.31