Solved

Expanded Disk extra space not available

Posted on 2011-09-21
10
294 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 88

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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 88

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft  Partnership 1 70
Get host nic mac address 19 59
Could you bit more specific in describtion 2 32
VVmware Horizon View and HA on connection servers 2 13
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
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…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

863 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

22 Experts available now in Live!

Get 1:1 Help Now