bees
dotfiles
bees | dotfiles | |
---|---|---|
21 | 2 | |
589 | 5 | |
- | - | |
4.0 | 5.3 | |
15 days ago | 8 days ago | |
C++ | Vim Script | |
GNU General Public License v3.0 only | - |
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.
bees
-
Converted ext4 to btrfs, tried defrag and ran out of space
Btrfs defrag 'will break up the reflinks of COW data' and 'may cause considerable increase of space usage depending on the broken up reflinks'. To try to fix this, I would run bees to try and deduplicate the now duplicate reflinks. It may be worth doing this from e.g. a livedisk though as out of space errors can cause things to break (so don't upgrade packages till you fix this).
-
Introducing Pins: Permanent Nix Binary Storage
Figuring out which paths are needed outside gcroots'ed closures is pretty complicated. If you're using flakes, the main issue is duplicates, so store optimization and bees may help. With channels, once you update a channel you might as well gc everything else.
-
rule
bees
- Should you remove duplicate files?
-
Poke holes in my git-annex + ZFS offline storage system
I felt more confident with the code/developer/docs. The author knows his stuff regarding btrfs. Like, look at this, it's amazing: https://github.com/Zygo/bees/blob/master/docs/btrfs-kernel.md
-
Anyone running Bees? Or deduping data some other way?
I have some time again and wondering if anyone's got Bees, https://github.com/Zygo/bees, running on their Synology.
-
The goal: Use Fedora 37 with Snapper to get a "riceable" Linux desktop that can be rolled back like a time machine (and some comments on why I don't use Silverblue)
Even if NixOS doesn't support sending deduplicating syscalls to the kernel, you could use the Btrfs deduping daemon called bees to slowly save space over time. There might be an equivalent for ZFS, too.
-
Questions Regarding BTRFS, Suspend, and Data Integrity
This isn't much different than ext4. 0 length files can happen after a crash. You can avoid this by mounting with flushoncommit for the future. See here for details.
-
Compression
Maybe BEES can help you to dedup any blocks, not file.
- Is Bees a after-solution to BTRFS defragmentation breaking reflinks ?
dotfiles
- Why Do All These 20-Somethings Have Closed Captions Turned On?
-
When should you run defragment, when not?
For my spinning disks, I defrag my exclusive (not referenced by any snapshot) files before I create a snapshot of them. As you noted, after you created the snapshot, you shouldn’t defrag them, because it destroys sharing between the snapshots, so before you snapshot is the last chance you get. I wrote this script to defragment all exclusive files under the current directory: https://github.com/ruuda/dotfiles/blob/bab88d63e9b5ebba2ac0eac396076730704743b9/btrfs-defrag.py
What are some alternatives?
dduper - Fast block-level out-of-band BTRFS deduplication tool.
ffmpeg-normalize - Audio Normalization for Python/ffmpeg
duperemove - Tools for deduping file systems
btrbk - Tool for creating snapshots and remote backups of btrfs subvolumes
yarn-deduplicate - Deduplication tool for yarn.lock files
jdupes - A powerful duplicate file finder and an enhanced fork of 'fdupes'.
snap-sync - Use snapper snapshots to backup to external drive
dedupe - :id: A python library for accurate and scalable fuzzy matching, record deduplication and entity-resolution.
snapper - Manage filesystem snapshots and allow undo of system modifications
imgdupes - Identifying and removing near-duplicate images using perceptual hashing.
nixos-config - My NixOS configurations
npm