Thread (5 messages) 5 messages, 3 authors, 2011-02-17

Re: Space used by snapshot

From: Roman Kapusta <hidden>
Date: 2011-02-17 12:38:58

On Thu, Feb 17, 2011 at 12:54, Hubert Kario [off-list ref] wrote:
On Thursday, February 17, 2011 12:13:53 Roman Kapusta wrote:
quoted
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 b=
y
quoted
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?
quoted
- physical space allocated by SUBVOLUME EXCLUDING all space shared b=
y
quoted
other subvolumes
That's not implemented right now
quoted
Currently I can use only du, which is not reporting what I want to k=
now.
quoted
Regards

Roman Kapusta
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help