Topic
  • No replies
robinsguk
robinsguk
30 Posts

Pinned topic Get client LPAR name from client id on VIOS

‏2014-06-12T09:27:17Z |

Hello,

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?

 

Thanks

 

Glenn