knorrie / python-btrfs

Python Btrfs module
GNU Lesser General Public License v3.0
112 stars 22 forks source link

Request: subvolume qgroup stats #38

Open daviessm opened 2 years ago

daviessm commented 2 years ago

I have a script which lists all subvolumes for a filesystem and saves their usage referenced and exclusive values to a database for further analysis. Currently this calls btrfs subvolume show from btrfs-progs for each subvolume. It would be nice if I could use python-btrfs for this instead.

Ideally there would be an easy way to retrieve all the information provided by btrfs subvolume show.

knorrie commented 2 years ago

Hi! Yes, the qgroup related metadata objects are part of the collection (which is getting smaller \o/) of items that have not been implemented yet.

So, after getting scrub in a workable state, this seems to be the next thing we're going to have a look at.

What you already can do now to help is:

Knorrie