!oNSIfazDqEcwhcOjSL:matrix.org

disko

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

Load older messages


SenderMessageTime
20 Jan 2025
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Redacted or Malformed Event15:36:19
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

I really want to avoid blowing up my computer.

15:36:33
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)

Hello, I have a quick doubt: I want to add a BTRFS subvol to my system. I modified the disko coinfig in my flake, how should I apply those changes?

15:36:53
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Redacted or Malformed Event15:38:05
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)Redacted or Malformed Event15:38:32
@gsaurel:laas.frnim65sRedacted or Malformed Event18:12:02
@gsaurel:laas.frnim65s changed their display name from Guilhem to nim65s.18:12:17
@anton:gersthof.comAnton (he/him) joined the room.20:51:35
@guiniol:matrix.orgguiniol joined the room.21:03:45
@guiniol:matrix.orgguiniol So. I wanted to create a couple of extra datasets in an existing ZFS pool without wiping everything. Is there a way to either get disko to not remove existing data (is this what the mount mode does? I couldn't find much about it in the docs) or to get disko to give me the commands it would run to create those datasets (which I would the run myself). 21:05:48
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @guiniol:matrix.org
So. I wanted to create a couple of extra datasets in an existing ZFS pool without wiping everything. Is there a way to either get disko to not remove existing data (is this what the mount mode does? I couldn't find much about it in the docs) or to get disko to give me the commands it would run to create those datasets (which I would the run myself).
Last time i checked disko doesnt support repartitioning
21:15:18
@guiniol:matrix.orgguiniolso getting the commands it would run is really the only thing I can do21:16:27
@guiniol:matrix.orgguiniol I found the --dry-run mode (I really should have run --help first...), so let's see what that gives me 21:16:55
@magic_rb:matrix.redalder.orgmagic_rbId suggest you learn to use ZFS21:17:30
@guiniol:matrix.orgguiniolso21:17:37
@guiniol:matrix.orgguiniolthe thing is I have the options I want in the disk config file21:17:55
@lassulus:lassul.uslassulusin theory we have support for update scripts21:18:02
@lassulus:lassul.uslassuluslike create should be idempotent21:18:13
@lassulus:lassul.uslassulusbut please have backups and proof read the created script :)21:18:26
@guiniol:matrix.orgguinioland I wanted to create the datasets as disko would create them because at the very end, I will wipe the machine and reinstall everything from backups21:18:27
@magic_rb:matrix.redalder.orgmagic_rbAh21:18:37
@magic_rb:matrix.redalder.orgmagic_rbDry run then21:18:43
@guiniol:matrix.orgguiniol so I don't want to have an incompatible option somewhere taht would make the zfs receive fail 21:18:59
@guiniol:matrix.orgguiniol so, I did try --dry-run but apparently my flake on its own is not enough. I create the system with nixos-anywhere and disko complains about You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable. 21:19:48
@guiniol:matrix.orgguiniolI think there was something about a bootable device in the help, so let me try that again21:20:13
@guiniol:matrix.orgguiniolalright, I think I have it21:34:14
@guiniol:matrix.orgguinioland there are basically no options being added :D21:34:29
@guiniol:matrix.orgguiniol Alright, another question: I had to disable the zfs-mount service because the ZFS dataset are also being mounted by autogenerated systemd units. Did I do something wrong? I am using non-legacy mount type datasets. 22:38:58
22 Jan 2025
@benph:matrix.orgBen joined the room.15:14:02
23 Jan 2025
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk joined the room.14:58:41

Show newer messages


Back to Room ListRoom Version: 10