btdu
compsize
btdu | compsize | |
---|---|---|
19 | 8 | |
340 | 325 | |
- | - | |
7.7 | 3.0 | |
about 2 months ago | 4 months ago | |
D | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
btdu
- missing free space on btrfs backup drive
-
Missing Space - BTRFS Balance is the Answer?
Hello. I have a 2 TB nvme mounted as a subvol that contains dockervols. I recently noticed this discrepancy df -h | grep nvme0n1p1 /dev/nvme0n1p1 1.9T 1.3T 569G 70% /data vs. sudo du -h -d 0 /data 1.1T /data I tried using the btdu tool but I am not sure if I had it installed correctly as it didn't show the output like the examples shown on the github (https://github.com/CyberShadow/btdu)
- btdu – sampling disk usage profiler for btrfs
-
Name a program that doesn't get enough love!
btdu fastest and easiest tool to analyze space usage in compressed btrfs with lots of snapshots (especially in expert mode)
- Ncdu – NCurses Disk Usage
-
More trouble with BTRFS 😑
It doesn't seem BTRFS's fault. You could run btdu on your subvolumes to understand what's going on.
-
Defrag eats space?
However, honestly, the best way to get a quick overview of where all your space is being used is btdu.
-
Space allocation
If you want to diagnose where you think there may be space used up that you don't quite understand, then btrfs fi du and third party tools btdu and compsize are useful.
-
Disk usage after large deletion
And btdu to get an overall impressions of where space is being used if the above isn't useful enough.
- Recurring low disk message on a balanced BTRFS system
compsize
-
BTRFS Transparent Compression
The tool compsize can give you info about the compression state of your data. For example:
-
Is anyone else having problems with the zfs AUR packages? Specifically, zfs-dkms?
The obvious example is the Raid5/Raid6 implementation which is officially not recommended for current use; though that's not something I would use anyways. But I've also found that stuff like listing the compression ratio for volumes requires a separate program, unlike zfs where it's built-in.
- compsize: btrfs: find compression type/ratio on a file or set of files
-
Space allocation
If you want to diagnose where you think there may be space used up that you don't quite understand, then btrfs fi du and third party tools btdu and compsize are useful.
-
Bringing Bcachefs to Linux Mainline
I'm going to add my N=1 anecdata if no one minds:
I've been running full Btrfs on my workstation since December 2021 with 0 issues (kernel 5.10). It survived multiple hard reboots and power offs, Ryzen 5000 CPUs seems to lose power every now and then on Linux (it's a known issue for years now that no one has figured out yet).
Having compression is great. compsize reports I've saved 33GB on my /home subvolume so far (https://github.com/kilobyte/compsize). I don't use snapshots, I just backup the whole thing.
Obviously this doesn't mean that in the future Btrfs won't eat my data, but so far it hasn't and I'm happy.
- Using BTRFS compression on my Steam Deck, defragging and compsize
-
Adding options to fstab?
You can also use this tool to find out what the compression ratio of the data is ;).
- ZFS 0.8.6 doesn't boot with 5.10 kernel on Debian Sid
What are some alternatives?
btrfs - WinBtrfs - an open-source btrfs driver for Windows
btrfdeck - This repo will get you from using ext4 on your Steam Deck's microSD card, to btrfs.
dust - A more intuitive version of du in rust
duperemove - Tools for deduping file systems
mkosi - 💽 Build Bespoke OS Images
archzfs - Package and repository sources for ZFS on Arch Linux
jdupes - A powerful duplicate file finder and an enhanced fork of 'fdupes'.
zfs - OpenZFS on Linux and FreeBSD
gncdu - Implements NCurses Disk Usage(ncdu) with golang
zfs-dkms-aur-pkg - NOTE: Use this patch at your own risk. Testing a patch for the zfs-dkms Arch Linux AUR package
go - The Go programming language
dua-cli - View disk space usage and delete unwanted data, fast.