Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links


Expanding the Boot Volume of a Windows Server 2008 Virtual Machine

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 27-09-2010
Member
 
Join Date: Jun 2009
Posts: 1,518
Expanding the Boot Volume of a Windows Server 2008 Virtual Machine

Sponsored Links
I have a server running Windows Server 2008 on it. The drive on which it was installed is almost full. So I would like to increase/expand its size now. However, according to the discussions with some of my friends, I came to know that it involves downtime which I don't want. Is there any other option to this, if possible then virtual machine or something similar?

Reply With Quote
  #2  
Old 27-09-2010
Member
 
Join Date: Mar 2009
Posts: 1,231
Re: Expanding the Boot Volume of a Windows Server 2008 Virtual Machine

1: Turn off the system which is having the boot volume.
2: Make sure you have a backup copy of your virtual disk, optional.
3: Go into the service console and increase the size of the .dsk or .vmdk virtual disk file.

Code:
[root@esx-mydisk local]# ls -lah mydisk.vmdk
-rw-------    1 root     root         current_size_of_the_disk mydisk.vmdk
Extend the virtual disk with vmkfstools. The -X switch denotes the size of the file that you want the disk file to be.

Code:
[root@esx-mydisk local]# vmkfstools -X new_size_of_the_disk mydisk.vmdk
View the new size of mydisk.vmdk

Code:
[root@esx-mydisk local]# ls -lah mydisk.vmdk
-rw-------    1 root     root          new_size_of_the_disk mydisk.vmdk
4: Take a new Virtual Machine with Windows Server 2008 already installed in it. Turn it off and add the disk from the first system to it through the mui. Turn on the second Virtual Machine and make sure the imported disk has unallocated space on it.

Now go to Start - Run and type "diskpart.exe" (also refer Learn how to master the DISKPART command) to enter the command line utility. It will display all the available volumes. Select your volume which you want to extend and then use "extend" command. Make sure you see the changes under the Disk Management snap in.

5: Turn off the second Virtual Machine and take the disk out of the second Virtual Machine. Turn on the first Virtual Machine and see if you can notice the changes in your drive volume.
Reply With Quote
  #3  
Old 27-09-2010
Member
 
Join Date: Nov 2008
Posts: 1,071
Re: Expanding the Boot Volume of a Windows Server 2008 Virtual Machine

Shut down the Virtual Machine. To expand the VMDK, log into the server via ssh (or Putty), find the .vmdk file that you want to expand and use vmkfstools to expand it using "vmkfstools -X new_size vmname.vmdk" command. Now you need to resize the boot partition. For this you can use third party tool such as GPart. Download and save it in a cd, and then boot from it. Finally use this tool to expand the existing partition. Once done, remove the CD and reboot the machine.
Reply With Quote
  #4  
Old 27-09-2010
BiGMaCHiNe's Avatar
Member
 
Join Date: May 2008
Posts: 1,310
Re: Expanding the Boot Volume of a Windows Server 2008 Virtual Machine

Go to Start and look for Server Manager. Expand Storage and click on Disk Management. Now right click on Disk Management in the left pane and click Refresh. Now you should find the newly added unallocated space on the disk. Now right click on the c: volume on the right pane, and choose Extend Volume. Click Next. The wizard will select all available space in the Selected column which you can change if you want. Once done click Next. Click Finish.
__________________
Broadband Unlimited Plans
Reply With Quote
  #5  
Old 24-03-2011
CTS CTS is offline
Member
 
Join Date: Mar 2011
Posts: 1
Re: Expanding the Boot Volume of a Windows Server 2008 Virtual Machine

So followed the instructions for using the GUI method and it seems to have worked just fine but I now have a disparity between the available space shown on the Disk Management console and the Explorer window:

Disk Management console reads "Disk 0, Basic, 100.0GB, Online, C:. NFTS, Healthy, System, Boot, Page File, Active, Crash Dump, Primary Partition"
Cool.

When I open (and refresh) "My Computer" and then right-click, properties on C: it tells me that I've got 49.9GB available.

Tried rebooting the VM as well as rebooting the hypervisor: same results.

Help!
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Expanding the Boot Volume of a Windows Server 2008 Virtual Machine"
Thread Thread Starter Forum Replies Last Post
Intel pro 3945ABG Network card not working in Virtual Machine running on Windows Server 2003 hosted on Windows 7 Kaalia Networking & Security 5 31-12-2011 01:29 PM
Windows Server 2008 R2 maximum NTFS volume size FFCookie Operating Systems 5 22-08-2010 12:30 AM
Problems while doing volume mount points in Windows Server 2008? Gadin Windows Software 3 10-08-2010 04:48 PM
How to install Virtual Server on Windows SBS server 2008 Anikait Networking & Security 3 05-06-2009 12:52 PM
migrate Hyper-V virtual machine to virtual server/virtual PC 2007 Larry Scott Windows Server Help 1 18-03-2008 03:32 AM


All times are GMT +5.5. The time now is 12:13 PM.