Moving Proxmox install from "rpool" to "tank"

copec

New Member
Jun 24, 2023
18
3
3
Hi, my name is Chris and we recently began using Proxmox at the shop I work at.

Little bit of story: I have an older backend storage server with lots of space that I wanted to use as a host for replication from the rest of the proxmox nodes in the cluster, and I assumed that one could simply select the remote replication storage pool the same as the node, but now I understand that all of the paths to storage have to be the same. (This stemming from a VM/CT being abstracted as an arbitrary resource to be started on any node in the cluster on what was some sort of shared backend storage but was extended to replication.)

I had two mirrored boot disks with an OS before that I replaced with Proxmox and then imported the old storage pool "tank". How would I go about pivoting the install to tank?

I'm thinking:
  1. zfs send the "ROOT" and "data" datasets and children to tank
  2. boot from rescue media, destroy old rpool and import tank as rpool
  3. setup and chroot into install on rpool
  4. copy zpool cache to /etc/zfs/zpool.cache
  5. run proxmox-boot-tool refresh (leaving boot partitions with same uuid's on two former rpool disks)
Does this sound like it will work?
 

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!