I'm creating a script to list all hdisks for each LPAR.
I run the command:
lsmap -all -field svsa clientid backing -fmt ","
This gives me the info I need to work on but I'd like to use the hex clientid value e.g. 0x00000001, to determine the name of the client LPAR.
What's really annoying is that lsmap -npiv DOES provide the client LPAR name but there isn't a field for this when it's vscsi.
Any suggestion on how I can get a list of client LPARs in VIOS?