.comment-link {margin-left:.6em;}
Name: Mugunth
Location: Bangalore, Karnataka, India

Monday, September 03, 2007

How to increase the VMWare (preallocated) disk space.

I have started using ubuntu 7.04 (Feisty Fawn) recently. But for some of our office work, I needed older version of ubuntu(6.06). And for that I used VMWare.

Initially I allocated 6GB space to ubuntu 6.06 virtual machine, which I found that is not sufficient for my work. So decided to increase it to 10GB. And after some search in google found a way to increase VMWare disks spaces. Following blog entry is to record the steps which I followed and it might be useful for others also.

I initially tried to increase ubuntu6.06 virtual machine disk size using the following commands:
$cd /var/lib/vmware/Virtual Machines/Ubuntu6.04
$vmware-vdiskmanager -x 10Gb Ubuntu6.04.vmdk

It gave the following errors:
Using log file /tmp/vmware-msubramanian/vdiskmanager.log
This disk is part of a snapshot chain in '/var/lib/vmware/Virtual Machines/Ubuntu6.04/Ubuntu6.04.vmx'.
The selected operation can only be executed on a disk with no snapshots.

I found I have snapshots of ubuntu6.06 vmware disk.

Used the following method to remove the snapshots:
In the VMWare menu, used the Remove Snapshot option,
VM --> Remove Snapshot .. ( This is done while the Virtual machine is switched off)

Again tried using vmware-vdiskmanager it worked.

$vmware-vdiskmanager -x 10Gb Ubuntu6.04.vmdk
Using log file /tmp/vmware-msubramanian/vdiskmanager.log
Grow: 100% done.
The old geometry C/H/S of the disk is: 783/255/63
The new geometry C/H/S of the disk is: 1305/255/63
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party
utility in the virtual machine to expand the size of the
partitions. For more information, see:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647
$

Labels: , ,

3 Comments:

Blogger Rams said...

Why not just create an additional virtual disk, and format it ? I did just a couple of weeks back.

7:50 PM  
Anonymous Tarun Gupta said...

I read your blog and thought I could tell you about something else which would be useful for seeing maps and directions in India.

I am writing to tell you about MapmyIndia.com, a free interactive maps and directions portal for all India. See the map of connaught place, new delhi, get directions in mumbai from nariman point to juhu airport, and find nearby ATMs in kormangala, bangalore.

As a company and individual enthusiasts, we dream only of solving the problem of reliable directions and navigation for India. For your blog specifically, you can map enable it by using our youtube-style embeddable maps, and links to specific searches (of maps, directions, local and eLocation) on MapmyIndia.

Do give us feedback, suggestions, or get involved yourself by mailing me back at tarun@mapmyindia.com or marketing@mapmyindia.com.

And if you find the different services useful, we would be grateful to you for writing and telling your readers about us.

Warm Regards,
Tarun Gupta
The MapmyIndia Team
For directions in India, just search print and go with MapmyIndia.com

3:01 PM  
Blogger Tamil Payapulla said...

For modest opinions,check my blog
www.tamilpayapulla.blogspot.com

1:35 AM  

Post a Comment

Links to this post:

Create a Link

<< Home