From 6feb98d0325930f30d3c2dc9bea9d614704ad37d Mon Sep 17 00:00:00 2001
From: godp21 <godp21@inf.ufpr.br>
Date: Thu, 27 Apr 2023 09:55:06 -0300
Subject: [PATCH] adding description of zfs setup done in a database machine

---
 c3sldb1_zfs_setup.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 c3sldb1_zfs_setup.md

diff --git a/c3sldb1_zfs_setup.md b/c3sldb1_zfs_setup.md
new file mode 100644
index 0000000..a845d04
--- /dev/null
+++ b/c3sldb1_zfs_setup.md
@@ -0,0 +1,16 @@
+# ZFS config c3sldb1
+## Storage pool
+
+Configured 6 disks of 6Tb each on a RAID6 setup (raidz2 as called by ZFS)
+ 
+`zpool create tank raidz2 -f <6TB_DISKS_IDS>`
+
+## Caches
+### Read cache devices
+Two 300Gb SSDs with striped data
+`zpool add tank cache <300GB_SSDS_IDS>`
+
+### Write cache devices
+Two 240Gb SSDs mirroed in a l2arc setup. If one fails, there is another to cover the data writes.
+
+`zpool add tank log mirror <240GB_SSDS_IDS>`
-- 
GitLab