Get all VM's of storage container in cvm with acli

  • 29 April 2021
  • 0 replies


We are running about 100 vm’s in our cluster - so find out a specific information manually for each vm is pretty hard.

I want to get the information which vm’s are stored in a specific storage container with acli on cvm.

I know that i could perform acli vm.get <vm-name>  and look for the source_nfs_path of the vmdisks but it is way too much effort for 100 vm’s. 

Another way would be establishing a connection via SSH to /storage-container/.acropolis/vmdisk of of the cvm but i only see the vmdisk-uuids there, not the vm names i need.

Is there any possibility, maybe with a for loop on each vm and a grep filter?

0 replies

Be the first to reply!