Hi!
On 06/27/2016 11:26 PM, Henk Slager wrote:
btrfs-debug does not show metadata ans system chunks; the balancing
problem might come from those.
This script does show all chunks:
https://github.com/knorrie/btrfs-heatmap/blob/master/show_usage.py
Since the existence of python-btrfs, it has gathered a few useful
example scripts:
git clone https://github.com/knorrie/python-btrfs
cd python-btrfs/examples/
(get root prompt)
./show_usage.py /mountpoint <- view sorted by 'virtual' address space
./show_dev_extents.py /mountpoint <- view sorted by physical layout
The show_usage in the btrfs-heatmap repo is almost gone. I'm currently
replacing all the proof of concept playing around stuff in there with
dedicated png-creation code that uses the python-btrfs lib.
So, it's better to refer to the examples in python-btrfs instead. Or,
write some others to create overviews yourself, it gets easier every day. :D
Have fun,
--
Hans van Kranenburg - System / Network Engineer
T +31 (0)10 2760434 | hans.van.kranenburg@xxxxxxxxxx | www.mendix.com
--
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