This section provides a Quick Start which summarizes the configuration workflow for TrueNAS®.
TrueNAS® provides an Alert icon in the upper right corner to provide a visual indication of events that warrant administrative attention. The alert system automatically emails the root user account whenever an alert is issued.
To set the email address for the root account, go to Account –> Users –> View Users. Click the “Change E-mail” button associated with the root user account and input the email address of the person to receive the administrative emails.
To view system messages within the graphical administrative interface, go to System –> Settings –> Advanced. Check the box “Show console messages in the footer” and click “Save”. The output of tail -f /var/log/messages will now be displayed at the bottom of the screen. If you click the console messages area, it will pop-up as a window, allowing you to scroll through the output and to copy its contents.
You are now ready to start configuring the TrueNAS® system. Typically, the configuration workflow will use the following steps in their listed order.
When creating a volume, you have several choices depending upon your storage requirements and whether or not data already exists on the disk(s). The following options are available:
If you format your disk(s) with ZFS, additional options are available:
TrueNAS® supports a variety of user access scenarios:
When configuring your TrueNAS® system, select one of the following, depending upon whether or not the network has an existing OpenLDAP or Active Directory domain. OpenLDAP and Active Directory are mutually exclusive, meaning that you can not use both but must choose one or the other.
Setting permissions is an important aspect of configuring access to storage data. The graphical administrative interface is meant to set the initial permissions in order to make a volume or dataset accessible as a share. Once a share is available, the client operating system should be used to fine-tune the permissions of the files and directories that are created by the client.
Configured volumes and datasets will appear in Storage –> Volumes. Each volume and dataset will have its own “Change Permissions” option, allowing for greater flexibility when providing access to data.
Before creating your shares, determine which users should have access to which data. This will help you to determine if multiple volumes, datasets, and/or shares should be created to meet the permissions needs of your environment.
Once your volumes have been configured with permissions, you are ready to configure the type of share or service that you determine is suitable for your network.
TrueNAS® supports several types of shares and sharing services for providing storage data to the clients in a network. It is recommended that you select only one type of share per volume or dataset in order to prevent possible conflicts between different types of shares. The type of share you create depends upon the operating system(s) running in your network, your security requirements, and expectations for network transfer speeds. The following types of shares and services are available:
Once you have configured your share or service, you will need to start its associated service(s) in order to implement the configuration. By default, all services are off until you start them. The status of services is managed using Services –> Control Services. To start a service, click its red OFF button. After a second or so, it will change to a blue ON, indicating that the service has been enabled. Watch the console messages as the service starts to determine if there are any error messages.
If the service successfully starts, try to make a connection to the service from a client system. For example, use Windows Explorer to try to connect to a CIFS share, use an FTP client such as Filezilla to try to connect to an FTP share, or use Finder on a Mac OS X system to try to connect to an AFP share.
If the service starts correctly and you can make a connection but receive permissions errors, check that the user has permissions to the volume/dataset being accessed.
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 TrueNAS®.