Dette viser forskellene mellem den valgte og den nuværende udgave af dokumentet. Gul er linjer der findes i den gamle udgave, og grøn er linjer der findes i den nuværende.
| Begge sider forrige revision Forrige revision Næste revision | Forrige revision | ||
|
proxmox_server_setup [2018/12/03 14:35] noer [ZFS] |
proxmox_server_setup [2026/07/13 02:42] (nuværende) 216.73.216.243 gammel revision gendannet (2018/11/23 10:50) |
||
|---|---|---|---|
| Linje 11: | Linje 11: | ||
| Install packages | Install packages | ||
| < | < | ||
| - | apt-get install mosh fail2ban vim sudo git xinetd smartmontools | + | apt-get install mosh fail2ban vim sudo git xinetd smartmontools |
| </ | </ | ||
| Linje 35: | Linje 35: | ||
| SMART [[https:// | SMART [[https:// | ||
| - | Change ''/ | ||
| - | < | ||
| - | enable_smart="/ | ||
| - | |||
| - | start_smartd=yes | ||
| - | |||
| - | smartd_opts=" | ||
| - | </ | ||
| - | |||
| - | Comment other lines and add this in ''/ | ||
| - | < | ||
| - | /dev/sda -d sat -s (S/ | ||
| - | /dev/sdb -d sat -s (S/ | ||
| - | |||
| - | # SEND TEST Mail | ||
| - | /dev/sda -m jesper@noerit.gl -M test | ||
| - | </ | ||
| ==== Certificate ==== | ==== Certificate ==== | ||
| This is good for 5.2 | This is good for 5.2 | ||
| Linje 80: | Linje 63: | ||
| < | < | ||
| zfs set xattr=sa (pool) | zfs set xattr=sa (pool) | ||
| - | </ | ||
| - | |||
| - | Limit the amount of memory that ZFS can use as cache. | ||
| - | |||
| - | Create file ''/ | ||
| - | < | ||
| - | # ZFS tuning for a proxmox machine that reserves 8GB for ZFS | ||
| - | |||
| - | # Don't let ZFS use less than 4GB and more than 8GB | ||
| - | options zfs zfs_arc_min=4294967296 | ||
| - | options zfs zfs_arc_max=8589934592 | ||
| - | |||
| - | # disabling prefetch is no longer required | ||
| - | options zfs l2arc_noprefetch=0 | ||
| </ | </ | ||