“NAS4Free is an embedded Open Source Storage NAS (Network-Attached Storage) distribution based on FreeBSD. This project is a continuation of FreeNAS 7 series project.”
Peter and Viv from Computer assistance have built me a a shiny new HP microserver. It’s based on NAS4Free and has 3.5TB of storage in a ZFS raid array. It’s feature set is pretty huge and there’s a lot to learn. I’m a bit reluctant to use it with ‘real’ data until I understand a bit more. Here are some things I’ve found helpful.
Youtube introductions to NAS4Free.
These movies show how to install ownCloud. But He starts the NAS4Free setup from scratch so even if you don’t need ownCloud there’s a lot of useful info for a newbe.
I’m no Nas4Free expert so it will be a while before I write a how-to article. So here is my collection of useful links and tips.
SSH ( Secure_Shell )
If you enable the option “Permit root login”, the root password is the same as the WebGUI password but the login name is always “root”
If your user settings are configured with the ‘full shell’ option, you can connect with a SSH client to a remote terminal on NAS4Free.
Putty is an open source SSH client
- Support for SFTP and SCP protocols over SSH-1 and SSH-2 and plain old FTP protocol
- Batch file scripting and command-line interface
- Directory synchronization in several semi or fully automatic ways
- Support for SSH password, keyboard-interactive, public key and Kerberos (GSS) authentication
- Integrates with Pageant (PuTTY authentication agent) for full support of public key authentication with SSH
“ownCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web.”
This looks kinda cool but is way down my todo list.
Backup the Configuration
Once you have tested your configuration, be sure to back it up. Go to System → Settings and click the Save Config button. Your browser will provide an option to save a copy of the configuration database.
You should backup your configuration whenever you make configuration changes and always before upgrading NAS4Free.
Don’t fill up the drive
Alas ZFS is not designed to run with a full disk. The best thing to do is configure NAS4free to limit the size of your data to 80%.
In case you fall into this trap you can fix it by ‘nuking a large file’
- open a shell on the freenas machine.
- type “echo > /path/to/file/you/want/to/delete”