On Fri, Jan 21, 2011 at 07:43:47PM +0000, David Pottage wrote: > On 21/01/11 17:20, Rodney Beede wrote: > > Any tools to go about zeroing about the free space on a btrfs file > > system so I can shrink the VMware vmdk virtual disk? > > > > I ran the VMware command, but the dynamic disk is still really big. I > > presume it is due to free space that isn't zeroed out. > Does btrfs issue TRIM commands to the underlying (virtual) block device?
It does when mounted with - o discard. IIRC, btrfs also supports FITRIM ioctl (but I'm not 100% sure about this). -- Tomasz Torcz RIP is irrevelant. Spoofing is futile. xmpp: zdzich...@chrome.pl Your routes will be aggreggated. -- Alex Yuriev -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html