find subvolume (used) size?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since CoW / reflink does not seem to work between subvolumes (a bug or a feature?), is it somehow possible to get the subvolume (used) size?

There is a standard df tool, but it can be a lengthy process for filesystems with lots of files.


"btrfs filesystem df" only shows total size for the whole btrfs filesystem.


Say, I create subvolumes called public, office, staff and pack a lot of files there. Does btrfs somehow allows to get the current size of these subvolumes (other than using df tool to traverse all files and directories)?



--
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux