From: Hubert Kario <hka@qbs.com.pl>
To: Roman Kapusta <roman.kapusta@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Space used by snapshot
Date: Thu, 17 Feb 2011 14:11:02 +0100 [thread overview]
Message-ID: <201102171411.02302.hka@qbs.com.pl> (raw)
In-Reply-To: <AANLkTinubrLWVau2PqD-3BJVceuQa3oR1N4RKBL8RvoL@mail.gmail.com>
On Thursday, February 17, 2011 13:38:58 Roman Kapusta wrote:
> On Thu, Feb 17, 2011 at 12:54, Hubert Kario <hka@qbs.com.pl> wrote:
> > On Thursday, February 17, 2011 12:13:53 Roman Kapusta wrote:
> >> Hello all,
> >>=20
> >> Is there any way how to obtain information how much space is
> >> physically allocated by given subvolume?
> >> I cannot find any. I'm interested in two values:
> >>=20
> >> - physical space allocated by SUBVOLUME INCLUDING all space shared=
by
> >> other subvolumes
> >=20
> > That's the space reported by `du -hs /mnt/btrfs/subvolume`
>=20
> it should be `du -hsx /mnt/btrfs/subvolume`
> but what if there are reflinked/CoW files inside this subvolume?
True, forgot about them.
Regards,
--=20
Hubert Kario
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawer=C3=B3w 30/85
tel. +48 (22) 646-61-51, 646-74-24
www.qbs.com.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2011-02-17 13:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 11:13 Space used by snapshot Roman Kapusta
2011-02-17 11:16 ` Hugo Mills
2011-02-17 11:54 ` Hubert Kario
2011-02-17 12:38 ` Roman Kapusta
2011-02-17 13:11 ` Hubert Kario [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=201102171411.02302.hka@qbs.com.pl \
--to=hka@qbs.com.pl \
--cc=linux-btrfs@vger.kernel.org \
--cc=roman.kapusta@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox