• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

CentOS NFS server - sSSD cache?

MrGuvernment

Fully [H]
2FA
Joined
Aug 3, 2004
Messages
24,107
Hello all,

After getting my home lab beefed up, but still waiting on some drivers when the budget allows. I wanted to venture into setting u an NFS server.

Instead of using FreeNAS or something i am going with CentOS 7 as an NFS server.

My question was, I wanted to use a spare SSD I have as a cache drive. Right now I only have 2 x 3TB Toshiba's in a raid 1, with hopefully 4 more coming in the next month for a 6 drive raid 10.

I wanted to see if for now I could squeeze as much performance as i could from the raid 1 by using the SSD as a read/write cache.

I am googling around on various guide, but am finding it hard to find a defining answer on using an SSD as a cache drive.

Has anyone here done this, or have any insight into doing it?
 
If you simply use ZFS as filesystem you will get not only the best datasecurity but one of the best cache stragegies like the rambased writecache (a few seconds of write) and the rambased ARC readcache. SSDs on ZFS can be used to protect the fast rambased writecache (Slog) or to enhance the rambased readcache (L2ARC)
 
Thank you acquacow.

_Gea, I am open to suggestions and that sounds like it could be very nice as well, this will be storage for ESXi VM's in my home lab.
 
Heh, my ESXi server hosts a VM that provides storage for other VMs... It's all in one server.
 
If you simply use ZFS as filesystem you will get not only the best datasecurity but one of the best cache stragegies like the rambased writecache (a few seconds of write) and the rambased ARC readcache. SSDs on ZFS can be used to protect the fast rambased writecache (Slog) or to enhance the rambased readcache (L2ARC)

Its not a cache but a small buffer, and all operating systems/filesystems have this. ZFS don't have any write caching. Unless you use it with hardware raid, which is expensive.
I would still use ZFS though, the other filesystems may perform better with a cache, but they are also a lot more dangerous.
 
A cache is a large buffer.
In case of ZFS its size depends on network performance as it is intended to cache up to 5s of writes to transform all small random writes to a single large sequential write. On a 10G network this means a "buffer" of up to 5 GB. This is more than a small buffer.
 
/me flexes his uncached storage capabilities

70bqqoE.png
 
Back
Top