Thursday 26 September 2013

Extend Data Volume on a Windows Virtual Machine (VMware ESXi)


I had an issue recently with my disk space, I was running out of space so I need to add more space to the virtual Disk, 

But i was thinking if i add another new virtual disk and meagre that with the existing one i may need to shut down the server once. 

But luckily i had fee provisioned space so, I just increased the virtual disk space and then followed the steps given below,

Its worked well, but I couldn’t add the space without shutting down the server in this method.  
1.
Add Additional Space to the Virtual Hard Drive
- Once connected, select your Virtual Machine from the Hosts & Clusters or VMs & Templates view.
- Click "Edit Settings"
- Select your Virtual Disk, and increase the Provisioned Space.
- Click OK
- Using the vSphere Client, connect to vCenter server or your host. 
2.
Extend the Volume
- Open a Command Prompt
- Use the following commands from the Microsoft KB 325590
DISKPART>list volume
(You'll see the volumes - note the vol number you want to expand)
(Or whatever volume number you're expanding)
(will extend to full amount of space available)
- Access your Server (either Open Console from the vSphere Client or RDP) 
c:\diskpart.exe 
DISKPART>select volume 1 
DISKPART>extend 
DISKPART>exit




No comments:

Http vs Https