!oNSIfazDqEcwhcOjSL:matrix.org

disko

404 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko109 Servers

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


SenderMessageTime
29 Nov 2024
@lassulus:lassul.uslassulusso you just define the /dev/sda in there and the verity thingie in the config?15:57:51
@lassulus:lassul.uslassulustype would be similiar to the luks type15:58:11
@lassulus:lassul.uslassulus changed their profile picture.18:30:30
@netpleb:matrix.orgnetpleb
In reply to @joerg:thalheim.io
netpleb: there is a format mode that should not destroy your existing disk and add missing partitions disks etc. But I am not sure this works for raid conversion yet.

Thanks for your reply. Ok, let's ignore the raid1 complication for now and just assume I want to add a second disk to my existing btrfs fileystem. So I would:

  1. update my disks.nix file in my flake repo to include the additional disk
  2. nixos-rebuild switch --flake . --target-host <user@target_ip>
  3. on target system run disko -m format ...
    And hope for the best. Is that about right?
23:50:38
@netpleb:matrix.orgnetpleb
In reply to @joerg:thalheim.io
netpleb: there is a format mode that should not destroy your existing disk and add missing partitions disks etc. But I am not sure this works for raid conversion yet.
*

Thanks for your reply. Ok, let's ignore the raid1 complication for now and just assume I want to add a second disk to my existing btrfs fileystem. So I would:

  1. update my disks.nix file in my flake repo to include the additional disk
  2. nixos-rebuild switch --flake . --target-host <user@target_ip>
  3. on target system run disko -m format ...

And hope for the best. Is that about right?

23:50:50
@netpleb:matrix.orgnetplebI guess maybe steps #2 and #3 might be reversed?23:51:42
30 Nov 2024
@joerg:thalheim.ioMic92 netpleb: that format command has to be used with caution. We only test basic transition, so your migration might have been not properly tested. You can use the --dry-run command and inspect if the commands makes sense. 07:40:57
@42398234iuodfhjkdsfjdsfsdffgs:matrix.org42398234iuodfhjkdsfjdsfsdffgs joined the room.10:35:34
@jappie3:matrix.orgjappie3 left the room.20:24:44
1 Dec 2024
@tanvir:hackliberty.orgπ’•π’‚π’π’—π’Šπ’“ removed their profile picture.17:39:28
@tanvir:hackliberty.orgπ’•π’‚π’π’—π’Šπ’“ removed their display name π’•π’‚π’π’—π’Šπ’“.17:41:50
@tanvir:hackliberty.orgπ’•π’‚π’π’—π’Šπ’“ left the room.17:47:24
2 Dec 2024
@zvzg:matrix.orgSΓ‘vio joined the room.03:40:06
8 Dec 2024
@blimbus:matrix.orgblimbusDoes disko support unlocking a LUKS drive via crypttab after boot?01:53:23
@blimbus:matrix.orgblimbus * Does disko support unlocking a LUKS drive via crypttab after boot? Edit: Either I was stupid or this has been fixed01:54:24
@blimbus:matrix.orgblimbus * Does disko support unlocking a LUKS drive via crypttab after boot?01:54:38
@blimbus:matrix.orgblimbus * Hi yall, not sure if I'm just stupid and missing something but disko in disko mode is failing to setup luks on an empty drive. If the drive aleady has partitions or anything else on it it works but otherwise just fails somewhere after partitioning. It makes a luks device with password "password" even though it is set to prompt and then doesnt open the volume so creating filesystems fails. Edit: Either I was stupid or this has been fixed01:55:12
@blimbus:matrix.orgblimbus * Does disko support unlocking a LUKS drive via /etc/crypttab after boot?01:59:11

Show newer messages


Back to Room ListRoom Version: 10