Resize a VMWare disk

21 January 2009 at 5:47 PM

To resize a VMWare disk there is an easy way: VMWare vCenter Converter. Unfortunately a linux version is not available. Additionally, this process seems to be very slow and at the end VMWare Tools needs to be re-installed.

So here a manual procedure:

  • turn off the virtual machine
  • remove all snapshots (or revert to one)
  • run

    vmware-vdiskmanager -x {size} {disk}

    where
    {size} is the new size of the disk (for example 8GB) and
    {disk} is the full path of the file .vmdk.


This procedure only expands the disk and not the partition. If the virtual disk is partitioned, you will need to use a third-party utility to resize the expanded partitions (Partition Magic, GParted Live CD, Paragon Partition Manager). If you are using the Windows DiskPart utility, it can only extend data volumes; if you use the DiskPart utility to extend a system or boot volume, you may get an error.

Post to Twitter Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post

Entry Filed under: vmware

1 Comment Add your own

  • 1. nerthase  |  24 February 2010 at 2:44 PM

    Ciao, ho provato a seguire questo tuo consiglio, ma non ci sono riuscito…

    In compenso, ho trovato una strada alternativa per aumentare lo spazio dell’Hard Disk dedicato a Windows in VMware Fusion.

    Ho pensato di mette la mia soluzione a disposizione di tutti qui: http://www.nerthase.com/blog/?p=194

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed