Nutanix AHV basics – How to find VM disk

Nutanix Acropolis hypervisor (aka AHV) is a next generation hypervisor. AHV is Linux KVM based, highly customized hypervisor where all the storage “work” is handled by Nutanix Controller VM (Aka CVM). As of today, Nutanix supports four storage protocols SMB3 (for Microsoft hyper-v), NFS (for VMware ESXi), iSCSI (for Acropolis Block Services) and SMB2.1 (for Acropolis File Services).

When you create VM on Nutanix AHV, you specify container on where VM disks will be placed. Once VM is created, you cannot see, from Prism, where VM’s disks are placed. All you can see is, disk size, container name and BUS. Why would you need to see more? But if you really, really wanna know. For example,  VM has to be exported out of Acropolis cluster,  there is quick way of find out.

NOTE: If you are looking for information how to export VM from Nutanix Acropolis, see my blog post Export VM from Nutanix AHV

Get onto Putty, log in to CVM and get into acli (Acropolis command line)

List all VMs first – vm.list

Run command

As you can see, from the command output you can read much more, not just VM disk location in storage system. IDE0 is a OS disk, IDE1  is a CDROM – see cdrom: True parameter in VM config.

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).

  • ANKIT KUMAR SINGH

    Hi Artur,

    Can we Download AHV image locally ??

    • Hey, what you mean by locally, on CVM file system, such as /tmp ?

      • ANKIT KUMAR SINGH

        @locally- on local machine.
        Download images on local machine ,is it possible ??

        • define what is local machine? machine you are executing commands from?

          • ANKIT KUMAR SINGH

            Correct

          • Go it, so yes, it is possible but you have to be very careful. As CVM is the most sensitive part of the Nutanix cluster and if you fill up CVM filessytem (which is very easy when you have to download mid size disk. My preference, use external storage to download VM disk image.

          • ANKIT KUMAR SINGH

            Thanks you,Able to download images to external hard disk…

          • Ernest Rogo

            And how would you go about moving vdisks between containers i.e storage vmotion

          • As of today there is not easy way to move vdisk between containers. You can try to export vdisk into Image Services or export to file and deploy new disk from it.