VMware ESXi 4 On-Disk Data Deduplication - possible and supported?

Posted by hurikhan77 on Server Fault See other posts from Server Fault or by hurikhan77
Published on 2010-05-18T16:48:08Z Indexed on 2010/05/18 16:51 UTC
Read the original article Hit count: 305

Filed under:
|
|
|
|

Environment:

We are running multiple web, database, and application servers which usually share a pretty common installation (gentoo linux) and similar configuration in VMware ESXi 4. The differences are usually only some installed features or differing component versions. To create a new server, I usually choose the most similar (by features) running server, rsync a copy of it into freshly mounted filesystems, run grub, reconfigure and reboot.

Problem:

Over time this duplicates many on-disk data blocks which probably sums up to several 10's of gigabytes. I suppose if I could use a base system as template with the actual machines based on top of that, only writing changed blocks to some sort of "diff image", performance should improve (increased cache hit rate) and storage efficiency should increase (deduplicated storage space). This would be similar to what ESXi already supports for RAM deduplication (page sharing).

Question:

Is there any way to easily do this on ESXi 4? I already share the portage tree via NFS but this would not work for the rootfs.

© Server Fault or respective owner

Related posts about vmware

Related posts about esxi