Building FreeNAS

How to set up a build environment for customizing FreeNAS

Adjusted from instructions in the FreeNAS wiki.

Install FreeBSD 7.2

  1. Boot up the FreeBSD 7.2 installer disc
  2. Country Selection
  3. Console keymap
  4. Installation Mode - Express (Begin a quick installation (for expert)'ts)
  5. Destination - press "A" to use the entire disk and then "Q" to quit
  6. Boot Manager - use the FreeBSD boot manager.


AFP with Open Directory

How to get FreeNAS 0.7 to authenticate via LDAP against Open Drirectory on OS X Server.

From a forum post on the FreeNAS forums.

UAMS compiling

mkdir -p /extra/src
cd /extra/src
tar zxf netatalk-2.0.5.tar.gz
cd netatalk-2.0.5

Configuration options:

./configure \
--bindir=/usr/local/bin \
--sbindir=/usr/local/sbin \
--sysconfdir=/var/etc \
--localstatedir=/var \
--enable-largefile \
--disable-tcp-wrappers \
--disable-cups \
--with-pam \


FreeNAS is an embedded open source NAS (Network-Attached Storage) distribution based on FreeBSD, supporting the following protocols: CIFS (samba), FTP, NFS, TFTP, AFP, RSYNC, Unison, iSCSI (initiator and target) and UPnP.

It supports Software RAID (0,1,5), ZFS, disk encryption, S.M.A.R.T/email monitoring with a WEB configuration interface (from m0n0wall).

FreeNAS can be installed on Compact Flash/USB key, hard drive or booted from LiveCD.


Subscribe to RSS - freenas

Recent Updates

  • 1 year 1 month ago
  • 1 year 1 month ago
  • 1 year 1 month ago
    php 8.x
  • 1 year 1 month ago
  • 1 year 1 month ago
    Drop Centos 5/6 stuff