All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Pottage <david@electric-spoon.com>
To: Rodney Beede <mailinglist@rodneybeede.com>,
	linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Shrinking virtual disk with btrfs on it
Date: Fri, 21 Jan 2011 19:43:47 +0000	[thread overview]
Message-ID: <4D39E1F3.5070903@electric-spoon.com> (raw)
In-Reply-To: <AANLkTimVGfP0UFgkTEtrqrc8RoPPoqgwu=x--KHa3Y9j@mail.gmail.com>

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?

I guess not yet, as otherwise you would not see this problem, as your
virtual storage device should catch them and discard the corresponding
virtual storage blocks.

-- 
David Pottage


  parent reply	other threads:[~2011-01-21 19:43 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 [this message]
2011-01-22  8:28   ` Tomasz Torcz

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=4D39E1F3.5070903@electric-spoon.com \
    --to=david@electric-spoon.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=mailinglist@rodneybeede.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.