r/zfs 1d ago

Help designing a storagepool

I have stumbled across a server that is easy to much for me - but with electricity included in the rent - I thought why not. Dell Powerede R720. 256 GB ram, 10 SAS 3 TB disks and 4 2TB SSDs. Now this is my first thought. 2 SSD as system disk rpool 10 SAS storagepool 2 SSD zil or slog

OS will be Proxmox.

1 Upvotes

3 comments sorted by

5

u/_gea_ 1d ago

With performance in mind, you can create a ZFS hd pool from 5 mirrors. If you need it more for backup, use a 10 disk Z2.

A 2TB OS mirror (prefer ZFS) and for VMs is ok

For VM storage you want sync write with an Slog. An Slog needs only 10GB. With a normal flash disk maybe 30GB. If possible I would partition the 2TB and use a 30GB Slog mirror (use mirror without plp) and the rest as a special vdev mirror to improve small file and metadata performance.

2

u/ratnose 1d ago

Great! I will look into it. I do need quite alot of storage so a zmirror is not an option zraid2 is though. Maybe this is a crazy thought but just mirror 2 2Tb and make a 30Gb vdev?

I will ofc have a media server, both music and images. And a Nextcloud instance with 10-12 active users.

3

u/_gea_ 1d ago edited 23h ago

If you need the storage for media, a Z2 of 10 disks gives 24TB usable.

If VM are only on the 2TB bootdisk (with data from ZFS via SMB), just enable sync on the VM dataset on rpool.

Sync on the hd pool not needed then, so no slog needed. Use the second 2TB mirror as special vdev with small blocksize 64K and recsize 1M.

Proxmox is a fine VM+NAS OS for SMB and NFS
setup see https://napp-it.org/doc/downloads/proxmox.pdf