Migrate Proxmox VE itself from one partition to another

neuron

Active Member
Mar 15, 2019
25
3
43
43
I have PVE 7.3 installed directly on a RAID-1 mirror of 2x Crucial SSDs that are burning up too quickly for my liking. About a year in, they have 39 and 38% wearout.

Rather than outright replacing that volume, I'd rather just move the PVE install itself to the ZFS RAID of Samsung enterprise-class SSDs. Here's my disks layout:

1679604474723.png

1679604714742.png

1679604788979.png

/dev/sdd is a solo drive not being used at the moment which I could use as a last-resort option. Though there wouldn't be any redundancy.

How easy would it be to do a dd=out/dd=in sort of deal, then change the bootloader config? Advisable at all? Dangerous?
 
are the new disks at least exactly the same size or a bit larger? even if they are smaller, they seem to be installed with ZFS for the root filesystem.

Check out this blog post, it handles moving the OS to smaller disks, but the overall process should also give you enough of an idea if the disks are the same size or larger. https://aaronlauterer.com/blog/2021/proxmox-ve-migrate-to-smaller-root-disks/

If the new disks are larger, you should be able to expand partition 3 (the one used by ZFS). For the ZFS pool to detect the larger partition, you might need to enable the autoexpand property of the pool.
 
I mostly want to know if it's possible to move the root / to /pve-storage ZFS volume
 

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!