zfs pools with ssd caching

jolosan

New Member
Mar 11, 2022
2
0
1
44
Hello, I have a server with 5 sata disks, one SSD (128GB) and four HDD (2x2TB and 2x4TB).
I've installed proxmox 7.1 in the SSD.
I want to create two zfs pools (mirrored) one with two hard disks of 2TB and another with two disks of 4TB.
In the installation SSD disk I've created two partitions: 8GB for log L2ARC and 32GB for cache ZIL.
It's possible that both pools use the same partitions for log and cache ?

The way I define the pools is:
Code:
zpool create -f -o ashift=12 rpool mirror /dev/sdb /dev/sdc cache /dev/sda5 log /dev/sda4

If not possible, what happens if I don't use the SSD partitions for one of the pools? (The server has 32GB of RAM)
Thanks in avdance.
 
You have not enough RAM for using L2ARC efficiently. The ZIL is normally also smaller than your L2ARC by huge amount.

Is it possible to add another SSD? Then you could go a stripped mirror setup with all the disks and then use the two ssds for special device (metadata). ZIL could then be attached as a Optane NVME via PCIe. With this setup, you could get the maximum out of the hardware and still have redundancy (at least for all except the ZIL).
 

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!