Easiest way of migrating to new system disk?

Digymkus

Member
Mar 23, 2024
6
0
6
I have a proxmox host (installed as ZFS on root) that is part of a cluster and which I need to upgrade to a bigger disk.

Is this a good way to do the migration? I’d rather not configure everything for scratch.

1. Take out the existing drive and attach it to a different system
2. Snapshot the system ZFS dataset and send it to a file
3. Plug the new disk in the host, install proxmox as ZFS on root again - to get the right partition layout and boot partition populated
4. Take out the new drive, attach to the other system, do a ZFS receive from the backup file?
 
Do you have a spare slot to run both disks at once? If so you don't need to clone or reinstall you can just attach the new disk to rpool and let it resilver. Runs live without downtime. [0]

The procedure is in the admin guide under "Changing a failed bootable device" but migration applies the same way:
[0] https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_zfs_administration