Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Travel + Life + Tech Home Adventures in Entrepreneurship Travel Tech About Contact Me

Per aspera ad astra – Audentes fortuna adiuvat

How to Detach/Attach Nutanix AHV


Disks
This is the work ow on how to migrate a Nutanix AHV disk from one VM to
another. A reason you may do this is because you have an old Server 2008
Sherif Alghali le server that you want to migrate to Server 2019. Nutanix handles this
January 26, 2021 di erently than VMware in that AHV does not allow you detach and
Nutanix, Tech reattach disks as you would in vSphere.
Nutanix, Storage, Virtual
Disks
The process to do this is outlined in both Nutanix KB 3577 and KB 8062. CONNECT WITH ME
Unfortunately, the way it is worded can be confusing to some without a lot
of Nutanix experience. This process requires you to open an SSH (using
Putty, Tera Term, etc.) session to one of the CVMs in the cluster.  

Step 1. Find the VM Disk File


Search … 
To nd the VM Disk le you will use the command below:

 acli vm.get <VM name> include_vmdisk_paths=1 | grep -E


'disk_list|vmdisk_nfs_path|vmdisk_size|vmdisk_uuid'

The output should look like the picture below.

Make note of the disk size and disk path. The disk size should correspond
with the data disk you would like to migrate to your new VM.

Step 2. Create an Image from the VM Disk

To create a disk image you must run the following command:


Sherif Alghali
Proud Houstonian. World Traveler. Nerd.

acli image.create <image name> source_url=<url of source VM disk> View Full Pro le →
container=<target container name> image_type=kDiskImage
FOLLOW ME ON TWITTER

Note: To get the source URL you will have to append nfs://127.0.0.1 to the
nfs path output from step 1. Tweets by @SherifRFL
Sherif Alghali
@SherifRFL

For example - Watch out for this one if you're


upgrading to ESXi 7.0 Update 2.
nfs://127.0.0.1/BronzeTier_StorageContainer01/.acropolis/vmdisk/be0
kb.vmware.com/s/article/83063
6372a-b8c5-4544-b451-12b608615248 

Mar 25, 2021


My Tweets
The output of the command should appear as shown below. Sherif Alghali
@SherifRFL
Nice! Two years in a row!

Step 3. Attach the disk to the new VM. Embed View on Twitter

Attaching the disk to the new VM can be done from Prism Element on the
same cluster.

SUBSCRIBE TO BLOG VIA EMAIL


1. Locate the VM from the VM menu in Prism and click update.

Enter your email address to subscribe to this


2. From the Update screen select +Add New Disk blog and receive noti cations of new posts by
email.

Email Address

SUBSCRIBE

RECENT POSTS

Traveling During the Pandemic: Mexico City


How to Resolve Horizon View vCenter
Connection Errors
How to Detach/Attach Nutanix AHV Disks
DaaS: Staying Connected, Anywhere,
Anytime
IT Security Policies: Your First Line of
Defense in Cybersecurity

RECENT COMMENTS

Bill Treneer on How to Resolve Horizon


View vCenter Connection Errors
Shine King on Managing Life as an
Ambitious Entrepreneur
jeremygregg (@jeremygregg) on The
Commissary
3. In the Add Disk menu, select ‘Clone from Image Service’ from the
Jeremy Gregg on The Truck
Operation drop down menu. Adelee on PeopleFund: PeopleSpark

4. In the Image menu, select the image you created in Step 2 and click Add.
Once this is completed you can log into your VM and initialize the disk in
the operating system.

Share this:

 LinkedIn  Twitter  Reddit  WhatsApp  Facebook  Tumblr  Print

Like this:

Loading...

Author: Sherif Alghali


Google View all posts by Sherif Alghali

Leave a Reply

Enter your comment here...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

PRE VIOUS

DaaS: Staying Connected, Anywhere, Anytime

NEXT

How to Resolve Horizon View vCenter Connection Errors


TAGS

#Entrepreneurship #In backups balance Bogota

bootstraping branding business business plan

cloud Colombia corporation corporations

DaaS dallas data protection ebay entity

entrepreneurship funding fundraising gratitude

Hybrid ice cream IT kiva logo

market research Mentors modern datacenter

paperwork Policies rangers ballpark

realtionships research rough draft SBDC Sherif Alghali


Proud Houstonian. World Traveler. Nerd.
Security selling South America startup
Personal Links
startups technology Travel truck VDI
My Blog

View Full Pro le →

ARCHIVES

Select Month OLD POSTS

February 2021 (1)
January 2021 (2)
October 2020 (1)
May 2020 (1)
September 2019 (1)
August 2019 (1)
March 2017 (1)
September 2013 (1)
June 2013 (2)
May 2013 (7)
April 2013 (10)

Travel + Life + Tech / Proudly powered by WordPress   

You might also like