Remaking zpools of the same name

hydrian

New Member
Jul 14, 2021
2
0
1
45
I recently made a mistake because with one of my zpools on my proxmox server. I added the drive as a stripe instead of a mirror. Now, because of a bug in zfs (https://github.com/openzfs/zfs/pull/11409) i can't remove the drive from the pool. So now I have to delete and recreate the pool.

I can back it up easily with zfs send/receive to another temp zpool, so I can easily delete the only pool. My question is there a way to me to recreate the pool with without removing and creating all the associated VMs. I ask this because the zpool is the main pool for all my VMs base OSes.

I was thinking about it this way:
  1. Going into single-user/rescue mode.
  2. Backing up the zpool.
  3. deleting the bad zpool.
  4. Creating a zpool of the same name.
My concern is that proxmox refers to zpools by UUID and not the name. I have a feeling it does because there have been multiple troubleshooting requests about having multiple zpools of the same name.

How would I update proxmox to use the new zpool UUID after I recreate my fixed pool?
 

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!