ZFS Questions on SSD Cache Device

I have a little home server, mainly used as storage for my stuff (pictures, videos and documents) via netatalk for my Mac clients.
The Server is a HP N40L with an AMD Turion 1.5 GHz CPU, 16 GB RAM and 4*1GB HDDs.
It fits very well for my needs...
I use FreeBSD 11.1-RELEASE-p4 with ZFS (RAIDZ-1).

Now I have a 500 GB SSD laying around (Samsung EVO 850) and I wonder if I can use it as a cache device or someting. Does that make any sense at all? Whats the best way to do this?

Code:
fs1 9:22pm ~ > zpool status
  pool: zroot
 state: ONLINE
  scan: none requested
config:

    NAME        STATE     READ WRITE CKSUM
    zroot       ONLINE       0     0     0
      raidz1-0  ONLINE       0     0     0
        ada0p3  ONLINE       0     0     0
        ada1p3  ONLINE       0     0     0
        ada2p3  ONLINE       0     0     0
        ada3p3  ONLINE       0     0     0

errors: No known data errors
fs1 9:22pm ~ > zfs list
NAME                 USED  AVAIL  REFER  MOUNTPOINT
zroot                371G  2.19T   128K  /zroot
zroot/ROOT          1.34G  2.19T   128K  none
zroot/ROOT/default  1.34G  2.19T  1.34G  /
zroot/fileserver     365G  2.19T   365G  /zroot/fileserver
zroot/tmp            163K  2.19T   163K  /tmp
zroot/usr           5.47G  2.19T   128K  /usr
zroot/usr/home       244K  2.19T   244K  /usr/home
zroot/usr/ports     5.47G  2.19T  5.47G  /usr/ports
zroot/usr/src        128K  2.19T   128K  /usr/src
zroot/var            982K  2.19T   128K  /var
zroot/var/audit      128K  2.19T   128K  /var/audit
zroot/var/crash      128K  2.19T   128K  /var/crash
zroot/var/log        320K  2.19T   320K  /var/log
zroot/var/mail       151K  2.19T   151K  /var/mail
zroot/var/tmp        128K  2.19T   128K  /var/tmp
fs1 9:22pm ~ >
 
Now I have a 500 GB SSD laying around (Samsung EVO 850) and I wonder if I can use it as a cache device or someting. Does that make any sense at all?
Yes, it makes sense. But your machine doesn't have enough memory to make good use of a cache device. L2ARC requires memory, and you only have 16GB.
 
Back
Top