FreeNAS 8 alpha: How to use it

Written by admin on .

Since FreeNAS 8 binaries snapshots are available, here is a little HOW-TO with one disk shared by CIFS.
Simplified steps

  1. log on the webgui with login “admin” and password “freenas”
  2. Declare the disk
  3. Create a “group” (single) using previously declared disk
  4. Create a volume (mount point) using previously created group
  5. Enable a share service
  6. Add a share corresponding to the service previously enabled

Detailed steps with screen-shots:

  1. Go in Disk: Add disk
  2. Add your hard drive:

  3. Go in Disk: Group disk

  4. Create a “single” group type:

  5. Go in Disk, Create Volume

  6. Enter the detail of this Volume (mount point):

  7. Go in Services, CIFS/SMB

  8. Enable CIFS by Checking ON and clicking on save:

  9. Go in Services, CIFS/SMB, Add share

  10. Create your CIFS share by entering the name of your share, a description and the name of the volume you want to share, then click on save:

Share available with CIFS :-)

    iXsystems’ FreeNAS snapshot

    Written by admin on .

    Yesterday, iXsystems upload a snapshot of their new FreeNAS release on the SVN.
    The new FreeNAS is based on nanoBSD, then here are all the steps for generate the disk image of this release (from a FreeBSD 8.1 amd64).
    Refer to the README file for more information.

    cd /usr/src/tools/tools/nanobsd
    svn co freenas
    cd freenas 

    Then for build the 64bit release:

    sh ../../ -c freenas64.conf

    Of for build the 32 bit release:

    sh ../../ -c freenas32.conf

    The resulted disk image will be found in:

    (Don’t forget to copy the disk image in other place and before a reboot if you have the ‘clear_tmp_enable=”YES”‘ in you rc.conf!)
    Cross-compilation of a 32bit release should be possible, but didn’t works for the moment (stop during compile of ports/net/unison).

    The generated image can only boot from the first IDE device (/dev/ad0s1a) because of original nanoBSD script limitation (removed in BSDRP).

    If you would test it from an USB key, first step is to copy it on your key (/dev/da0 for this example):

    dd if=_.disk.full of=/dev/da0 bs=128k

    And we need to adapt it, first by setting glabel on each partitions:

    glabel label cfg /dev/da0s3
    glabel label data /dev/da0s4

    glabel label freenas /dev/da0s1a

    Then mount the root filesystem of the FreeNAS:

    mount /dev/label/freenas /mnt

    And add this line to boot/loader.conf (it’s a FreeBSD 8.1 boot from usb «feature»):

    Modify the etc/fstab like that:
    /dev/label/freenas / ufs ro 1 1
    /dev/label/cfg /cfg ufs rw,noauto 2 2
    /dev/label/data /data ufs rw 2 2

    And at last, modify conf/default/etc/remount too:

    mount -o ro /dev/label/cfg

    Unmount the key:

    umount /mnt

    Now you can try to boot from your usb key (login: root, no password).
    FreeNAS is configured as DHCP client, you can try to connect to the very experimental WebGUI, but as wrote in the readme, this first snapshot is only a testing of the «base» system.