Solved

I need help expanding boot drive

Posted on 2011-09-23
9
1,074 Views
Last Modified: 2012-05-12
I am running VMWare and my one of my VM's C drives is running low on space (Win2003r2). The VM has 2 partitions on Disk0 (C: and D:).
- 1st drive, Disk0, 35gb: 1 vmdk file, 2 partitions (15gb each)), 5gb unallocated space and I need to expand the C drive
- 2nd Drive, Disk1, 80gb: nothing needs to be done.
 Screen shotI need to expand the C: drive with the unallocated space.  I have used Dell's ExtPart untility in the past on C: drives and it works wonders, but when I try and expand this drive is states
"Unable to expand partition. Check if there is sufficient space on the disk"
My guess is that because of the D: drive, it is not alloying my to expand.
 Screen shot of ExtPartDoes anyone have any ideas on how I can expand my C: drive?  I can take down the machine to a short time to fix.
0
Comment
Question by:dsheridan
  • 4
  • 3
  • 2
9 Comments
 
LVL 40

Expert Comment

by:coolsport00
Comment Utility
Easiest probably to just do a V2V of your VM and expand the drives in the Converter wizard:
http://downloads.vmware.com/d/info/infrastructure_operations_management/vmware_vcenter_converter_standalone/5_0

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

Converter KB/best practices:
http://kb.vmware.com/kb/1004588
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 200 total points
Comment Utility


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 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 200 total points
Comment Utility
Use - Resize partition with Gparted Live CDROM

Quick and Easy, just make sure you have a BACKUP (not a snaphost before you proceed, and remove ALL snapshots if any)
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 200 total points
Comment Utility
and you do it as follows:-

1. first thing you need to do is MOVE the D: partition DOWN the drive. APPLY.
2. and then in the free space after the C: drive
3. Grow the Partition into the Empty Space. APPLY.
4. Done.
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.

 

Author Comment

by:dsheridan
Comment Utility
UUGGHH.. I cannot get this VM to boot the ISO Image.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 50 total points
Comment Utility
Go into the VM settings -> Options tab, Boot option. Check the box to boot to BIOS upon restart. Set the Boot Options/Order in the VM BIOS for the CD Drive to be 1st in the list.
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 200 total points
Comment Utility
Press Escape when the VM Boots, and and Select CDROM as the Boot Device, if you miss it, hit CTRL-ALT-INS, and Press Escape Next time.
0
 

Author Comment

by:dsheridan
Comment Utility
Great, I got it to boot with changing the boot options (thanks coolsport00). thanks hanccocka for the information about getting the menu to boot device.

I'm in the process of backup the server so I can make changes to the drive.
0
 

Author Closing Comment

by:dsheridan
Comment Utility
Thank you both
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

772 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

10 Experts available now in Live!

Get 1:1 Help Now