HexOS (Work in progress)

I’ve never used TrueNAS before and dived to many times into it to fix HexOS bugs, but it’s Beta software so I wont complain.

Hardware

This is what I use (a bunch of old Hardware laying around) and it’s probably not the smartest config.

  • Corsair 500 W PSU (too much, but cheap)
  • ASUS PRIME B450M-A II (mATX) (Fine!)
  • AMD Ryzen 3 2200G (no GPU required)
  • 2x 8 GB G.Skill Aegis (no OC for stability)
  • Noname Realtek RTL8125 2.5 Gb Ethernet Card
  • Akyga AK35BK case (screwing things in sucks but the rest is fine for the price)
  • A boot SSD (on the back) and two WD Red Pro 4TB 3.5″ (bottom and front) for the pool
  • No extra case fans. I have two open PCI-E slot covers (from a GPU) where fresh air comes in and exhausts through the PSU on top. CPU and HDD temps are (idle) between 30-40° C.

BIOS Settings

I would recommend these options:

  • Boot → Secure Boot → OS Type [Other OS) to disable it
  • Advanced → CPU Configuration → SVM Mode [Enabled] for Virtualization
  • Advanced → APM Configuration → Power On By PCI-E [Enabled] for Wake on LAN
  • Boot → Boot Configuration → Wait for F1 if Error [Disabled] because missing Keyboard/GPU

Shutdown and Wake on LAN

I live in a place with high power cost and turning it off when I’m not at home or sleeping makes sense. I know the drives don’t like that but If one fails, thats what the second is for, right?

Shutdown

Setup a CRON Job with the command:
/sbin/shutdown -P

Wake on LAN

  1. Search the name of your network adapter on the HexOS Dashboard
  2. Go into System –> Shell
  3. Give yourself admin rights with:
    sudo -i
    Then paste your truenas_admin passwort with CTRL+Shift+V
  4. Activate Wake on LAN on your Network device with:
    ethtool -s [adaptername] wol g
  5. Check with
    ethtool [adaptername]
    if Wake-on is g

More ideas

Your NAS should now react to Magic Packets but it might „forgets“ this setting, so someone suggested Init/Shutdown Scripts

A good tool on Windows to send wake ups is NirSoft’s WakeMeOnLAN commands

Power saving

First, move the System Data Set to the boot-drive (System –> Advanced Settings –> Storage –> Configure). Else, every few minutes, something would be written on the HDD’s and they wouldn’t go into standby.

But now the 25.10 problem: They removed S.M.A.R.T settings.

Maybe this can help: https://github.com/ngandrass/truenas-spindown-timer

Some thing to explore

  • Can I use my boot SSD for other things? Its too large just for a bit of NAS software.
  • One power saving solution was to disable SMART and run it on startup with a script
    Do the device names change on every startup?! Looks like, so my SMART scipts didn’t make sense. smartctl -n standby -t short /dev/sdx

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert