After adding a disk proxmox at boot stops

frankz

Well-Known Member
Nov 16, 2020
396
25
48
Hi everyone, I have a 3 node cluster with the pve 1 Tx 1310 M3 4C E3-1225V6. I tried to insert a new disk on the sata slot, but at boot the proxmox system does not start, it loads on boot but does not find the zfs partitions. the disk belonged to a zfs pool, erased it and rewrote the gpt trace. The node is configured with mirrored zfs, and that pool is loaded with the dev but by-id device. Can anyone help me to try to understand where I'm wrong?
 
Could you provide some logs/error-messages /screenshots of how the problem shows itself?

(Would make it easier to see what's potentially wrong)

for disks that used to be in a zpool it's sometimes necessary to completely wipe them (potentially wipefs is enough, but if in doubt - just run dd with /dev/zero over the complete disk - keep in mind that this will destroy all data on the disk!)
 
Could you provide some logs/error-messages /screenshots of how the problem shows itself?

(Would make it easier to see what's potentially wrong)

for disks that used to be in a zpool it's sometimes necessary to completely wipe them (potentially wipefs is enough, but if in doubt - just run dd with /dev/zero over the complete disk - keep in mind that this will destroy all data on the disk!)
Yes thanks, you're right, I had to take a scvrenshot at boot. I have to reopen the case and reassemble the disk, but first I will try to clean or better to swipe as per your instructions. Thanks .
 
Did you try wipefs ? dd-ing with /dev/zero will indeed clean it but it will take a lot of time
 
Did you try wipefs ? dd-ing with /dev/zero will indeed clean it but it will take a lot of time
Hello and thanks for responding. No I just made an fdisk and deleted the partitions, and rewrote an empty gpt. Normally a disk is erased with fdisk and the partitions recreated, but zfs as far as I know requires different procedures than a normal fdisk.
 
I am not an expert, I vaguely remember I used wipefs in the past and it worked OK even on ZFS .... but as frankz said dd-ing with /dev/zero will wipe the drive fully