Solved

Expanded Disk extra space not available

Posted on 2011-09-21
10
293 Views
Last Modified: 2012-05-12
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
Comment
Question by:hpeet
  • 4
  • 4
  • 2
10 Comments
 
LVL 118
ID: 36575141
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
 
LVL 87

Expert Comment

by:rindi
ID: 36575232
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
 
LVL 118
ID: 36575267
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
 

Author Comment

by:hpeet
ID: 36575331
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
 
LVL 118
ID: 36575376
Shrink it beyond the original size.

So Shrink by 160GB.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 87

Assisted Solution

by:rindi
rindi earned 250 total points
ID: 36575409
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
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 36575435
I would shrink by 160GB. (please make sure you have a valid Backup before modifying your partitions).
0
 

Accepted Solution

by:
hpeet earned 0 total points
ID: 36710471
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
 

Author Closing Comment

by:hpeet
ID: 36898909
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
 

Author Comment

by:hpeet
ID: 36710503
Sorry I was trying to split the points for the answers.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

747 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

13 Experts available now in Live!

Get 1:1 Help Now