I do a #lspv |grep rootvg and i got :
hdisk0 0006a81f3efcbe58 rootvg
hdisk1 0006a81fd9ff4014 rootvg
I want to verify for each server if the pvid is the same with use of the command lspv
Can you help to wrote a shell with the command awk for exemple .
Thank you
so you have the lspv command o/p of all server in a file??
I am not able to understand your query fully...
I want to migrate the virtual vscsi adapter to NPIV.
For that, i have to verify if the pvid of disk are the same in my lpar server.
I have to test if pvid of hdisk0 = pvid of hdisk1 in the same server with awk command.
thank you
as far as i know PVID is unique so i still don't understand why you wanna check it for two different hard disks..
Actually, i have two disk in my server.
hdisk0 et hdisk1
hdisk0 --> vscsi0 & vscsi1
hdisk1 --> fscsi0 & fscsi1
In fact, there is one disk but 4 paths.
I have to erase the hdisk0, vsci0 and vscsi1.
The zoning is realize in my baie SAN ECM for NPIV.
Also, i have to verify for each lpar if the disk have the same pvid before erase hdisk0
thanks for reply