Solved

ESXi 5.1 Need to relocate a hard disk from one local DS to another

Posted on 2013-11-08
5
607 Views
Last Modified: 2013-11-09
I have a server with a C and D drive.  Both disks are on datastore 1.  I need to move the D drive to datastore 2.  Is it as simple as:

Shut down server
Edit server settings and remove hard disk 2 (D drive)
copy the associated .vmdk file to datastore 2 ( I will make a server folder name that matches the one on DS1)
Readd hard disk 2 to the server but pointing it to the vmdk on datastore 2
Start the VM

Thanks!
0
Comment
Question by:GDavis193
  • 2
  • 2
5 Comments
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 39635005
Yes, it is as simple as that. But some VMware Administrators, make a mistake, so I would recommend you make a Backup of the VM before you start.

or at the very least the *.vmx file.

when removing the disk, make sure you select delete from virtual machine, not from disk! and then browse and add it back after the move.

this article I wrote shows how to copy

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

if you want to move or copy, it's fastest if you do it on the console or remotely via SSH, e.g. on the server, otherwise the vmdk is copied to the workstation via vSphere Client, and then back again to server! (slow...)

Also check for Snapshots, and if you have any, DO NOT move the disk! Sort out the snapshot issue first.

see my EE Article

HOW TO: VMware Snapshots :- Be Patient
0
 
LVL 3

Expert Comment

by:Aravind Sivaraman
ID: 39635286
If you are license for Storage vMotion, then you migrate the VM and in the datastore select advanced and and change the datastore only for disk 2 to the new one
0
 

Author Comment

by:GDavis193
ID: 39635361
I don't believe they have the license for vmotion.
0
 
LVL 118
ID: 39635813
No license for Storage vMotion, then a manual move is acceptable.
0
 

Author Closing Comment

by:GDavis193
ID: 39636545
Yep it works as stated - thanks!
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now