Re: Shrinking virtual disk with btrfs on it
From: Tomasz Torcz <hidden>
Date: 2011-01-22 08:28:51
From: Tomasz Torcz <hidden>
Date: 2011-01-22 08:28:51
On Fri, Jan 21, 2011 at 07:43:47PM +0000, David Pottage wrote:
On 21/01/11 17:20, Rodney Beede wrote:quoted
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: zdzichubg@chrome.pl Your routes will be aggreggated. -- Alex Yuriev