-
HOWTO: ZFS add SSD as write (L2ARC) cache .. and performance statistics
0. The setup FreeBSD 9.2 with 3x SATA2 HDD in raidz1 and zfs on root: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk2 ONLINE 0 0 0 gpt/disk3 ONLINE 0 0 0 1. Adding the SSD as L2ARC cache (ssd is…
-
HOWTO: FreeBSD Jails: move postfix queue directory to ssd hard drive (outside the jail)(zfs)
1. Create directories where postfix queues and maillogs will be mounted #mkdir /ssd/postfix/smtp203/maillogs /ssd/postfix/smtp203/queues 2. Mount with nullfs the ssd directories into the freebsd jail directory tree #mount_nullfs -orw /ssd/postfix/smtp203/maillogs/ /jails/smtp203/maillogs/ #mount_nullfs -orw /ssd/postfix/smtp203/queues/ /jails/smtp203/queues/ 3. Enter the jail and make queues directory avail for postfix #jexec 3 csh smtp203# grep maillogs /etc/syslog.conf mail.info /maillogs/maillog…