!oNSIfazDqEcwhcOjSL:matrix.org

disko

356 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko89 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
24 Mar 2025
@disco_stick:matrix.orgfood style edible product changed their display name from Lizard in a Skin Suit to I won't be a human battery.16:40:02
@sboe:matrix.orgsboe

I figured this out!

of course disko doesn't set usage limits on the subvolumes

and apparently I can't manually make my own swapfile on btrfs because chattr doesn't work.

But btrfs has a subcommand to make swapfiles!

This fixed my issue!

sudo btrfs filesystem mkswapfile --size 16G /.swapvol/swapfile
18:23:19
@disco_stick:matrix.orgfood style edible product changed their display name from I won't be a human battery to Meat Robot.21:34:28
25 Mar 2025
@sboe:matrix.orgsboeCan disko be used to create new additional btrfs subvolumes? Or do I need to manually create them and add them to my disko config?09:58:36
@sigmasquadron:matrix.orgSigmaSquadron The latter, unfortunately. Disko can only alter your disks if you run disko format, which will wipe them as well. 10:05:28
@sboe:matrix.orgsboe

Thank you, is there any consideration I have to take when making subvolumes? I'd like it to be consistent with how disko makes it

                  "/snapshots" = {
                    mountpoint = "/snapshots";
                    mountOptions = [ "compress=zstd" "noatime" ];
                  };

When I sudo btrfs subvolume list /home -t I notice that there are no slashes in the path name

ID	gen	top level	path	
--	---	---------	----	
256	87522	5		home
257	87348	5		nix
258	87522	5		persist
259	87283	5		swap
10:08:55
@marie:marie.cologneMarie are you sure? It doesn't do that for zfs from my experience 11:27:44

Show newer messages


Back to Room ListRoom Version: 10