2 Mechanical disks and one SSD

MartijnNL

New Member
Feb 19, 2021
1
0
1
Hi, Im new to Proxmox. I've read alot about the possibilites with ZFS and SSD caching with Proxmox.

I would like to get some advice/configuration tips/howto about the following:

Server 1:
1x SSD 120GB (/dev/sda) using dedicated for Proxmox installation to run and containing some iso files.
2xHDD 750GB (/dev/sdb & /dev/sdc) using for DATA
1xSSD 480GB (/dev/sdd) using for cache

The HDD's will be in a Mirror and want to add the SSD 480GB as a dedicated caching for ZIL/LOG.

What is the best way to achieve this?

Should it be something like this?
zpool create -f -o ashift=12 VolumePool01 mirror /dev/sdb /dev/sdc cache /dev/sdd

Could not get it cleared out with the documentation and would love to get some expert advice with the current setup.

Thanks!
 
Last edited:

avw

Renowned Member
May 31, 2020
1,003
173
63
You say that you created a pool named VolumePool01 but the system shows that you named it vol01Pool and you appear to have configured the storage as VOL01. Please make sure that you use the correct name consistently.
 

fireon

Famous Member
Oct 25, 2010
3,821
304
103
39
Austria/Graz
iteas.at
BTW: You can driectly create a Zpool includen add this pool as storage to Proxmox with the webinterface.
 

Dunuin

Famous Member
Jun 30, 2020
4,222
917
143
Germany
1x SSD 120GB (/dev/sda) using dedicated for Proxmox installation to run and containing some iso files.
2xHDD 750GB (/dev/sdb & /dev/sdc) using for DATA
1xSSD 480GB (/dev/sdd) using for cache

The HDD's will be in a Mirror and want to add the SSD 480GB as a dedicated caching for ZIL/LOG.
Did you read about ZFS and caching? ZIL/LOG is only used for sync writes and mostly async writes are used, so most of the time that SSD isn't caching any writes at all. And you are only using super small HDDs. If you fear that the HDDs might be too slow it would be more usefull to just use two 1TB SDDs as mirror. Or 2x SSDs as mirror for your VMs virtuak disks + 2x HDDs as mirror for data that doesn't need to be fast.
 
  • Like
Reactions: MartijnNL

bobmc

Active Member
May 17, 2018
306
46
33
64
I would be inclined to set up as follows

SSD-120GB - Proxmox Install (~100GB) - remainder to be used for cache/log
HDD-750GBx2 - ZFS Mirror DATA/ISO/Templates/Backups
SSD-480GB - VM Storage for Images and Containers (~460GB) - remainder for cache/log

The only issue with this is that you have no redundancy on your VM Storage so you need to make sure you are backing them up to the ZFS pool or to somewhere else.
 
  • Like
Reactions: MartijnNL

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 your own in 60 seconds.

Buy now!