VMware
7 Replies Last post: Nov 29, 2005 12:53 AM by devzero  

VMDK compressor posted: Nov 23, 2005 10:04 AM

Click to view Samcer's profile Expert 523 posts since
Aug 25, 2004
I'm thinking about my notebook and my HD Space. Looking to the VMs folder I have 20 GB of VM. I'd like to have some compression tools inside the VM GUI to compress un-needed VM. Of course the compressed vmdk could not be used till but I could save some space without using a 3rd party tool.
Any comment?
Sam

Re: VMDK compressor

1. Nov 24, 2005 4:21 PM in response to: Samcer
Click to view devzero's profile Master 2,749 posts since
Dec 27, 2004
if you are on windows - what about downloading and installing lzop (e.g. putting to c:\windows) and adding something like this to the registry:

type lzop-context-menu-handler.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell]

[HKEY_CLASSES_ROOT\*\shell\compress with lzop]

[HKEY_CLASSES_ROOT\*\shell\compress with lzop\command]
@="\"lzop.exe\" \"-U\" \"-v\" \"%1\""

[HKEY_CLASSES_ROOT\*\shell\uncompress with lzop]

[HKEY_CLASSES_ROOT\*\shell\uncompress with lzop\command]
@="\"lzop.exe\" \"-d\" \"-v\" \"%1\""

so you just can compress/uncompress your big vmdk files just via a single mouseclick - doing it the "lzop way" is much faster than everything around.

roland

ps:
i don`t know for the moment it the lzop.exe binary from www.lzop.org is large file (>2gb) aware - but afaik there are large file aware lzop versions around.

Re: VMDK compressor

2. Nov 28, 2005 3:21 AM in response to: Samcer
Click to view evanr's profile Novice 9 posts since
Sep 19, 2005
Have a look at VM Optimizer - http://www.invirtus.com/

Re: VMDK compressor

3. Nov 28, 2005 4:52 PM in response to: Samcer
Click to view keithmo's profile Novice 31 posts since
Oct 25, 2003
If you're using NTFS, you can an enable compression on the individual .VMDK files (or on the containing folder).

N.B. This will almost certainly have a rather dramatic (negative) impact on VM performance.

Re: VMDK compressor

4. Nov 28, 2005 4:58 PM in response to: evanr
Click to view boydd's profile Champion 5,707 posts since
Jun 15, 2004
evanr - thanks for the link. I'll have to check it out. :-)

DB

Re: VMDK compressor

7. Nov 29, 2005 12:53 AM in response to: keithmo
Click to view devzero's profile Master 2,749 posts since
Dec 27, 2004
If you're using NTFS, you can an enable compression on the individual .VMDK
files (or on the containing folder).

to avoid fragmentation , it`s best to make a new folder, activate compression for that and copy the entire vm into that folder.

to "ntfs-compress" an existing large file will make look it like this on harddisk:

[c]=compressed block
[f]=free block

[c][f][c][f][c][f][c][f][c][f][c][f][c][f].......

regards
roland

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities