From: Tomasz Torcz <tomek@pipebreaker.pl>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Shrinking virtual disk with btrfs on it
Date: Sat, 22 Jan 2011 09:28:51 +0100 [thread overview]
Message-ID: <20110122082850.GA2921@mother> (raw)
In-Reply-To: <4D39E1F3.5070903@electric-spoon.com>
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: zdzichubg@chrome.pl Your routes will be aggreggated. -- Alex Yuriev
prev parent reply other threads:[~2011-01-22 8:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-21 17:20 Shrinking virtual disk with btrfs on it Rodney Beede
2011-01-21 17:34 ` Hugo Mills
2011-01-22 18:27 ` Rodney Beede
2011-01-21 19:43 ` David Pottage
2011-01-22 8:28 ` Tomasz Torcz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110122082850.GA2921@mother \
--to=tomek@pipebreaker.pl \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).