Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

Expanded Disk extra space not available

I am running a SBS 2008 Server as a Virtual Server using VMWare ESXi 4.

The server is configured with 2 Disks C: and D: drives. D: originally 150GB

I expanded the 2nd disk (D:) in vmware to 250GB and then went to the server 2008 SBS and in Disk Management it saw the additional space. I selected expand and it allocated the extra space to the D: Drive.

Diskmanager shows the disk as being 250GB, however when I go to My Computer on the Server it still lists the D: disk as being 150GB.

What do I need to do get the additional 100GB of disk space?

Harold
0
hpeet
Asked:
hpeet
  • 4
  • 4
  • 2
3 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Before making any changes to the partition structure of the disk, ensure you have a full backup, not a snapshot.

1. Resize partition with Gparted Live CDROM

i. Download Gparted Live CDROM (http://gparted.sourceforge.net/livecd.php).

ii. Upload the cdrom iso to the vSphere ESX/ESXi datastore.

iii. Mount the cdrom or iso on the virtual machine.

iv. Shutdown and restart the virtual machine booting from the cdrom.


v. Select Resize partition.

Here is a Tutorial Walkthorugh of how to resize a partition with a GParted Live CDROM

http://gparted.sourceforge.net/larry/resize/resizing.htm

http://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/


2. Using DISKPART.exe

(the system disk cannot be re-sized within the virtual machine, but other disks can be resized, eg. D: E: etc

i. Shutdown the virtual machine.
ii. Remove disks from virtual machine (but do not delete them).
iii. Add the disks to another virtual machine.
iv. Start up virtual machine.
v. Use Diskpart in the OS to extend disks.

see here for details on Diskpart usage

http://support.microsoft.com/kb/325590

3.Use VMware Converter Standalone to complete a V2V (virtual to virtual conversion).
there is an option to increase or decrease the size of target disks on the desintation at conversion.

Download VMware vCenter Converter here

http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcenter_converter_standalone/4_0

VMware vCenter Converter Standalone 4.x Documentation

http://www.vmware.com/support/pubs/converter_pubs.html

VMware vCenter Converter Standalone 4.3 User Guide

http://www.vmware.com/pdf/convsa_43_guide.pdf

For the conversion steps, read fellow Expert Bestway's article.

http://www.experts-exchange.com/Software/VMWare/A_3639-VMware-vConverter-P2V-for-Windows-Servers.html

Best Practice Video Guide here

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004588

Also the VMware KB here

http://kb.vmware.com/kb/1004071
0
 
rindiCommented:
I've seen similar problems (it doesn't have anything to do with VMware, it's a windows issue), when you resize a partition using windows builtin diskmanagement. Normally this works, but if you expand to the complete disk you get this problem. Windows normally reserves ca 8MB of an HD so you can convert it to dynamic (which is never needed anyway). If you leave that space open the resize normally works without issues. Usually can correct this by using diskmanagement to reduce the size again, reboot, and then increase the size, but don't use the full available space, leave at least 8mb unpartitioned space free. You should then have the correct size available.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
In re-reading youe question, you may have to re-size in Gparted, shrink in GpartEd, and then complete a Re-size again.

the partition tables has not been updated correctly.

(backup the VM now)
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
hpeetAuthor Commented:
Thanks for the comments.

Rindi, If I try to do the shrink how much do I need to shrink it, does it have to be back to the exact original size?

0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Shrink it beyond the original size.

So Shrink by 160GB.
0
 
rindiCommented:
It doesn't really matter, and no you don't have to shrink to the original size. Also gparted which hanccocka mentioned will normally work without issues (I usually use the PartedMagic LiveCD which includes GPartted plus other good tools and is shareware and free):

http://partedmagic.com

0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I would shrink by 160GB. (please make sure you have a valid Backup before modifying your partitions).
0
 
hpeetAuthor Commented:
I want to try this process on a weekend when the production server can be offline for a bit, I was away this past weekend so unable to try.
0
 
hpeetAuthor Commented:
I am assigning the points but have not completed the process so I can not say yet if it worked or not.

Thanks for the advice
0
 
hpeetAuthor Commented:
Sorry I was trying to split the points for the answers.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now