Skip to main content

TrueNAS core TIPS

And for completion here are some tips in general for NAS:

 

  1. Use backup. NAS is not a backup. It is a part of backup, never forget this. Always have backup on a different media (or different NAS) and off site if possible!

  2. Use hard disks and SSDs from different vendors always. You may be unlucky and receive media from a problematic batch and have multiple failures during the recovery.

  3. Use RaidZ2 or RAID6 or better to reduce the risk of completely losing the data.

  4. Use high quality PSU. A NAS runs all the time, so selecting PSUs with GOLD certification or better can reduce your power consumption.

  5. Use UPS or at least an AVR. It is a very bad idea to stop a NAS system without proper shutdown procedure.

  6. Don't overuse the NAS server with multiple VMs/docker instances/Jain instances. Keep it simple!

Here are some tips and tricks from my TrueNAS home NAS server. In my previous post I analyzed the reasons for using TrueNAS instead of Linux distributions (ZFS, stability etc). After two months running the system, here are some tips from experience using it:

  1. Use a stable version. Although very stable, TrueNAS can contain bugs. Try to use the stable and the production ready versions (RELEASE).
  2. Use a dual media from different vendors for boot devices to avoid catastrophic scenarios.
  3. Always backup (a) the configuration and (b) the encryption keys. If you lose your encryption keys, you lose your data!
  4. Prefer the official repository plugins rather than the community maintained. From time and time I noticed incompatibilities after updates.
  5. Don't add many Jails instances. If you overshoot it, then something is wrong in your system design.
  6. Test your system (motherboard, controllers, nics, etc) if it compatible with the distribution.

Popular posts from this blog

Processing Milky Way in RawTherapee

This text is an analysis of a video I did some months ago how to process photos of our Milky Way in RawTherapee. You can find the picture here . The photo was taken by wiegemalt. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Editing: Step 1: Fixing lighting The first thing someone notices when opening the picture is the extreme noise due to high ISO used (1600 - check the picture on the right). The first thought is to de-noise the picture, however, if you do that you are going to loose the details of the night sky. The main reason for the high noise is the additional exposure Rawtherapee adds when the 'Auto' button is pressed. In particular, the RT adds +2.4 EV to equalize the picture. This is Wrong! What we want is to keep the noise down and at the same time bring the stars up. That's why we are going to play with the Tone Curve of the RT. To adjust the light properly we increase the cont

Static linking with gcc and g++

In this tutorial, we will explain what the static linking is, how this affect the size of final binary, and why statically linking with g++ sometimes is pain. By definition, a statically compiled binary is a group of programmer ‘s routines, external functions, and variables which are packed into the final binary executable. The compiler or the linker produces the final object and embeds all the functions and variables and the linking phase.  There are two reasons of using dynamic linking and shared libraries: 1) Avoid creating a huge binary, if all the programs use a standard set of libraries why not having the operating system providing to them 2) Compatibility on operating system and machine dependant characteristics: sometimes the libraries must be implemented based on the architecture or the operating system and using dynamic linking is an easy way to avoid this catch. On the other hand, static linking is the ideal way of distributing one software product, paying