Lspv -free command on VIOS

Hi all,

We have observed that lspv -free command tooks 15 to 20 minutes to display the free disks and we have only 77 MPIO disks on VIO Server. Our VIOS version is 2.2.1.4 .

Please let us know what could be the reason that lspv -free command taking long time to display the output.

Thank

try to look, what the command really does:

$ export CLI_DEBUG=33
$ lspv -free

it might be some configuration issue

1 Like

Following output is generated upon running the above mentioned commands

Commands:

$ export CLI_DEBUG=33
$ lspv -free

Output:

AIX: "lsdev -C -c virtual_target -F name | wc -l"
AIX: "lsdev -C -c virtual_target -F name"
AIX: "export LANG=C;/usr/ios/cli/ioscli lspv  -field name pvid vg -fmt :"

You can also review ioscli.log in your home directory.

Robin

i know the output :wink: but you could look how long it takes to run every command, to find out, on which disks it stops or runs too long, and then analyze, what is wrong with the disks.