| 24 Mar 2024 |
ElvishJerricco | you need to wipefs the individual partitions first | 22:00:10 |
ElvishJerricco | then you can repartition the disk (or not, if you already like the partition layout) | 22:00:21 |
conr | what if i can't remember layout? | 22:01:00 |
conr | i'll just recreate the zpool then destroy it | 22:09:13 |
conr | ElvishJerricco: i am doing it wrong? should the type be crypt? | 23:42:49 |
conr | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 10.9T 0 disk
└─sda1 8:1 0 10.9T 0 part
sdb 8:16 0 10.9T 0 disk
└─sdb1 8:17 0 10.9T 0 part
sdc 8:32 0 1.8T 0 disk
└─sdc1 8:33 0 1.8T 0 part
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part
| 23:42:56 |
conr | * NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 10.9T 0 disk
└─sda1 8:1 0 10.9T 0 part
sdb 8:16 0 10.9T 0 disk
└─sdb1 8:17 0 10.9T 0 part
sdc 8:32 0 1.8T 0 disk
└─sdc1 8:33 0 1.8T 0 part
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot
├─nvme0n1p2 259:2 0 32M 0 part
│ └─cryptkey 254:0 0 16M 0 crypt
├─nvme0n1p3 259:3 0 32G 0 part
│ └─cryptswap 254:1 0 32G 0 crypt [SWAP]
└─nvme0n1p4 259:4 0 898.5G 0 part
└─cryptroot 254:2 0 898.5G 0 crypt
| 23:43:25 |
ElvishJerricco | you haven't luksFormat'd them yet | 23:43:25 |
conr | i tried | 23:43:34 |
conr | i mean i follwed the steps and it worked against /dev/sda1, /dev/sdb1` etc... | 23:44:17 |
conr | * i mean i follwed the steps and it worked against /dev/sda1, /dev/sdb1\ etc... | 23:44:21 |
conr | * i mean i follwed the steps and it worked against /dev/sda1, /dev/sdb1/ etc... | 23:44:27 |
conr | * i mean i follwed the steps and it worked with /dev/sda1, /dev/sdb1/ etc... | 23:45:36 |
conr | do i need a └─ like a subpartition? | 23:46:05 |
ElvishJerricco | conr: oh, no, TYPE should say part for the physical partition. It says "crypt" for the unlocked virtual device | 23:46:45 |
ElvishJerricco | you haven't cryptsetup open'd them yet | 23:46:52 |
conr | i know how to do it with gdisk but not cfdisk | 23:47:11 |
ElvishJerricco | they do the same thing | 23:47:31 |
ElvishJerricco | you partition the disk, then you use cryptsetup luksFormat, then you use cryptsetup open | 23:47:48 |
ElvishJerricco | you need to open them | 23:47:55 |
conr | so did i do it right or need to do it over? | 23:48:00 |
ElvishJerricco | seems like you're probably good if you did luksFormat already | 23:48:11 |
conr | so now i can create the zpool and point to the /sda1, sdb1, etc...? | 23:48:46 |
ElvishJerricco | no | 23:48:50 |
ElvishJerricco | again | 23:48:52 |
ElvishJerricco | for the third time | 23:48:54 |
ElvishJerricco | you need to open them with cryptsetup open | 23:48:59 |
conr | oh i'm sorry, yes. open them | 23:49:45 |
conr | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 10.9T 0 disk
└─sda1 8:1 0 10.9T 0 part
└─crypthdd1 254:3 0 10.9T 0 crypt
sdb 8:16 0 10.9T 0 disk
└─sdb1 8:17 0 10.9T 0 part
└─crypthdd2 254:4 0 10.9T 0 crypt
sdc 8:32 0 1.8T 0 disk
└─sdc1 8:33 0 1.8T 0 part
└─cryptssd1 254:5 0 1.8T 0 crypt
sdd 8:48 0 1.8T 0 disk
└─sdd1 8:49 0 1.8T 0 part
└─cryptssd2 254:6 0 1.8T 0 crypt
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot
├─nvme0n1p2 259:2 0 32M 0 part
│ └─cryptkey 254:0 0 16M 0 crypt
├─nvme0n1p3 259:3 0 32G 0 part
│ └─cryptswap 254:1 0 32G 0 crypt [SWAP]
└─nvme0n1p4 259:4 0 898.5G 0 part
└─cryptroot 254:2 0 898.5G 0 crypt
| 23:53:02 |
conr | ok got it | 23:53:03 |