FreeNAS Notes Revision as of Sunday, 20 December 2015 at 19:56 UTC

Notes

Gigabyte USB Boot Issues

BIOS would ‘forget’ boot order. Configured USB stick as hard drive.
Problem solved by upgrading from F1 to
F3
.

FreeNAS Upgrade

Downloaded GUI upgrade
for v9.2 (x86-64). Backed up config, then applied.

Got the dreaded “Mounting failed with error
19

message no matter what I tried in BIOS (disabling XHCI, etc.) Plugging
USB stick into a 2.0 port seemed to work. ZFS volume upgrade was quick
and painless.

Hardware

I didn’t care about size. Also wanted a mobo that has as many onboard
SATA ports as possible. Lots of memory since ZFS loves
memory
.

Component Link Price
Case NZXT Source 210 $79.99
PSU Rosewill Capstone 450W $59.99
Motherboard Gigabyte GA-F2A85XM-D3H $39.99
CPU AMD A4-5300 APU 3.4Ghz $49.99
Memory Corsair Vengeance 16GB $129.99
Storage (x4) Seagate Barracuda 3TB SATA 6 Gb/s $120
FreeNAS stick ADATA S102 8GB USB 3.0 $20
Fan Filters (x4) Rosewill RFT-120 $4

Software Configuration

Sudoers

Need to have NOPASSWD sudo access for my backup
scripts
. Created a user
in the “wheel” group and added a cron job via the web interface. Bad
part is that I have to do this with every update. Maybe a jail can solve
this?

sudo su -

# Mount read-write
mount -wu /

# Edit sudoers file
chmod u+w /conf/base/etc/local/sudoers
echo -e "\n# For ZFS snapshots\n%wheel ALL=(ALL) NOPASSWD: ALL" >> /conf/base/etc/local/sudoers
chmod u-w /conf/base/etc/local/sudoers

# Mount read-only
mount -ru /

# Make sure to reboot when done

References

Category: Nikhil’s Notes
Category: Installation Logs
Category: FreeNAS