AIX Undocumented AIX command lquerypv

Undocumented AIX command lquerypv

lquerypv can read the PVID directly from the disk:

# lquerypv -h /dev/hdisk0 80 10
00000080   00C4489D 5E6002A5 00000000 00000000  |..H.^`..........|

# lspv
hdisk0          00c4489d5e6002a5                    rootvg          active    

And also the VGDA:

 lqueryvg -Atvp hdisk0 
Max LVs:        256
PP Size:        27
Free PPs:       766
LV count:       12
PV count:       2
Total VGDAs:    3
Conc Allowed:   0
MAX PPs per PV: 1016
MAX PVs:        32
Quorum (disk):  0
Quorum (dd):    0
Auto Varyon ?:  1
Conc Autovaryon 0
Varied on Conc: 0
Logical:        00c4489d00004c00000001354404cb5c.2   hd6 1  
                00c4489d00004c00000001354404cb5c.3   hd5 1  
                00c4489d00004c00000001354404cb5c.4   hd8 1  
                00c4489d00004c00000001354404cb5c.5   hd3 1  
                00c4489d00004c00000001354404cb5c.6   hd1 1  
                00c4489d00004c00000001354404cb5c.7   hd11admin 1  
                00c4489d00004c00000001354404cb5c.8   livedump 1  
                00c4489d00004c00000001354404cb5c.13  fslv00 1  
                00c4489d00004c00000001354404cb5c.14  hd4 1  
                00c4489d00004c00000001354404cb5c.15  hd2 1  
                00c4489d00004c00000001354404cb5c.16  hd9var 1  
                00c4489d00004c00000001354404cb5c.17  hd10opt 1  
Physical:       00c4489d5e6002a5                1   0  
                00cf405e3e792147                2   0  
VGid:           00c4489d00004c00000001354404cb5c
Total PPs:      1092
LTG size:       128
HOT SPARE:      0
AUTO SYNC:      0
VG PERMISSION:  0
SNAPSHOT VG:    0
IS_PRIMARY VG:  0
PSNFSTPP:       4352
VARYON MODE:    0
VG Type:        0
Max PPs:        32512
Mirror Pool Str n
Sys Mgt Mode:   0
VG Reserved:    1
PV RESTRICTION: 0
Infinite Retry: 2

To find out which application crashed the OS use:

# /usr/sbin/lquerypv -h /path/to/core 6b0 64
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
How to start daemons at the system startup in AIX servers
Viewed 2403 times since Tue, Jun 18, 2019
AIX - How to shutdown or reboot
Viewed 5468 times since Fri, Jun 8, 2018
Checking HBA status on AIX
Viewed 18118 times since Fri, Oct 5, 2018
Burn Image to DVD in AIX
Viewed 13437 times since Thu, Sep 20, 2018
AIX QHA
Viewed 11054 times since Mon, Jun 3, 2019
AIX, Networking Etherchannel failover testing
Viewed 2571 times since Fri, Apr 19, 2019
AIX FC Performance improvements for IBM AIX FC and FCoE device driver stacks
Viewed 5715 times since Fri, Jan 31, 2020
Recovery from LED 552, 554, or 556 in AIX
Viewed 2569 times since Tue, Apr 16, 2019
AIX snap - Prevent dump collection
Viewed 12253 times since Mon, Sep 17, 2018
AIX www web Links
Viewed 3282 times since Fri, Apr 19, 2019