!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

550 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org147 Servers

Load older messages


SenderMessageTime
23 Mar 2024
@charles:computer.surgeryCharles ⚡️ joined the room.03:53:09
@xenos76:matrix.orgxenos76 joined the room.14:22:52
@abyxcos:beeper.comabyxcos joined the room.17:36:08
24 Mar 2024
@skorpy:entropia.deskorpy 🏳️‍⚧️ joined the room.09:36:25
@raitobezarius:matrix.orgraitobezariushttps://www.ivanomalavolta.com/files/papers/ICSOC_2023.pdf15:00:38
@conr:mozilla.orgconr joined the room.19:36:46
@conr:mozilla.orgconrwhat will the /etc/crypttab look like to mount them?19:37:07
@elvishjerricco:matrix.orgElvishJerricco conr: man crypttab describes the syntax 19:37:31
@elvishjerricco:matrix.orgElvishJerriccoand "mount" isn't the right term; it just unlocks the luks devices19:37:51
@conr:mozilla.orgconrjust one liners with line breaks?19:38:26
@elvishjerricco:matrix.orgElvishJerriccoyep19:38:41
@elvishjerricco:matrix.orgElvishJerricco it's like /etc/fstab but for encrypted devices instead of for file systems 19:38:54
@conr:mozilla.orgconr ElvishJerricco: I created the pool already but do i need to destroy and, encrpyt the raw disks, then do the zpool create ... with the luks devices? 19:52:15
@conr:mozilla.orgconr * ElvishJerricco: I created the zpool already but do i need to destroy and, encrpyt the raw disks, then do the zpool create ... with the luks devices? 19:53:29
@elvishjerricco:matrix.orgElvishJerricco

conr: Yes, the zfs pool will live on the virtual devices e.g. /dev/mapper/foo, and LUKS will live on the physical devices.

What do you mean you created the zpool already? You can't have already created the pool on the physical devices and also created LUKS volumes on the physical devices too :P

19:55:59
@elvishjerricco:matrix.orgElvishJerriccoor have you not tried to make the LUKS volumes yet?19:56:26
@conr:mozilla.orgconroh i created uncrypted... before i did this LUKS setup.19:56:43
@conr:mozilla.orgconri have not tried to make the LUKS volumes yet.19:56:53
@conr:mozilla.orgconri'm going to eat some lunch and come back.19:57:10
@conr:mozilla.orgconr ElvishJerricco: do i still need boot.zfs.extraPools = [ "jjpool" ]; if i am going do it with /etc/crypttab? 20:50:08
@elvishjerricco:matrix.orgElvishJerricco conr: Yea. NixOS needs something to tell it to import the pool, and the only way to do that is to either have legacy file systems in the nixos fileSystems config, or to put the pool in boot.zfs.extraPools 21:02:40
@conr:mozilla.orgconr ElvishJerricco: how do you remove the filesystem name and label with cfdisk? 21:43:25
@elvishjerricco:matrix.orgElvishJerriccooh, cfdisk is just a partitioning tool. It doesn't format the partitions themselves21:43:56
@conr:mozilla.orgconr

still shows

 Filesystem UUID: 1529979882388306283                                                                                  │
 Filesystem LABEL: jjpool                                                                                               │
 Filesystem: zfs_member
21:43:59
@conr:mozilla.orgconr so use fdisk? 21:44:14
@elvishjerricco:matrix.orgElvishJerriccono fdisk is just a CLI version of cfdisk21:44:24
@elvishjerricco:matrix.orgElvishJerricco Just use wipefs to actually wipe a partition 21:44:29
@conr:mozilla.orgconri think i have to instlal it21:44:42
@conr:mozilla.orgconr * i think i have to install it21:44:48
@elvishjerricco:matrix.orgElvishJerriccodon't think so?21:44:48

Show newer messages


Back to Room ListRoom Version: 10