!oNSIfazDqEcwhcOjSL:matrix.org

disko

366 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko94 Servers

Load older messages


SenderMessageTime
19 Aug 2024
@tmarkov:envs.nettmarkovHi! I'm using disko for partitioning, with btrfs subvolumes on luks. Now I manually created a new subvoume, and added it to the disko config. But after rebuilding, it wasn't added to fstab for some reason, and doesn't get mounted. Is there some catch that I could be missing there?20:33:24
@lassulus:lassul.uslassulushard to say without the config, but in theory it should get mounted if you add it there20:42:03
20 Aug 2024
@matthewcroughan:defenestrate.itmatthewcroughan lassulus: https://github.com/nix-community/disko/pull/740 09:22:31
@matthewcroughan:defenestrate.itmatthewcroughandunno how this was missed09:22:33
@matthewcroughan:defenestrate.itmatthewcroughanjust nobody using it I guess09:22:56
@lassulus:lassul.uslassulusthe format is called f2fs-tools?09:23:08
@matthewcroughan:defenestrate.itmatthewcroughanoops09:23:47
@matthewcroughan:defenestrate.itmatthewcroughanit passed the vm test though09:24:02
@matthewcroughan:defenestrate.itmatthewcroughanwtf09:24:04
@matthewcroughan:defenestrate.itmatthewcroughanhow is that possible09:24:22
@matthewcroughan:defenestrate.itmatthewcroughan I guess just because the act of putting "f2fs" into boot.supportedFilesystems is enough to make the VM Test work thanks to the github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems/f2fs.nix#L16-L18 09:25:30
@matthewcroughan:defenestrate.itmatthewcroughanBTW, I think http://www.linux-mtd.infradead.org/faq/ubi.html would be interesting to support in Disko, though I'm not entirely sure how it would work yet09:25:48
@matthewcroughan:defenestrate.itmatthewcroughanJFFS209:25:56
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @lassulus:lassul.us
the format is called f2fs-tools?
amended anyway, though it's interesting that VM tests won't catch those issues due to modules/tasks/filesystems in nixpkgs
09:27:06
@benjaminedwardwebb:envs.netbenwebb changed their display name from benjaminedwardwebb to benwebb.12:44:10
@shinri:zince.netShinri joined the room.12:53:08
@shinri:zince.netShinriHi. I'm shifting to tmpfs root with disko configuring my disk partition ( my conf here: https://git.sr.ht/~zincentimeter/nix-conf/tree/main/item/system/disko.nix ). How can I mount it as /nix and left all directories except /nix/* to be on disk? Should I move all the existing files of /nix to / before go forward to rebuild the directory layout?12:58:43
@shinri:zince.netShinri* Hi. I'm shifting to tmpfs root with disko configuring my disk partition ( my conf here: https://git.sr.ht/~zincentimeter/nix-conf/tree/main/item/system/disko.nix ). How can I mount it as /nix and left all directories except /nix/* to be on tmpfs? Should I move all the existing files of /nix to / before go forward to rebuild the directory layout?12:59:31
21 Aug 2024
@matthewcroughan:defenestrate.itmatthewcroughanRedacted or Malformed Event16:56:45
@egor:sgf.ltegor changed their profile picture.17:43:11
22 Aug 2024
@niko:puppygock.gaynyanbinary 🏳️‍⚧️ left the room.17:20:34
23 Aug 2024
@benjaminedwardwebb:envs.netbenwebb left the room.18:57:13
25 Aug 2024
@wieldable9080:matrix.im🎈 Always changed their display name from wieldable9080 to 🎈 Always hard to find my messages.05:22:12
@wieldable9080:matrix.im🎈 Always set a profile picture.05:22:36
@nbrr:matrix.orgnbrr joined the room.10:34:14
@nbrr:matrix.orgnbrr

Hi! Looking to use disko and I have a few questions:

  • It seems guides on the disko repo are for new installs. Is there something about using disko for an existing install?
  • Do I have to describe all existing disks with disko or can I just use disko for a single new drive I'm adding?
  • I want to declare a disk with a couple of btrfs subvolumes. If I ever want to add more subvolumes, can I just add it to the disko declaration and have it perform the operation?
10:54:21
@lassulus:lassul.uslassulusdisko works for already installed systems, although writing a disko configuration is a bit more involved than declaring fileSystems.* so there wouldn't be much real gain. You can define many disks and btrfs subvolumes and you can rerun the creation step and it "should" just add the new subvolumes. although that is a new and untested feature, so use it with care (and backups)12:38:53
@sylkos:envs.netsylkos joined the room.14:58:41
@raj-magesh:matrix.orgRajIs there any work ongoing to support multi-disk filesystems?15:06:30
@lassulus:lassul.uslassulusWe have support for some of those I think? Which one are you thinking of?15:20:04

Show newer messages


Back to Room ListRoom Version: 10