Comentários (5)

1 PetePDX comentou às Link permanente

What did HDS have to say ?


2 talor comentou às Link permanente

Hi Pete,

I actually didn't log a call on this one as the fix was pretty easy (once I realized that re-installing HDLM would make it work) I installed HDLM into a "gold" mksysb image I was using and when I mapped disk I had to re-install HDLM to be able to create volume groups.
I did have a similar issue on another site some time later, where after installing HDLM the AIX hdisk devices wouldn't show up as available, we got the message "0514-040 Error initializing a device into the kernel." and we logged a call with IBM and HDS on that one to get it resolved.
Turns out that there is an issue with HDLM and NPIV on AIX, and you have to run the below commands to get it working. If you come across issues with installing or updating HDLM and you are using NPIV, I would suggest running the below:
# /usr/DynamicLinkManager/bin/dlmodmset -v on (Enable NPIV Connectivity)
# /usr/DynamicLinkManager/bin/dlmodmset -o (check it's enabled)
Lun Reset : off
Online(E) IO Block : off
NPIV Option : on
KAPL10800-I The dlmodmset utility completed normally.
# cfgmgr (re-scan for our disks).
Have you run into similar issues?

3 VRyzhkov comentou às Link permanente

Just stumbled upon this article...
If you deploy AIX from mksysb with HDLM "build-in", then you need to run /usr/DynamicLinkManager/bin/dlmpostrestore before trying to create or varyon volume groups. Otherwise you will get that message "...major number was already used...".
The utility is packaged with HDLM itself.

4 PrabhanjanG comentou às Link permanente

A simple reboot worked for me when I was hitting this issue.

5 Abderahman comentou às Link permanente

Hi every one,

I have resolved this problem by :
0516-021 /usr/sbin/varyonvg: The varyonvg failed because the volume group's
major number was already used by another device.
0516-862 mkvg: Unable to create volume group.
# lvlstmajor
# lvgenmajor dummy<number returned="returned" by="by" precedent="precedent" command="command">
# lvlstmajor
# lvlstmajor
# lvgenmajor dummy42
# lvlstmajor
and on here, the command alt_disk_copy, mkvg run successfully.</number>