First-time production server using zfs

rnovVcQi9Vk

New Member
Mar 13, 2023
3
0
1
I decided to go with ZFS instead of hardware raid for a new host server for the first time. It has 4 Dell Hynix 960GB SDDs for the ZFS volume and 128GB of RAM.

The main VM is an application server that is mostly an IO-bound application with lots of smallish files as the primary database. It also runs MySQL server.

I'm hoping for some feedback, as I'm concerned about regretting either using ZFS or not using the most permanent VM hard disk setup I can.

Any feedback would be greatly appreciated.
 
Then I would try it with a striped mirror (raid10) with default ashift=12 and default volblocksize=8K. You might want to disable atime or at least enable relatime. A very low latency SSD (best would be an Intel Optane) as a SLOG might also be a good idea to increase the sync write performance for the DBs.
 
Last edited:
Thankfully that's what I did. What about the VM Hard Disk

Cache: Default (No Cache)
Discard: True
SSD Emulation: True
IO Thread: false
Read-only: Flase
Backup: True
Skip Replication: False
Async IO: Default (io_uring)

Thanks for the help
 
Then I would try it with a striped mirror (raid10) with default ashift=12 and default volblocksize=8K. You might want to disable atime or at least enable relatime. A very low latency SSD (best would be an Intel Optane) as a SLOG might also be a good idea to increase the sync write performance for the DBs.
I saw someone mention that on zfs the atime is somehow important for the backups. Might want to check on that advice.
 
I saw someone mention that on zfs the atime is somehow important for the backups. Might want to check on that advice.
Totally depends on the software you are running on that pool. the Proxmox Backup Server for example needs atime, so it can't be disabled. But PBS still works fine with relatime, where the access time is only updated max once every 24 hours. Without disabling atime or enabling relatime, each read operation will also cause a write operation, doubleing the IOPS.
 

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!