Use ZFS in guest ? No ZFS on host due to hardware RAID disks.

tobiasviljoen

New Member
Jul 28, 2021
5
0
1
62
AS per :
Do not use ZFS on top of a hardware RAID controller which has its own cache management. ZFS needs to communicate directly with the disks.

Proxmox is set up on HPE Server with Raid, so no ZFS on host.

That being said ... Is it possible to use ZFS inside guests without problems ?
Is the guest disk "immune" to running into problems if ZFS is used on it ?
Is there enough of a layer between guest and the hardware RAID parent disk ?

Is the type of guest disk an issue ? RAW or QCOW ?

Thanks for your comments.
 
Any comments ?

Is there anyone that has experience with running ZFS on guests while the host cannot ?
 
Hi,

ZFS has some extraordinary capabilities like redundancy, checksums, self-healing, compression and so on. For some functions access to the physical disks is a hard requirement.

For this reason it is always recommended to install it directly on hardware. Not on Raid-Controllers and not on virtual drives. If you really need to run it in a virtual machine an acceptable way is to handover a disk controller in its entirety to that VM via a pass-through mechanism. (There are recommendations on which controller to buy somewhere here in the forum.)

That said: it is absolutely possible to install ZFS on any block device for teaching and/or for learning the behavior in simulated failure conditions. Just don't put any valuable data on that pool...

Just my 2 €¢
 
  • Like
Reactions: pvps1
Hi,

ZFS has some extraordinary capabilities like redundancy, checksums, self-healing, compression and so on. For some functions access to the physical disks is a hard requirement.

For this reason it is always recommended to install it directly on hardware. Not on Raid-Controllers and not on virtual drives. If you really need to run it in a virtual machine an acceptable way is to handover a disk controller in its entirety to that VM via a pass-through mechanism. (There are recommendations on which controller to buy somewhere here in the forum.)

That said: it is absolutely possible to install ZFS on any block device for teaching and/or for learning the behavior in simulated failure conditions. Just don't put any valuable data on that pool...

Just my 2 €¢
Thank you. Noted
 

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!