Resizing VMware virtual disk

0 pts.
Tags:
Virtual Disk
Virtual OS
VMware
Hi There, I have a laptop with VMware that I use for product demos, testing stuff & evaluating software. I have several virtual OS all working fine. But in one of them, a WinXP SP2, I am running out of virtual disk space on the boot partition. I am trying to resize this partition but I have read somewhere that it may not be possible to run fdisk or diskpart directly on the guest OS... I could just create a brand new Guest OS with a larger partition and move/ghost the stuff over, but I would prefer to keep this one, as it is all nicely setup for the demos & tests, rather than starting from scratch. I am sure you experts will be able to help. Some details: - VMware Workstation v4.5.2 - Host OS: Windows XP Pro 5.1.2600, SP2, all patched. - Guest OS: Windows XP Pro SP2 and mostly up-to-date - Guest Partitions (virtual disks, i.e. NOT "physical disks"): C: NTFS 3.0 Gb and E: NTFS 1.5 Gb Thanks in advance, Hedgehog
ASKED: December 1, 2005  3:11 PM
UPDATED: October 21, 2011  3:14 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

First Method -
5.1 Make sure there is no snapshot attached to virtual disk which you are going to extend.
5.2 Shutdown the VM
5.3 Add a new vmdk file to existing VM with new size.
5.4 Boot the VM into WINPE and then run ghost32.exe
5.5 Select backup and restore to load ghost.
5.6 Chose disk to disk imaging, select small disk as source and large disk as destination.
5.7 Shutdown VM once imaging done.
5.8 Make a note of SCSI BUS:ID for both the virtual disks.
5.9 Remove both the vmdk file.
5.10 Add large disk with same SCSI BUS:ID
5.11 Power up VM, confirm disk size increased.
5.12 Confirm it all work correctly and delete the old disk.

Second Method
5.13 Make sure there is no snapshot attached to virtual disk which you are going to extend.
5.14 Power off the VM
5.15 Run “vmkfstools -X new_sizevmfs_name:disk_name”
5.16 For example – vmkfstools -X 8192m sanVOL3:data.vmdk
5.17 Power on the VM
5.18 Use <a href=”http://www.extend-partition.com/partition-magic-free.html”>partition magic free</a> to extend the volume from OS.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Packman
    I am not that familiar with VMware idiosyncrasies. However we us Acronis Disk Director. It is an awsome app. that we have even used on server hardware RAIDS with no problems to resize partitions in place. Good Luck!
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following