From rpool ZFS Single disk to rpool zfs-mirror.

Snapperud

New Member
Jul 5, 2023
2
1
3
Hi, my setup is like this:
My rpool is one 128 GB singel disk zfs
I have 2 new SSD disks of 250 GB on its way..
My wish is to replace the old disk of 128 with the 2 new ones and run zfs-mirroring on rpool, without having to reinstall PVE.
I like some advice with commands and the order for the commands.
Thanks in advance
 
See "Changing a failed bootable device":
https://pve.proxmox.com/wiki/ZFS_on_Linux#_zfs_administration

But instead of the "zpool replace" you add the first new disk via "zpool attach".
Once that is done and your mirror is working you could do the same again but this time using "zpool replace" to replace the 128GB disk with the second new one. Then a "zpool online -e" so the mirror will use the full 250GB.

PS: Have recent backups of all guests, /etc and /var/lib/vz as a human error might wipe your disks.
 
Last edited:
  • Like
Reactions: Kingneutron

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!