Hi all,
I have recently installed PROXMOX and I want to use it together with a ZFS pool primarily for backups. So the idea is to install borg on a VM or on a LXC container or even on a docker container and store my backups from some machines on ZFS datasets. I have created the ZFS pool as well as some datasets and now I'm stuck with the storage options, that PROXMOX offers. I have read in some threads that a VM should reside on a ZFS volume and not on a dataset. So I have created a volume:
root@proxmox:/proxmox-pool/# zfs create -V 10gb proxmox-pool/borg_vol
I could see the created volume in the console but not in the PROXMOX GUI. I've tried to create a LVM physical volume according to this:
acidrop.biz/wp/?p=559
but then:
root@proxmox:/dev/zvol/proxmox-pool# pvcreate /dev/zd0
Device /dev/zd0 not found (or ignored by filtering).
Then I found this:
serverfault.com/questions/720868/pvcreate-device-dev-sdxx-not-found-or-ignored-by-filtering
Indeed dev/zd* devices are filtered:
# Do not scan ZFS zvols (to avoid problems on ZFS zvols snapshots)
global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" ]
So what is going on? What am I missing? Do Disk Images and Containers need to be on ZFS Volumes or not? What should I choose in the GUI? And also what should I choose for the backup storage? I suppose for the latter should be Directory but what kind of Content?
Regards,
Nick
I have recently installed PROXMOX and I want to use it together with a ZFS pool primarily for backups. So the idea is to install borg on a VM or on a LXC container or even on a docker container and store my backups from some machines on ZFS datasets. I have created the ZFS pool as well as some datasets and now I'm stuck with the storage options, that PROXMOX offers. I have read in some threads that a VM should reside on a ZFS volume and not on a dataset. So I have created a volume:
root@proxmox:/proxmox-pool/# zfs create -V 10gb proxmox-pool/borg_vol
I could see the created volume in the console but not in the PROXMOX GUI. I've tried to create a LVM physical volume according to this:
acidrop.biz/wp/?p=559
but then:
root@proxmox:/dev/zvol/proxmox-pool# pvcreate /dev/zd0
Device /dev/zd0 not found (or ignored by filtering).
Then I found this:
serverfault.com/questions/720868/pvcreate-device-dev-sdxx-not-found-or-ignored-by-filtering
Indeed dev/zd* devices are filtered:
# Do not scan ZFS zvols (to avoid problems on ZFS zvols snapshots)
global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" ]
So what is going on? What am I missing? Do Disk Images and Containers need to be on ZFS Volumes or not? What should I choose in the GUI? And also what should I choose for the backup storage? I suppose for the latter should be Directory but what kind of Content?
Regards,
Nick
Last edited: