Hi,

It seems I never mailed the list yet about a fun little tool to
visualize the space usage of a btrfs filesystem:

https://github.com/knorrie/btrfs-heatmap

It needs python-btrfs to query a btrfs filesystem for block group usage
and pypng to generate an image showing disk space usage as some kind of
heatmap.

More info is in the README inside the project.

The Hilbert curve might seem a little weird at first, but I haven't seen
a better way of visualization that keeps providing useful information
about locality for larger filesystems.

Today on IRC naptastic shared a timelapse video of using btrfs balance
after adding 2 disks to a filesystem:

20:30 < naptastic> https://youtu.be/AA5gvsRtLgI
20:30 < naptastic> Enjoy!

Oh, and if someone is bored... What about creating an ncurses frontend
for fun, that looks like this, while you're waiting on btrfs balance to
complete... https://hblok.net/blog_pics/nsd.png

Quote of the day:
01:09 < kdave> watching speeddisk was a computer game substitute of my youth

P.S. This program also shows how convenient it is to build something
else on top of python-btrfs... The lines that are really needed to get
all information about the filesystem can be counted on two hands. :)

Moo!
Knorrie
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to