This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| freenas_zil_l2arc_on_same_ssd [2015/03/04 10:31] – created herwarth | freenas_zil_l2arc_on_same_ssd [2015/03/05 09:18] (current) – herwarth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | ======SSD to be used in ZFS pool as L2ARC (cache) and ZIL (log) on FreeNAS====== |
| - | ====Configure | + | =====Configuration===== |
| - | ===Delete partitions on SSD=== | + | ====Delete partitions on SSD==== |
| gpart destroy -F /dev/da0 | gpart destroy -F /dev/da0 | ||
| gpart destroy -F /dev/da4 | gpart destroy -F /dev/da4 | ||
| - | ===Create partitions on SSD=== | + | ====Create partitions on SSD==== |
| gpart create -s GPT da0 | gpart create -s GPT da0 | ||
| gpart create -s GPT da4 | gpart create -s GPT da4 | ||
| Line 15: | Line 15: | ||
| gpart add -t freebsd-zfs -a 4k da4 | gpart add -t freebsd-zfs -a 4k da4 | ||
| - | ===Add the partitions to the pool=== | + | ====Add the partitions to the pool==== |
| zpool add sata-disk log mirror da0p1 da4p1 | zpool add sata-disk log mirror da0p1 da4p1 | ||
| - | zpool add sata-disk cache da0p2 da4p2 | + | |
| + | |||
| + | {{tag> | ||