Solved

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

Posted on 2013-11-08
5
606 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Running Baan iV on VMware 3 76
Recurring Excel Timelime for Veeam 2 37
Extraction Tool 2 39
Recover password from HP 4300 SAN 2 18
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

10 Experts available now in Live!

Get 1:1 Help Now