bees
nixos-config
bees | nixos-config | |
---|---|---|
21 | 20 | |
589 | 8 | |
- | - | |
4.0 | 9.4 | |
15 days ago | 1 day ago | |
C++ | Nix | |
GNU General Public License v3.0 only | MIT License |
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 ?
nixos-config
-
how do you keep your installation clean and tidy?
I use Nix/NixOS. My system state is a direct result of my config that is declared in a bunch of text files. For example, leaf packages that are installed system-wide are declared here: https://github.com/Atemu/nixos-config/blob/e646c4ec1aac80cfdf7b8c79debcfaee70237018/packages.nix
-
Audiophiles on Linux; how is it?
If it matters, my distro is NixOS and here's the machine's system config: https://github.com/Atemu/nixos-config/blob/95f9bb201ab4c2ab95fb3089909f5951a0646699/configs/HEPHAISTOS/default.nix
-
How do you backup/restore your system?
If something really goes south, I can have my entire system rebuilt automatically almost to the bit within 5-20min (mostly dependant on Internet speed) because my system is reproducible from just a bunch of text files.
-
Yast like tool for other distros?
Here's my desktop configuration to give you an idea: https://github.com/Atemu/nixos-config/blob/0e97d9af632852e7440563a9b5976663e61071b7/desktop.nix
-
What distro are you guys running?
If you want to know more: https://nixos.org/ Here's how such a system declaration can look like: My current desktop configuration, packages "installed" system-wide.
-
1:1 backups, am i missing something obvious
If you're looking for a way to restore your system configuration should your drive go kaput, perhaps look into declarative means of configuration instead. With those, your system is defined by a few text files and restoring or duplicating it is trivial. If you want to stay with Arch (great distro), imperative tools like Ansible, Puppet or Chef should work. If you want to try greener pastures, look into NixOS which is what I use. All I need to restore my machine is a few text files like this one (I just clone the git repo).
- Finding a viable altarnative to arch linux
-
Getting rid of the need for the usecase Linux distribution
It only takes https://github.com/Atemu/nixos-config/blob/master/configs/HEPHAISTOS/default.nix#L14 and all these settings are applied: https://github.com/Atemu/nixos-config/blob/af0960a7f7b0d6b9d775015c63a107ede6f63c82/desktop.nix
-
Does anyone else record all the changes they make and store it in a bash script?
Here's the list of packages available in all my systems or my desktop configuration to give you an idea.
-
How NixOS does distro-building right
Set it up once precisely the way you like it, run forever. You only need slight tweaks every now and then to keep up with progress. On how many machines you want with as much shared configuration you want, any time you want. If your NixOS boot drive died, you could have a working NixOS system that's exactly[3] like the old one in a matter of minutes depending on your internet and hardware speed. (Without user data of course.) All you need is one (or a few if you prefer) lean text files that can and should be tracked in a git repo like this on: https://github.com/Atemu/nixos-config
What are some alternatives?
dduper - Fast block-level out-of-band BTRFS deduplication tool.
docker-install - Docker installation script
duperemove - Tools for deduping file systems
manjarno - Reasons for which I don't use Manjaro anymore
btrbk - Tool for creating snapshots and remote backups of btrfs subvolumes
artix-installer - A simple installer for Artix Linux
yarn-deduplicate - Deduplication tool for yarn.lock files
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
jdupes - A powerful duplicate file finder and an enhanced fork of 'fdupes'.
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
snap-sync - Use snapper snapshots to backup to external drive
debian-post-installation-guide - A personal guide for steps and tips after the installation of Debian GNU/Linux