I had a requirement for a new Proxmox server with zfs. Unfortunately the hosting company I'm with did not have a bootable proxmox+zfs installer so I had to install Debian first, then adding Proxmox and zfs, By and large this wasn't too hard, and I now have the system setup with the base Proxmox on a smallish raid-1 partition, and the rest of the disks in zfs raidz1.
Problem now is that /var/lib/vz is on the root partition. I provisioned a filesystem "zfs create -o mountpoint=/var/lib/vz poolz/vz" but it compains that the /var/lib/vz partition isn't empty - there are a couple of directories. If I delete them they are just recreated again. What is the correct way to go by removing/recreating the /var/lib/vz partition please.
A pointer to documentation explaining this would work, I haven't been able to find any.
Problem now is that /var/lib/vz is on the root partition. I provisioned a filesystem "zfs create -o mountpoint=/var/lib/vz poolz/vz" but it compains that the /var/lib/vz partition isn't empty - there are a couple of directories. If I delete them they are just recreated again. What is the correct way to go by removing/recreating the /var/lib/vz partition please.
A pointer to documentation explaining this would work, I haven't been able to find any.