Displaying UDID/UUID Information
Rob McNelly offers additional insight with this post about displaying UDID/UUID information.
By Rob McNelly12/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
hdisk1 00f68917df5f3909 datavg active
hdisk2 00f68916dh5fabf0 app2vg active
- 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.
Rob McNelly is a senior AIX solutions architect doing pre-sales and post-sales support for IBM Premier Business Partner Meridian IT Inc.