Can I rename the boot zfs pool?

Brian Read

Renowned Member
Jan 4, 2017
130
11
83
76
West Lancashire, UK
changeofkey.org.uk
I've installed with the system partition as a zfs mirror. It called it "rpool" which unfortunately clashes with the name of the data zfs pool I already had. Can I rename the boot zfs pool without compromising the boot process?

I realize I'll have to do that with a zfs enabled system booted from USB key.

Cheers Brian
 
I've done the edit and am now struggling to copy the /etc/pve contents to the new server. I've tar'd the directory up and copied it to the running proxmox but I guess because /etc/pve is in use it will not let me add/overwrite.

So I guess I have to run from a USB key (Ubuntu seems to work). However how do I mount the bootable zfs pool so that I can get at /etc/pve?
 
"/etc/pve" is no a normal folder, it's the contant of a SQLite datasbase munted via fuse as pmxcfs flesystem to "/etc/pve". So when booting a Ubuntu where the pvecluster service isn't running that /etc/pve won't be mounted and be empty. See: https://pve.proxmox.com/wiki/Proxmox_Cluster_File_System_(pmxcfs)
Ok, I'll give up and just re-install and get the VMs etc from backup server. Just trying to avoid the 8-10 hour restore(s) that involves.

Thanks for the help.