On Thursday, February 17, 2011 13:38:58 Roman Kapusta wrote:
> On Thu, Feb 17, 2011 at 12:54, Hubert Kario <[email protected]> wrote:
> > On Thursday, February 17, 2011 12:13:53 Roman Kapusta wrote:
> >> Hello all,
> >> 
> >> 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:
> >> 
> >> - physical space allocated by SUBVOLUME INCLUDING all space shared by
> >> other subvolumes
> > 
> > That's the space reported by `du -hs /mnt/btrfs/subvolume`
> 
> it should be `du -hsx /mnt/btrfs/subvolume`
> but what if there are reflinked/CoW files inside this subvolume?

True, forgot about them.

Regards,
-- 
Hubert Kario
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawerów 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to