zfs caching etc...

thesubmitter

Active Member
Jun 5, 2012
64
13
28
Hi,

Setting up several new machines which have
2 x 1TB SSD
2 x 4TB HDD

Theoretically I wanted to created

SSD Drives
800GB SSD ZFS Raid 1 - pool0 - root mount
100GB SSD CACHE partition
100GB SSD ZIL

HDD Drives
4TB ZFS Raid 1 - pool1 - secondary mount
|____100GB SSD CACHE
|____100GB SSD LOG

It doesn't seem possible via the installer nor does it seem possible to resize.


Any suggestions?
 
Its a bad idea to have cache, log and pool on the same HDD/SDD

Use your 2 x 4TB HDD for data. As of 2 x 1TB SSD you can split to 2 x 800 GB for ZFS pool data. The rest of 2 x 200GB SSD use for 100GB cache + 100GB log for one pool and the same way for another pool.

ZFS don`t add log in any raid mode.

To make it work try to install Debian (or ubuntu) with ZFS support and then upgrade to PROXMOX.
 
Its a bad idea to have cache, log and pool on the same HDD/SDD

Use your 2 x 4TB HDD for data. As of 2 x 1TB SSD you can split to 2 x 800 GB for ZFS pool data. The rest of 2 x 200GB SSD use for 100GB cache + 100GB log for one pool and the same way for another pool.

ZFS don`t add log in any raid mode.

To make it work try to install Debian (or ubuntu) with ZFS support and then upgrade to PROXMOX.


zfs pool data - wasn't familiar with that, - what is that?
I thought ZIL should be on raid (as opposed to L2ARC)
 
zfs pool data - wasn't familiar with that, - what is that?

I mean pool for your files.

from `man zpool`

Code:
Intent Log
       The ZFS Intent Log (ZIL) satisfies POSIX requirements for  synchronous transactions. For instance, databases often require their  transactions to be on stable storage devices when returning from a  system call. NFS and other applications can also  use  fsync()
       to ensure data stability. By default, the intent log is allocated  from blocks within the main pool. However, it might be possible to get  better performance using separate intent log devices such as NVRAM or a  dedicated disk. For example:

         # zpool create pool sda sdb log sdc

       [B]Multiple log devices can also be specified, and they can be mirrored.[/B] See the EXAMPLES section for an example of mirroring multiple log devices.

       Log devices can be added, replaced, attached, detached, and  imported and exported as part of the larger pool. Mirrored log devices  can be removed by specifying the top-level mirror for the log.

Cache Devices
       Devices  can  be added to a storage pool as "cache devices."  These devices provide an additional layer of caching between main memory  and disk. For read-heavy workloads, where the working set size is much  larger than what can be cached in main memory, using
       cache devices allow much more of this working set to be served  from low latency media. Using cache devices provides the greatest  performance improvement for random read-workloads of mostly static  content.

       To create a pool with cache devices, specify a "cache" vdev with any number of devices. For example:

         # zpool create pool sda sdb cache sdc sdd

       [B]Cache devices cannot be mirrored or part of a raidz configuration.[/B]  If a read error is encountered on a cache device, that read I/O is  reissued to the original storage pool device, which might be part of a  mirrored or raidz configuration.

       The content of the cache devices is considered volatile, as is the case with other system caches.
 

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!