AIX VG hdisk Issue

Posted on 2012-08-15
Last Modified: 2012-08-30
I have a VG with with 6 disks in it and look like 2 disks are having issues from past 1 weeks, The disk# are hdisk19 and hdisk20, When I run a LSVG then here is the output

# lsvg -p corpstg
hdisk19           active            541         0           00..00..00..00..00
hdisk20            active            541         104         05..00..00..00..99
hdisk34           active            67          19          14..00..00..00..05

These volumes are not accessible

$ lqueryvg -Ptp /dev/hdisk19
0516-062 lqueryvg: Unable to read or write logical volume manager
        record. PV may be permanently corrupted. Run diagnostics
$ lqueryvg -Ptp /dev/hdisk20
0516-062 lqueryvg: Unable to read or write logical volume manager
        record. PV may be permanently corrupted. Run diagnostics

Now We add 2 more disks to our VIO client and looks like the 2 new disks have hdisk19 and hdisk20, So what must have happened to the old disks..???
Question by:mnis2008

    Author Comment

    SO did AIX drop hdisk19 and hdisk20 from ODM due to disk issues from a long time and when the new disks came in it gave hdisk19 and hdisk20
    LVL 68

    Accepted Solution

    I think I don't understand quite well ...

    You say that you have a VG with 6 disks, but lsvg -p shows just 3.

    What do you see with "lspv"?

    AIX never removes devices permanently from ODM. It will give them "Defined" status in case of serious trouble, that's all.
    The only way to get rid of obsolete devices is "rmdev -d ...".

    What do you see with "lsdev -Ccdisk"?

    Did  you add the new disks to any/this VG already?

    If you didn't, what do you get with "varyonvg corpstg"?

    Generally, what does "errpt" say?

    Please describe chronologically what you did and which output of which command you saw at which point in time inbetween.

    Author Comment

    Looks like storage has accidentally drop these disks and that is why we were not able to access

    Author Closing Comment

    With the above checks I was able to find the root cause

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
    FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now