Displaying UDID/UUID Information
AIX / Linux on POWER / Article / Community / AIXchange blog
Rob McNelly offers additional insight with this post about displaying UDID/UUID information.

By Rob McNelly
12/01/2020... I just discovered an interesting (but not new) option for lspv command: -u ! (available for AIX 6.1 TL07 and AIX 7.1 TL01), which displays the UDID and UUID of the physical device directly without scripting headaches:
[The -u tag lists] all the physical volumes in the system along with the following information:
- Physical disk name.
- Physical volume identifiers (PVIDs).
- The volume group (if any) or label (if any) that the physical volume belongs to and that is locked with the lkdev command.
- The state of the volume group.
- Active: When the volume group is varied on.
- Concurrent: When the volume group is varied on in the concurrent mode.
- Locked: When the physical volume is locked with the lkdev command.
- Unique device identifier (UDID).
- Universally Unique Identifier (UUID).
root@lpar:/root# lspv -u
hdisk0 00f68936d157faf1 rootvg active
1D06670CF209SYMMETRIX03EMCfcp
302abcdf-d558-58fe-a102-7c3eb11460c9
hdisk1 00f68917df5f3909 datavg active
1D06670CF309SYMMETRIX03EMCfcp
c8ddd1f3-557d-689a-5e46-5bc8c037d7ca
hdisk2 00f68916dh5fabf0 app2vg active
1D06670CF409SYMMETRIX03EMCfcp
ed4a46c6-0c2f-2230-0967-5207df205184
Small reminder:
- The Unique device identifier (UDID) is the unique_id attribute from the ODM CuAt ObjectClass.
- The UDID is present for PowerPath, AIX MPIO, and some other devices.
- The Universally Unique Identifier (UUID) is present for AIX MPIO device.
AIX / Linux on POWER / Article / Community / Application development / Power Systems / AIXchange blog
Rob McNelly is a senior AIX solutions architect doing pre-sales and post-sales support for IBM Premier Business Partner Meridian IT Inc.