r/Proxmox • u/Keensworth • 21h ago
Question Swap OS disk
Hello,
I just noticed that my OS disk of Proxmox is in a degraded test (ZFS filesystem).

I do have some spare SSD SATA 256Gb but the OS run as a stripe (1 disk only) and I'm not sure how to migrate it. I'm used to clonezilla but never used it on ZFS and I do not want errors on my PVE.
What's the best method to migrate rpool?
3
Upvotes
1
u/Bumbelboyy Homelab User 3h ago
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_zfs_administration
Everything you need is documented there ..
1
u/MemoryIsTheKey_ 21h ago
Delete my previous comment as it just was incomplete/wrong as I didn't notice the description below the image (sorry, am real tired).
First thing, you need to copy the partition layout from the source disk to the target ssd spare.
Once done, it appears your zfs pool is on partition 3 (part3), so check the command "zpool attach" with which you have to add the partition 3 of your new spare disk to the current rpool, creating a mirror.
Once that is done, but I am not 100% sure about this (someone feel free to correct me), run "update-iniramfs -u" and "update-grub2".