ZFS and LVM

taich

Member
Aug 15, 2020
110
15
23
64
I run a proxmox 7 server with a ZFS storage. I recently installed oracle linux as a VM on it and since then I have problems with io-delay.
As soon as I start this VM io-delay goes up to 80-90%. The server is neatly slow.

I moved the disk to another storage (NFS) and io-delay went down to 1%.

Since oracle linux uses LVM I think that ZFS and LVM wont do well thogether.
Or is there another reason for this behaviour?
 
Last edited:
In general LVM ontop of ZFS should run fine. I guess it should be something else. You should check whats writing that much inside the VM. Maybe iostat/htop/iotop might help to find it out.
 
Last edited:
There is nothing fancy. The VM writes every 1-2 seconds about 10-20k.
May be there are some ZFS parameters to set.
 
My oracle linux 8 uses XFS and I have only one ZFS disk.
And I checked it again, as soon as I move the oracle disk to ZFS io-delay goes up to 80%.
NFS and local dir do not show this behavior.
 

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!