Replacing software raid disk with regular and ZFS partitions, PVE 9.1.5

Sami Vakkuri

New Member
Jun 5, 2025
8
0
1
Finland
www.atva.fi
One of two SSDs broke on our server - I did not realize this at first because everything continued to work without problems (server was not under great load, so I did not see any performance drops). Interesting enough, Proxmox did not inform about this breakdown anyhow, I was just checking node settings and realized that ZFS pool is in "DEGRADED" state, and under the details there was log entry that one SSD disk "has been removed" - well turned out that SSD just died.

Anyhow, situation is now fixed on a hardware side: There is a new identical SSD to replace the broken one and after powering server up, new drive was detected by Proxmox.

However, I tried to follow the leads how can I actually attach this new drive as RAID member so that Proxmox could use it as it was using the old drive. I was only able to find answers in situations where whole system is installed on ZFS, but in our case only VMs are running from ZFS: Proxmox, swap and boot partitions are just regular ones (see attached images). I know that I can replace ZFS-pool disk with zpool replace -command, but how do I re-create all partitions on a new disk before ZFS-pool replacement?

I was only able to "Initialize Disk with GPT" ... no clue how to replace other partitions. As an example, I attached image from other server where there is identical hw/partition structure (marked with green)
 

Attachments

  • pve-raid-replace-ssd-1.png
    pve-raid-replace-ssd-1.png
    67.2 KB · Views: 5
  • pve-raid-replace-ssd-2.png
    pve-raid-replace-ssd-2.png
    73.1 KB · Views: 5
  • pve-raid-replace-ssd-3.png
    pve-raid-replace-ssd-3.png
    83.8 KB · Views: 5
  • pve-raid-replace-ssd-4.png
    pve-raid-replace-ssd-4.png
    46 KB · Views: 4
PVE should email the root user about such ZFS events. Is the email address of the root user correct? Maybe zfs-zed is not installed or the configuration is incorrect?
Your old (and the still existing) drive use partition 5 of the drive for the pool. Who did the partitioning before and why is it partitioned this way? Usually you use the whole drive or the third partition (typically a boot pool). I cannot really help with such a non-standard setup.
After partitioning, you can use this section in the manual to replace the broken/missing one: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_zfs_change_failed_dev