<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TrainSignal Training &#187; FreeNAS</title>
	<atom:link href="http://www.trainsignal.com/blog/tag/freenas/feed" rel="self" type="application/rss+xml" />
	<link>http://www.trainsignal.com/blog</link>
	<description>Guide to Certifications and Technology News for IT Professionals</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:00:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Make FreeNAS 8 Do More: Configuring FTP, TFTP &amp; SSH Services</title>
		<link>http://www.trainsignal.com/blog/freenas-services-ftp-tftp-ssh</link>
		<comments>http://www.trainsignal.com/blog/freenas-services-ftp-tftp-ssh#comments</comments>
		<pubDate>Wed, 08 Feb 2012 14:00:00 +0000</pubDate>
		<dc:creator>Gary Sims</dc:creator>
				<category><![CDATA[Tips and Tutorials]]></category>
		<category><![CDATA[Backup and Storage]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.trainsignal.com/blog/?p=30145</guid>
		<description><![CDATA[This tutorial goes beyond disks and sharing. All you need is a FreeNAS 8 system with one volume to learn how to configure FTP, TFTP, and SSH services.]]></description>
			<content:encoded><![CDATA[<p>FreeNAS 8 is an excellent Network Attached Storage (NAS) solution and is ideal for providing Windows machines access to storage over the network. However, FreeNAS can do much more. The Common Internet File System (CIFS), which is used to share data with Windows machines, is only one part of the FreeNAS system. As well as services to share files with Linux (via NFS) and Mac OS X machines (via AFP), FreeNAS also offers FTP, TFTP and SSH services.</p>
<p>In this tutorial we will go beyond disks &#038; sharing and configure the FTP, TFTP and SSH services. I will assume you have a FreeNAS system installed with at least one volume configured. For more information on installing FreeNAS and setting up volumes see my <a href="/blog/nas-setup-guide"title="NAS Setup Guide">NAS Setup Guide</a>.</p>
<p>Before activating the FTP or SSH services it is necessary to create a user. The first step is to add a Group to which all users who access the FreeNAS server will be members. To do this, click “Account” in the left menu tree. Click “Group” and then “Add Group.” Enter a “Group Name” (eg. freenasusers) and click “OK.” To add a user, click “Users” and then “Add User.” In the “Add User” dialog enter the “Username” (eg. “gary”), “Full Name” and “Password” (twice). Set the “Primary Group” to “freenasusers”, select “bash” for the “Shell” and enter a “Home Directory.” The home directory needs to be a directory somewhere on your volume. If there is a volume called “store” its path is “/mnt/store” and a good directory for a user would be “/mnt/store/gary” where “gary” is the user created above. Click “OK.”</p>
<div id="attachment_30146" class="wp-caption aligncenter" style="width: 584px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2012/01/FN8-AddUser.png"><img class="size-full wp-image-30146" src="http://www.trainsignal.com/blog/wp-content/uploads/2012/01/FN8-AddUser.png" alt="" width="574" height="586" /></a><p class="wp-caption-text">Add a user</p></div>
<p><em>Note: If the home directory doesn&#8217;t exist, FreeNAS will automatically create it with the correct file permissions.</em></p>
<h3>FTP</h3>
<p>To configure and enable the FTP service, click “Services” on the toolbar below the FreeNAS logo and then click the small wrench icon next to “FTP”. On the “FTP Settings” dialog tick the box next to “Allow Local User Login”. Click “OK.” Now click the “FTP” “Off” switch to make it go from “Off” to “On.”</p>
<p>The FTP service is now running. Connecting to the FreeNAS server from any FTP client (on any OS with an FTP client) will allow the user to login and upload/download files. The working directory will be the home directory specified when the user was created.</p>
<div id="attachment_30147" class="wp-caption aligncenter" style="width: 676px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2012/01/FN8-FTP.png"><img class="size-full wp-image-30147" src="http://www.trainsignal.com/blog/wp-content/uploads/2012/01/FN8-FTP.png" alt="" width="666" height="659" /></a><p class="wp-caption-text">Tick &quot;Allow Local User Login&quot;</p></div>
<h3>SSH</h3>
<p>Enabling the FTP service is simple. Click “Services” and click the “SSH” “Off” switch to make it go from “Off” to “On.”</p>
<p>The SSH service is now running. Linux and Mac OS X users can connect using the ssh command line tool. Windows users can download a free (and popular) ssh client known as <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTY</a>.</p>
<h3>Enable home directories</h3>
<p><strong> </strong>It is worth noting that FreeNAS can be configured to provide home directories to all Windows users. To do this click “Services”, click the small wrench icon next to “CIFS”.  On the “CIFS Settings” dialog, tick “Enable home directories” and enter the path in the “Home directories” field. The path should be one level up from where you have created the user directories. Above I used “/mnt/store/gary” and so the path should be set to “/mnt/store”. If I had used “/mnt/store/home/gary” as the home directory for the “gary” user, then the “Home directories” path would be “/mnt/store/home”. Click “OK” to set the options.</p>
<div id="attachment_30148" class="wp-caption aligncenter" style="width: 651px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2012/01/FN8-CIFS-HOMEDIR.png"><img class="size-full wp-image-30148" src="http://www.trainsignal.com/blog/wp-content/uploads/2012/01/FN8-CIFS-HOMEDIR.png" alt="" width="641" height="661" /></a><p class="wp-caption-text">Enable home directories for Windows users</p></div>
<h3>TFTP</h3>
<p>FreeNAS provides a Trivial File Transfer Protocol (TFTP) service which is a simple, unauthenticated file sharing service often used to boot “dumb” devices or thin clients via the Preboot Execution Environment (PXE) found on more advanced network cards.</p>
<p>To configure and enable the TFTP service, click “Services” and then click the small wrench icon next to “TFTP”. On the “TFTP Settings” dialog set the “Directory” to the place where the files to be shared are stored (eg. /mnt/store/tftproot”). Click “OK”. Click “Services” and click the “TFTP” “Off” switch to make it go from “Off” to “On.”</p>
<p>The directory needs to be created if it doesn&#8217;t exist and then the files you want to share via TFTP need to be copied into that directory.</p>
<div id="attachment_30149" class="wp-caption aligncenter" style="width: 353px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2012/01/FN8-TFTP.png"><img class="size-full wp-image-30149" src="http://www.trainsignal.com/blog/wp-content/uploads/2012/01/FN8-TFTP.png" alt="" width="343" height="339" /></a><p class="wp-caption-text">Set the TFTP directory</p></div>
<h3>Conclusion</h3>
<p>As we have seen, FreeNAS 8 is versatile and can do much more than just share files on a Windows network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/freenas-services-ftp-tftp-ssh/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Building ZFS Based Network Attached Storage Using FreeNAS 8</title>
		<link>http://www.trainsignal.com/blog/zfs-nas-setup-guide</link>
		<comments>http://www.trainsignal.com/blog/zfs-nas-setup-guide#comments</comments>
		<pubDate>Wed, 04 Jan 2012 16:00:28 +0000</pubDate>
		<dc:creator>Gary Sims</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[Backup and Storage]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.trainsignal.com/blog/?p=29334</guid>
		<description><![CDATA[ZFS is an excellent choice for a high end NAS solution. In this tutorial Gary Sims will walk you through building a ZFS based NAS using FreeNAS 8. You'll learn how to create a ZFS volume and datasets within it. The article will also examine the advantages of using snapshots.]]></description>
			<content:encoded><![CDATA[<p>Back in 2004 Sun Microsystems announced a new filesystem which would combine a traditional filesystem with the benefits of a logical volume manager, RAID and snapshots. The result was ZFS (Zettabyte File System). Sun decided to release ZFS as open source and as a result it has found its way into FreeBSD, the operating system at the heart of the open source Network Attached Storage (NAS) solution <a href="http://www.trainsignal.com/blog/nas-setup-guide">FreeNAS 8</a>.</p>
<p>Features like snapshots and inbuilt data integrity (where ZFS protects all data with 64-bit checksums that detect and correct silent data corruption) mean that ZFS is an excellent choice for high end NAS solutions. High end means systems with lots of disks and lots of RAM. A FreeNAS based ZFS system needs a minimum of 6 GB of RAM to achieve decent read/write performance and 8GB is preferred. For systems with more than 6TB of storage it is best to add 1GB of RAM for every extra 1TB of storage.</p>
<p>In this tutorial we will go through the steps to create a ZFS volume, create datasets within it and then look at the advantages of using snapshots. My test system has four hard drives, a 2GB drive for the FreeNAS installation and three 2TB drives for storage.</p>
<p>Starting with a fresh FreeNAS install, open a web browser and enter the address of the FreeNAS server (you can find the address from the console).</p>
<h3>Create a ZFS Volume</h3>
<p>To make disks available for storage they need to be added as a volume. The three 2TB disks on the test system can be added together as a RAID-Z set. RAID-Z is similar to RAID5 but it doesn&#8217;t suffer from a design flaw in RAID5 known as the &#8220;write hole.&#8221; This is where the RAID set can get into an inconsistent state if the server crashes, fails or loses power at just the wrong moment.</p>
<div id="attachment_29341" class="wp-caption aligncenter" style="width: 501px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/FN8-ZFS1.png"><img class="size-full wp-image-29341" src="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/FN8-ZFS1.png" alt="" width="491" height="347" /></a><p class="wp-caption-text">Create ZFS Volume</p></div>
<p>To create the ZFS RAID-Z volume, click the <strong>Storage</strong>  icon in the toolbar below the FreeNAS logo. Click <strong>Create Volume</strong>, enter a <strong>Volume Name</strong> (eg. &#8220;store&#8221;) and click the disks to add to the RAID-Z set. RAID-Z needs a minimum of three disks. On my test system the three disks are called ada1, ada2 and ada3 (note that ada0 is the FreeNAS system disk). Choose &#8220;ZFS&#8221; and &#8220;RAID-Z&#8221; and click <strong>Add Volume</strong>.</p>
<p>The ZFS volume has now been created. The storage tab lists the configured volumes along with their size, free space and health. To see the drives used in any ZFS volume click the <strong>zpool status</strong> icon (the last icon in the actions list).</p>
<div id="attachment_29340" class="wp-caption aligncenter" style="width: 518px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS2.png"><img class="size-full wp-image-29340" src="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS2.png" alt="" width="508" height="167" /></a><p class="wp-caption-text">ZFS Pool Status</p></div>
<h3>ZFS Datasets</h3>
<p>At this point the whole 4TB volume can be shared on the network, or it can be optionally divided into ZFS datasets. A dataset is like a folder on the volume, but it acts like a filesystem in that it supports snapshots, quotas and compression. Once a dataset is created its permissions can be set independently to that of the ZFS volume. This means that several datasets can be created, one for each group of users (eg. sales, developers, and marketing).</p>
<div id="attachment_29339" class="wp-caption aligncenter" style="width: 569px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS3.png"><img class="size-full wp-image-29339" src="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS3.png" alt="" width="559" height="442" /></a><p class="wp-caption-text">Create ZFS Dataset</p></div>
<p>Click <strong>Create ZFS Dataset</strong> and enter a dataset name (eg. &#8220;sales&#8221;). If you don&#8217;t want to implement quotas or enable compression, leave the other fields as they are and click <strong>Add Dataset.</strong></p>
<p>The storage tab lists the configured volume and the datasets. For the &#8220;marketing&#8221; dataset, I set a quota of 500GB by entering &#8220;500g&#8221; into the &#8220;Quota for this dataset&#8221; field on the &#8220;Create ZFS Dataset&#8221; dialog.</p>
<div id="attachment_29338" class="wp-caption aligncenter" style="width: 650px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS4.png"><img class="size-full wp-image-29338" src="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS4.png" alt="" width="640" height="260" /></a><p class="wp-caption-text">Active Volumes</p></div>
<h3>ZFS Snapshots</h3>
<p>A snapshot is an exact read-only copy of the filesystem at the time of the snapshot. They are quick to create and a snapshot with no differences to the current filesystem occupies no space (eg. 0MB). As the filesystem changes, the size of the snapshot grows to hold the differences between the current files and the those when the snapshot was taken.</p>
<p>Snapshots provide an easy and efficient way to keep a history of files and allow earlier versions of a file (or even deleted files) to be recovered. FreeNAS supports periodic snapshots which can be configured to be automatically taken at regular intervals (even every 15 minutes) and then automatically purged after a set period (eg. one week).</p>
<div id="attachment_29337" class="wp-caption aligncenter" style="width: 375px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS5.png"><img class="size-full wp-image-29337" src="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS5.png" alt="" width="365" height="172" /></a><p class="wp-caption-text">Create Snapshot</p></div>
<p>To manually create a snapshot click the <strong>Create Snapshot</strong> icon from the list of <strong>Available actions</strong> (it looks like a black square with a plus sign in the top right corner). Edit the <strong>Snapshot Name</strong> to something more meaningful (eg. the reason for creating the snapshot) and click <strong>Manually Create Snapshot</strong>. If you create a snapshot of a volume with datasets, it is best to tick &#8220;Recursive snapshot&#8221; as this ensures that the snapshot for the volume and its datasets all occur at the same time.</p>
<h3>Rolling Back with a ZFS Snapshot</h3>
<p>If the need arises to recover modified or deleted files from a snapshot there are two methods that can be used. </p>
<p>One method is to just roll back the entire volume or dataset to the snapshot. This is drastic in the sense that every file will be rolled back and nothing will be spared. This is useful in classroom settings where the volume can be rolled back at the end of every class to a known state. Or, for businesses, in the case of a security breach and/or infection with malware, the volume can be restored to a previous state before the intrusion. However, again, note that every change (and new file) that was made after the snapshot will be lost.</p>
<p>The second method is to clone the snapshot and make this writable copy temporarily available on the network. Cloned snapshots act exactly like ZFS volumes or ZFS datasets. They can be shared on the network, the permissions can be altered and a further snapshot can even be created. The idea is that the clone can be shared on the network and then once the needed files have been copied off, the clone can be deleted.</p>
<div id="attachment_29336" class="wp-caption aligncenter" style="width: 508px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS6.png"><img class="size-full wp-image-29336" src="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS6.png" alt="" width="498" height="175" /></a><p class="wp-caption-text">Clone snapshot</p></div>
<p>To create a clone click <strong>ZFS Snapshots</strong> (which is just above the &#8220;Create ZFS Dataset&#8221; icon). Find the desired snapshot and click the <strong>Clone Snapshot</strong> icon. Click <strong>Clone Snapshot</strong> on the dialog. Click <strong>Active Volumes</strong> to see the list of volumes and datasets. At the bottom the cloned snapshot can be seen. This cloned snapshot can now be shared on the network over CIFS, NFS or AFP.</p>
<div id="attachment_29335" class="wp-caption aligncenter" style="width: 621px"><a href="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS7.png"><img class="size-full wp-image-29335" src="http://www.trainsignal.com/blog/wp-content/uploads/2011/12/F8-ZFS7.png" alt="" width="611" height="47" /></a><p class="wp-caption-text">Active volumes list includes cloned snapshots</p></div>
<p>We have now created a ZFS volume, ZFS datasets and ZFS snapshots and went over two methods for recovering files with your snapshots. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/zfs-nas-setup-guide/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Build a Simple NAS Setup with FreeNAS 8</title>
		<link>http://www.trainsignal.com/blog/nas-setup-guide</link>
		<comments>http://www.trainsignal.com/blog/nas-setup-guide#comments</comments>
		<pubDate>Wed, 21 Dec 2011 15:00:12 +0000</pubDate>
		<dc:creator>Gary Sims</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[Backup and Storage]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.trainsignal.com/blog/?p=29106</guid>
		<description><![CDATA[This tutorial guides you through an installation of FreeNAS 8 on a simple system using two hard drives for a fully functional network attached storage solution.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.trainsignal.com/blog/build-your-own-open-source-nas-device-using-freenas-part-1">FreeNAS</a>, the open source Network Attached Storage (NAS) solution, has seen lots of changes in the last couple years since iXsystems invested heavily into the project. </p>
<p>FreeNAS 8, which was released earlier this year, is a very different beast to its predecessor. FreeNAS 0.7 had minimal system requirements (in terms of memory and CPU power), and was intended for the home and small office environment. However FreeNAS 8 is aimed squarely at the professional NAS market. The minimum memory requirement is 4GB (compared to 0.7&#8242;s 256MB), and for production systems at least 6GB is recommended. This is because FreeNAS 8 prefers ZFS over the simpler UFS used in FreeNAS 0.7. If you don&#8217;t have a monster server with 6GB of RAM, it is still possible to use FreeNAS 8 with more modest hardware, but without ZFS. Here are more details on the <a href="http://doc.freenas.org/index.php/Hardware_Requirements" title="FreeNAS Hardware Requirements">FreeNAS hardware requirements</a>.</p>
<p>In this tutorial we will go through the steps needed to boot and install FreeNAS 8 on a modest system with two hard drives. The first hard drive is a small 2GB drive to hold the FreeNAS operating system and the second a 2TB drive for serving data to the network.</p>
<h3>FreeNAS 8 Setup Guide</h3>
<p>Get hold of a copy of FreeNAS 8 from <a href="http://freenas.org/" title="FreeNAS">freenas.org</a>. FreeNAS comes in 32 bit and 64 bit flavours so make sure you download the right .ISO image for your hardware. Burn the .ISO files onto a CD. If you don&#8217;t have software to burn .ISO files, then <a href="http://www.imgburn.com/">imgburn.com</a> is a good place to start.</p>
<p>Put the CD into the PC that you want to use for FreeNAS, and boot it. The chances are that the machine will boot from the CD, however if it doesn&#8217;t then you will need to enter the BIOS (normally by pressing the DEL key during the initial boot phase) of the PC and configure the machine to boot from CD.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-1.png" alt="FreeNAS 8 - 1 " title="FreeNAS 8 - 1 " width="640" height="352" class="aligncenter size-full wp-image-29107" /></p>
<p>Wait for the setup menu to appear and press 1 to “Install/Upgrade to hard drive/flash device, etc.” Select the hard drive where FreeNAS will be installed. This is likely to be ad0 (the first hard drive in FreeBSD-speak). Confirm that you would like to continue with the installation.</p>
<p><em>Note: FreeNAS 8 can also be installed on a USB flash disk. This saves a disk slot which can be used for data storage.</em></p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-2.png" alt="FreeNAS 8 - 2" title="FreeNAS 8 - 2" width="640" height="353" class="aligncenter size-full wp-image-29108" /></p>
<p>The install should only take about 30 seconds. When prompted remove the CD, hit the Enter key and select option 3 to “Reboot System.” The system will now reboot from the first hard drive (or the USB key).</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-3.png" alt="FreeNAS 8 - 3" title="FreeNAS 8 - 3" width="640" height="353" class="aligncenter size-full wp-image-29109" /></p>
<p>Once booted, you will see the Console Setup menu. From here you can configure the networking, configure DNS, reboot the system, and so on. Towards the bottom you will see the current IP address of the server, under where it says “You may try the following URLs to access the web user interface.”</p>
<p>Note down the address (eg. http://192.168.1.167) and move to a PC which is connected to the same network as your FreeNAS server. Open a web browser and enter the address of the FreeNAS server.</p>
<h3>Setting a Static IP Address</h3>
<p>It is often useful to have servers on fixed addresses rather than relying on DHCP. Click the “Network” icon in the toolbar below the FreeNAS logo. Click “Interfaces” in the “Network Settings” tab which has now appeared in the right pane.</p>
<p>There will be one (or possibly two) interfaces listed. Click “Edit” on the primary network interface. Enter a name for the network card in the “Interface” field (you can just copy what is in the NIC field). Un-tick “DHCP” and enter the static IP address you wish to use in the “IPv4 Address” field. Select the appropriate netmask from the “IPv4 Netmask” drop-down, probably “/24 (255.255.255.0).” Click “OK.”</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-5.png" alt="FreeNAS 8 - 4" title="FreeNAS 8 - 4" width="378" height="616" class="aligncenter size-full wp-image-29110" /></p>
<p>Reboot the server using the “Reboot” option at the bottom of the left hand menu. In the web browser enter the new static IP address into the URL bar.</p>
<h3>Storage</h3>
<p>Before a disk can be used it needs to be added to a Volume. Besides the small disk for the FreeNAS system, my test server has a single 2TB hard drive for data. To configure the storage, click the “Storage” icon in the toolbar below the FreeNAS logo. Click “Create Volume.” Enter a “Volume name” (eg. “Data”) and click the disk (ada1 on my test server) from the list. Choose “UFS” and click “Add Volume.”</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-6.png" alt="FreeNAS 8 - 5" title="FreeNAS 8 - 5" width="377" height="317" class="aligncenter size-full wp-image-29111" /></p>
<h3>Add a User</h3>
<p>Unless you want to grant universal unrestricted read and write access to your data over the network, you will need to define one or more users who are allowed to access the FreeNAS server. The first step is to add a Group to which all users who access the FreeNAS server will be members. To do this, click “Account” in the left menu tree. Click “Group” and then “Add Group.” Enter a “Group Name” (eg. freeusers) and click “OK.” To add a user, click “Users” and then “Add User.” In the “Add User” dialog enter the “Username,” “Full Name” and “Password” (twice), and click “OK.”</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-8.png" alt="FreeNAS 8 - 6" title="FreeNAS 8 - 6" width="528" height="614" class="aligncenter size-full wp-image-29112" /></p>
<p>Click “View All Users” and then click “Auxiliary Groups” for the new user. Find the “freeusers” group and click the double chevron (“>>”) to add this user to the group. Click “OK.”</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-7.png" alt="FreeNAS 8 - 7" title="FreeNAS 8 - 7" width="555" height="277" class="aligncenter size-full wp-image-29113" /></p>
<p>Before configuring the network shares, the storage needs to be configured so that the “freeusers” group has write access. Click the “Storage” icon in the toolbar and then click the “Change Permissions” icon (the one with the key). Set the “Owner (user)” to “nobody” and the “Owner (group)” to “freeusers”. Tick the “Write” permission for “Group”, tick “Set permission recursively” and click “Change.”</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-8a.png" alt="FreeNAS 8 - 8" title="FreeNAS 8 - 8" width="408" height="411" class="aligncenter size-full wp-image-29114" /></p>
<h3>Sharing over the Network</h3>
<p>Click “Sharing” on the toolbar below the FreeNAS logo. Click “Windows” in the “Shares” tab and then click “Add Windows Share.” Enter a “Name” for the share and a “Comment.”  Enter the path to the disk in the “Path” field. This path is made up of “/mnt/” + the volume name entered when the storage was added; for example, “/mnt/Data”. You can also use the “Browse” button to find the volume. Click “OK” to create the network share.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-9.png" alt="FreeNAS 8 - 9" title="FreeNAS 8 - 9" width="563" height="615" class="aligncenter size-full wp-image-29115" /></p>
<p>Click “Services” on the toolbar below the FreeNAS logo and then click “CIFS” (Common Internet File System) to switch the service from “Off” to “On.”</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-9a.png" alt="FreeNAS 8 - 10" title="FreeNAS 8 - 10" width="231" height="147" class="aligncenter size-full wp-image-29116" /></p>
<h3>Connect from Windows</h3>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-11.png" alt="FreeNAS 8 - 11" title="FreeNAS 8 - 11" width="641" height="554" class="aligncenter size-full wp-image-29117" /></p>
<p>On a Windows 7 machine double click “Computer” (or click on “Computer” from the Windows start menu). In the address bar enter “\\freenas\data”. Enter the username and password from the “Add a User” section above and click “OK.” The PC is now connected to the FreeNAS server with access to read and write files.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-10.png" alt="FreeNAS 8 - 12" title="FreeNAS 8 - 12" width="441" height="297" class="aligncenter size-full wp-image-29118" /></p>
<p>The steps are very similar for a Windows XP machine. Double-click “My Computer” (or click on “My Computer” from the Start menu). In the address bar enter “\\freenas\data”. Enter the username and password from the “Add a User” section above and click “OK.” The XP PC now has read and write access to the FreeNAS server.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2011/11/FreeNAS8-12.png" alt="FreeNAS 8 - 13" title="FreeNAS 8 - 13" width="332" height="293" class="aligncenter size-full wp-image-29119" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/nas-setup-guide/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Setup iSCSI Drive Using FreeNAS</title>
		<link>http://www.trainsignal.com/blog/how-to-setup-iscsi-drive-using-freenas</link>
		<comments>http://www.trainsignal.com/blog/how-to-setup-iscsi-drive-using-freenas#comments</comments>
		<pubDate>Mon, 19 Jan 2009 14:00:08 +0000</pubDate>
		<dc:creator>Dave Lawlor</dc:creator>
				<category><![CDATA[Tips and Tutorials]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">/?p=3322</guid>
		<description><![CDATA[iSCSI allows client machines to send SCSI commands to remote storage servers like FreeNAS. Learn how iSCSI initiators and iSCSI targets work, how to setup iSCSI target drive on FreeNas server and how to setup iSCSI initiator on Vista.]]></description>
			<content:encoded><![CDATA[<p>I recently wrote an article on how to <a href="/blog/build-your-own-open-source-nas-device-using-freenas-part-2">setup a NAS using the open source FreeNAS software</a>. One of the many features of FreeNAS is the ability to setup an iSCSI drive. </p>
<p><strong>iSCSI</strong> stands for <strong>Internet SCSI</strong> and allows client machines to send SCSI commands to remote storage servers such as FreeNAS. This allows you to consolidate your storage drives into a single machine for lower cost per GB and easier maintenance, with the illusion of local disk drives on your client machines. The functionality to use iSCSI drives is built into both Windows Vista and Server 2008 natively.  At the higher end you can also use iSCSI for low cost clustering solutions and disaster recovery.</p>
<p>In the past this was usually done using special hardware and Fibre cabling, though with iSCSI you can leverage your existing network infrastructure. It should be noted that depending on the network load and performance requirements of your servers this can be drastically slower than the dedicated options.  For a high performance production application you can still use iSCSI but I would look at setting it up on its own network at 1GB speeds.</p>
<h2>How Does iSCSI Work?</h2>
<p>There are two parts to the iSCSI protocol, the first being clients and the second being storage devices.</p>
<p>Clients are called iSCSI initiators and can be configured either using hardware or software solutions. As I mentioned earlier this functionality is already built into Vista and Server 2008, so we will not have to add any software/hardware to these machines.</p>
<p>The storage devices are called iSCSI targets and must be running some type of software/hardware to receive the incoming requests from the iSCSI initiators.  Luckily FreeNAS has the ability to create iSCSI drives as part of its core package so I am going to use the FreeNAS server I used in a past demo.</p>
<h2>Setup iSCSI Target Drive on FreeNAS Server</h2>
<p>I&#8217;m going to use FreeNAS as the iSCSI target, and if you are going to follow along with this demo, it is imperative that you have one setup as well.</p>
<p>If you don’t you can read how to <a href="/blog/build-your-own-open-source-nas-device-using-freenas-part-1">setup FreeNAS server</a> and then come back to this article for the next steps.</p>
<p>This demo is going to assume that while the hard drives are installed in the server they are NOT added to the FreeNAS interface.</p>
<p><strong>1.</strong>	Connect to your FreeNAS server through the WebGUI using your favorite browser.  In the top menu select <strong>Disks</strong>, then click <strong>Management</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-001.png" alt="How to Setup iSCSI Drive Using FreeNAS - 1" title="How to Setup iSCSI Drive Using FreeNAS - 1" class="alignnone size-full wp-image-3329" /></p>
<p><strong>2.</strong>	Click on the <strong>plus</strong> sign in the lower right corner to add drives.</p>
<p><a href="/blog/wp-content/uploads/2009/01/iscsi-002.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-002.png" alt="How to Setup iSCSI Drive Using FreeNAS - 2" title="How to Setup iSCSI Drive Using FreeNAS - 2" class="alignnone size-full wp-image-3331" width="600" /></a></p>
<p><strong>3.</strong>	Next to <strong>Disk</strong>, choose the drive you want to add from the drop down, and if you want enter a description for it next to <strong>Description</strong>.</p>
<p>I usually leave the rest of the settings at default then click <strong>Add</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/iscsi-003.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-003.png" alt="How to Setup iSCSI Drive Using FreeNAS - 3" title="How to Setup iSCSI Drive Using FreeNAS - 3" class="alignnone size-full wp-image-3334" width="600" /></a></p>
<p><strong>4.</strong>	When you go back to the Disk Management screen you will be asked to confirm the addition by clicking on <strong>Apply changes</strong>, go ahead and do that now.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-004.png" alt="How to Setup iSCSI Drive Using FreeNAS - 4" title="How to Setup iSCSI Drive Using FreeNAS - 4" width="383" height="380" class="alignnone size-full wp-image-3335" /></p>
<p><strong>5.</strong>	From the top menu choose <strong>Services</strong>, then <strong>iSCSI Target</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-005.png" alt="How to Setup iSCSI Drive Using FreeNAS - 5" title="How to Setup iSCSI Drive Using FreeNAS - 5" width="503" height="485" class="alignnone size-full wp-image-3336" /></p>
<p><strong>6.</strong>	Click on the <strong>plus</strong> sign in the <strong>Extent</strong> area.</p>
<p><a href="/blog/wp-content/uploads/2009/01/iscsi-006.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-006.png" alt="How to Setup iSCSI Drive Using FreeNAS - 6" title="How to Setup iSCSI Drive Using FreeNAS - 6" class="alignnone size-full wp-image-3337" width="600" /></a></p>
<p><strong>7.</strong>	The <strong>Bolded</strong> fields are required, so place a name in the <strong>Extent name</strong> field, leave the <strong>Type</strong> as <strong>Device</strong>, and then choose the <strong>Device</strong> you want in the dropdown.</p>
<p>You can also enter a note in the comment field for reference. When you have set your options click on <strong>Add</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-007.png" alt="How to Setup iSCSI Drive Using FreeNAS - 7" title="How to Setup iSCSI Drive Using FreeNAS - 7" width="587" height="390" class="alignnone size-full wp-image-3338" /></p>
<p><strong>8.</strong>	When you get back to the iSCSI Target page click on <strong>Apply changes</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/iscsi-008.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-008.png" alt="How to Setup iSCSI Drive Using FreeNAS - 8" title="How to Setup iSCSI Drive Using FreeNAS - 8" class="alignnone size-full wp-image-3339" width="600" /></a></p>
<p><strong>9.</strong>	Click on the <strong>plus</strong> sign in the <strong>Target</strong> area.</p>
<p><a href="/blog/wp-content/uploads/2009/01/iscsi-009.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-009.png" alt="How to Setup iSCSI Drive Using FreeNAS - 9" title="How to Setup iSCSI Drive Using FreeNAS - 9" class="alignnone size-full wp-image-3340" width="600" /></a></p>
<p><strong>10.</strong>	As before the <strong>Bolded</strong> fields are required.  Here is a breakdown of the fields:</p>
<ul>
<li><strong>Target name:</strong> Add your own or leave the default</li>
<li><strong>Flags: RW</strong> for Read/Write or <strong>RO</strong> for Read Only</li>
<li><strong>Storage:</strong> Will have the extents listed that were setup, choose the one you want to use</li>
<li><strong>Authorized Network:</strong> Enter the IP network that can access this drive.  For example if your IP was 192.168.1.100, you would enter <strong>192.168.1.0</strong>  Most people will leave the 24 in the dropdown if your subnet mask is 255.255.255.0</li>
</ul>
<p>Once you fill in all the info click on <strong>Add</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-010.png" alt="How to Setup iSCSI Drive Using FreeNAS - 10" title="How to Setup iSCSI Drive Using FreeNAS - 10" width="599" height="423" class="alignnone size-full wp-image-3341" /></p>
<p><strong>11.</strong>	Back at the iSCSI target page you need to click on <strong>Apply changes</strong> once again.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-011.png" alt="How to Setup iSCSI Drive Using FreeNAS - 11" title="How to Setup iSCSI Drive Using FreeNAS - 11" width="496" height="523" class="alignnone size-full wp-image-3343" /></p>
<p><strong>12.</strong>	Now place a check in the box next to <strong>Enable</strong> in the top right corner and then click <strong>Save and Restart</strong> in the bottom left.</p>
<p><a href="/blog/wp-content/uploads/2009/01/iscsi-012.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-012.png" alt="How to Setup iSCSI Drive Using FreeNAS - 12" title="How to Setup iSCSI Drive Using FreeNAS - 12" class="alignnone size-full wp-image-3344" width="600"/></a></p>
<p>The iSCSI Target drive is now setup and ready for use.</p>
<h2>Setup iSCSI Initiator on Vista</h2>
<p>Now that the iSCSI target drive is ready, let’s go in and configure our Vista client machine to use it.</p>
<p><strong>1.</strong>	Click on the <strong>Start</strong> menu and type <strong>iSCSI</strong> into the menu bar and hit <strong>Enter</strong>.</p>
<p><strong>2.</strong>	Depending on your settings you may get a UAC warning, go ahead and approve if you do.</p>
<p><strong>3.</strong>	If this is the first time you are using iSCSI you will get a warning that the iSCSI service is not running and it is asking if you want to start the service and also have it automatically start with your computer.  Go ahead and click <strong>Yes</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-014.png" alt="How to Setup iSCSI Drive Using FreeNAS - 14" title="How to Setup iSCSI Drive Using FreeNAS - 14" width="493" height="179" class="alignnone size-full wp-image-3345" /></p>
<p><strong>4.</strong>	The next window that appears will ask if you want to unblock the Microsoft iSCSI service in Windows Firewall.  Click on <strong>Yes</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-015.png" alt="How to Setup iSCSI Drive Using FreeNAS - 15" title="How to Setup iSCSI Drive Using FreeNAS - 15" width="482" height="161" class="alignnone size-full wp-image-3346" /></p>
<p><strong>5.</strong>	When the iSCSI Initiator Properties appears click on the <strong>Discovery</strong> tab.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-016.png" alt="How to Setup iSCSI Drive Using FreeNAS - 16" title="How to Setup iSCSI Drive Using FreeNAS - 16" width="407" height="486" class="alignnone size-full wp-image-3348" /></p>
<p><strong>6.</strong>	Click on <strong>Add Portal…</strong></p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-017.png" alt="How to Setup iSCSI Drive Using FreeNAS - 17" title="How to Setup iSCSI Drive Using FreeNAS - 17" width="393" height="257" class="alignnone size-full wp-image-3350" /></p>
<p><strong>7.</strong>	Place the IP address of the iSCSI target in the text field labeled <strong>IP address or DNS name:</strong> and then click <strong>OK</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-018.png" alt="How to Setup iSCSI Drive Using FreeNAS - 18" title="How to Setup iSCSI Drive Using FreeNAS - 18" width="388" height="205" class="alignnone size-full wp-image-3351" /></p>
<p><strong>8.</strong>	Click on the <strong>Targets</strong> tab.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-019.png" alt="How to Setup iSCSI Drive Using FreeNAS - 19" title="How to Setup iSCSI Drive Using FreeNAS - 19" width="410" height="492" class="alignnone size-full wp-image-3352" /></p>
<p><strong>9.</strong>	Highlight the target drive listed and click <strong>Log on…</strong></p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-020.png" alt="How to Setup iSCSI Drive Using FreeNAS - 20" title="How to Setup iSCSI Drive Using FreeNAS - 20" width="410" height="492" class="alignnone size-full wp-image-3353" /></p>
<p><strong>10.</strong>	In the next window you can choose to have this connection restored when the computer starts by placing a checkmark next to that option.  If you don’t then leave it blank.  Either way click <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-021.png" alt="How to Setup iSCSI Drive Using FreeNAS - 21" title="How to Setup iSCSI Drive Using FreeNAS - 21" width="389" height="214" class="alignnone size-full wp-image-3354" /></p>
<p><strong>11.</strong>	You should now see a status of <strong>Connected</strong>, confirm that and then click <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-022.png" alt="How to Setup iSCSI Drive Using FreeNAS - 22" title="How to Setup iSCSI Drive Using FreeNAS - 22" width="407" height="489" class="alignnone size-full wp-image-3355" /></p>
<p><strong>12.</strong>	Click on <strong>Start</strong>, right click on <strong>Computer</strong>, then click on <strong>Manage</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-023.png" alt="How to Setup iSCSI Drive Using FreeNAS - 23" title="How to Setup iSCSI Drive Using FreeNAS - 23" width="480" height="331" class="alignnone size-full wp-image-3356" /></p>
<p><strong>13.</strong>	If you get a UAC warning, click through.  You will now see the Computer Management MMC, click on <strong>Disk Management</strong> and in a few seconds the disks will populate.</p>
<p><strong>Disk 1</strong> is the iSCSI drive and you can see that it shows up unallocated.  Right click on the drive and select <strong>New Simple Volume</strong>.</p>
<p><strong>NOTE:</strong> If the disk drive was formatted previously you might have to Delete partition first.</p>
<p><a href="/blog/wp-content/uploads/2009/01/iscsi-024.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-024.png" alt="How to Setup iSCSI Drive Using FreeNAS - 24" title="How to Setup iSCSI Drive Using FreeNAS - 24" class="alignnone size-full wp-image-3357" width="600" /></a></p>
<p><strong>14.</strong>	When the New Simple Volume Wizard starts go ahead and click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-025.png" alt="How to Setup iSCSI Drive Using FreeNAS - 25" title="How to Setup iSCSI Drive Using FreeNAS - 25" width="507" height="390" class="alignnone size-full wp-image-3358" /></p>
<p><strong>15.</strong>	Set the size of the volume you want to create; in this demo I am using all the space. After you set the space click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-026.png" alt="How to Setup iSCSI Drive Using FreeNAS - 26" title="How to Setup iSCSI Drive Using FreeNAS - 26" width="505" height="390" class="alignnone size-full wp-image-3359" /></p>
<p><strong>16.</strong>	Assign a drive letter, for this demo I am using <strong>F</strong>; then click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-027.png" alt="How to Setup iSCSI Drive Using FreeNAS - 27" title="How to Setup iSCSI Drive Using FreeNAS - 27" width="503" height="387" class="alignnone size-full wp-image-3360" /></p>
<p><strong>17.</strong>	I am going to format this drive as <strong>NTFS</strong> and place a check next to <strong>Perform a quick format</strong>.  You can also assign a volume label, then click <strong>Next</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-028.png" alt="How to Setup iSCSI Drive Using FreeNAS - 28" title="How to Setup iSCSI Drive Using FreeNAS - 28" width="511" height="397" class="alignnone size-full wp-image-3361" /></p>
<p><strong>18.</strong>	Review the settings selected and then click <strong>Finish</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-029.png" alt="How to Setup iSCSI Drive Using FreeNAS - 29" title="How to Setup iSCSI Drive Using FreeNAS - 29" width="501" height="377" class="alignnone size-full wp-image-3362" /></p>
<p><strong>19.</strong>	Depending on the speed of the network and the size of the drive it may take some time to format.  When it is finished you will see it ready to go in Disk Management.</p>
<p><a href="/blog/wp-content/uploads/2009/01/iscsi-030.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/iscsi-030.png" alt="How to Setup iSCSI Drive Using FreeNAS - 30" title="How to Setup iSCSI Drive Using FreeNAS - 30" class="alignnone size-full wp-image-3363" width="600" /></a></p>
<h2>Summary</h2>
<p>We have setup a iSCSI target drive in FreeNAS and then setup an iSCSI initiator in Windows Vista to attach to the FreeNAS drive.  After that we configured the drive for use on our Vista machine by formatting it and assigning a drive letter.</p>
<p>While not for everyone, iSCSI definitely has its uses and if it is suitable for your environment and needs, FreeNAS provides a low cost alternative.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/how-to-setup-iscsi-drive-using-freenas/feed</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>Build Your Own Open Source NAS Device Using FreeNAS &#8211; Part 2</title>
		<link>http://www.trainsignal.com/blog/build-your-own-open-source-nas-device-using-freenas-part-2</link>
		<comments>http://www.trainsignal.com/blog/build-your-own-open-source-nas-device-using-freenas-part-2#comments</comments>
		<pubDate>Mon, 05 Jan 2009 16:00:25 +0000</pubDate>
		<dc:creator>Dave Lawlor</dc:creator>
				<category><![CDATA[Tips and Tutorials]]></category>
		<category><![CDATA[FreeNAS]]></category>

		<guid isPermaLink="false">/?p=2827</guid>
		<description><![CDATA[As we learned last week, NAS provides hard disk space that attaches to a data network and works as a file server We took a closer look at FreeNAS &#8212; a free open source NAS software that supports CIFS/SB, FTP, NFS, RSYNC SSH, AFP, Unison, UPnP, ISCSI, local and Microsoft Active Directory authentication, SoftRAID, disk [...]]]></description>
			<content:encoded><![CDATA[<p>As we learned last week, NAS provides hard disk space that attaches to a data network and works as a file server</p>
<p>We took a closer look at FreeNAS &#8212; a free open source NAS software that supports CIFS/SB, FTP, NFS, RSYNC SSH, AFP, Unison, UPnP, ISCSI, local and Microsoft Active Directory authentication, SoftRAID, disk encryption, and has a WebGUI interface.</p>
<p>If you haven&#8217;t already, check out what FreeNAS is all about and learn how to install it in <a href="/blog/build-your-own-open-source-nas-device-using-freenas-part-1">Part 1 of Build Your Own Open Source NAS Device Using FreeNAS</a>.</p>
<p>Now let&#8217;s get to the good stuff!</p>
<h2>Setup Disks in FreeNAS</h2>
<p>Now that the installation is complete and we have the general server settings done, we need to get disks setup so our NAS can fulfill its primary purpose in life.</p>
<p><strong>1.</strong> Select <strong>Disks</strong> and then <strong>Management</strong> from the top menu.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-013.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-013.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 1" title="Build Your Own Open Source NAS Device Using FreeNAS - 1" class="alignnone size-full wp-image-2900" width="600" /></a><br />
<span id="more-2827"></span><br />
<strong>2.</strong>	From the <strong>Management</strong> tab you can see all the disks that are currently configured and add a new one by click on the plus sign in the lower right corner</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-014.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-014.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 2" title="Build Your Own Open Source NAS Device Using FreeNAS - 2" class="alignnone size-full wp-image-2901" width="600" /></a></p>
<p><strong>3.</strong>	In the dropdown next to <strong>Disk</strong> you can choose the hard drive you want to work with.  I am going to setup both of the disks I have.</p>
<p>I am going to leave the rest of the options at default, but I want to mention the last one which is the <strong>Preformatted File System</strong>.  If you have disks that are already formatted you can choose that format here.  If they are unformatted just leave the default as you can format them later.</p>
<p>When done with your setting click <strong>Add</strong>.  I am going to repeat this for the other hard drive I have on this virtual machine also.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-015.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-015.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 3" title="Build Your Own Open Source NAS Device Using FreeNAS - 3" class="alignnone size-full wp-image-2903" width="600" /></a></p>
<p><strong>4.</strong>	Now select <strong>Disks</strong> and then <strong>Format</strong> from the top menu.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-016.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 4" title="Build Your Own Open Source NAS Device Using FreeNAS - 4" width="563" height="337" class="alignnone size-full wp-image-2904" /></p>
<p><strong>5.</strong>	I am going to create a Mirror 1 Raid pairing with these drives, so I am going to choose the first disk in the <strong>Disk</strong> dropdown, and then in the <strong>File System</strong> dropdown I am going to choose <strong>SoftwareRaid</strong>.</p>
<p>Click on <strong>Format Disk</strong> to start the setup. After clicking <strong>Format</strong> you will get a warning that all data will be lost.  If you are good with that click <strong>Ok</strong>. I am going to repeat this same process for the second drive.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-017.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-017.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 5" title="Build Your Own Open Source NAS Device Using FreeNAS - 5" class="alignnone size-full wp-image-2905" width="600" /></a></p>
<p><strong>6.</strong>	From the top menu choose <strong>Disks</strong>, and then choose <strong>SoftwareRaid</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-018.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 6" title="Build Your Own Open Source NAS Device Using FreeNAS - 6" width="440" height="251" class="alignnone size-full wp-image-2906" /></p>
<p><strong>7.</strong>	The <strong>RAID 1</strong> tab should be selected, click on the plus sign in the lower right corner.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-019.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-019.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 7" title="Build Your Own Open Source NAS Device Using FreeNAS - 7" class="alignnone size-full wp-image-2907" width="600" /></a></p>
<p><strong>8.</strong>	Put a name for your new RAID 1 drive next to <strong>Raid name</strong>, choose the <strong>Balance algorithm</strong> you want to use, and select the disks you want to add to the array.  Then place a check in the box that says <strong>Create and initialize RAID</strong> and click on <strong>Add</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-020.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-020.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 8" title="Build Your Own Open Source NAS Device Using FreeNAS - 8" class="alignnone size-full wp-image-2908" width="600" /></a></p>
<p><strong>9.</strong>	You will be taken back to the main RAID 1 tab now and have to click on <strong>Apply changes</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-021.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-021.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 9" title="Build Your Own Open Source NAS Device Using FreeNAS - 9" class="alignnone size-full wp-image-2909" width="600" /></a></p>
<p><strong>10.</strong>	On the top menu choose <strong>Disks</strong>, and then <strong>Format</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-022.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-022.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 10" title="Build Your Own Open Source NAS Device Using FreeNAS - 10" class="alignnone size-full wp-image-2910" width="600" /></a></p>
<p><strong>11.</strong>	In the <strong>Disk</strong> dropdown select the RAID drive we just created and depending on what you are going to use this for you might want to change the File System, but in our case where we are just using this for extra storage leave the default <strong>UFS</strong> in place.</p>
<p>If you want, give your volume a name and then click on <strong>Format disk</strong>.  After clicking you will get a warning about erasing all data, click <strong>Ok</strong> to start the format.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-023.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-023.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 11" title="Build Your Own Open Source NAS Device Using FreeNAS - 11" class="alignnone size-full wp-image-2911" width="600" /></a></p>
<p><strong>12.</strong>	From the top menu now select <strong>Disks</strong>, then <strong>Mount Point</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-024.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 12" title="Build Your Own Open Source NAS Device Using FreeNAS - 12" width="441" height="300" class="alignnone size-full wp-image-2912" /></p>
<p><strong>13.</strong>	Click on the <strong>Plus</strong> sign to mount the RAID disk.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-025.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-025.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 13" title="Build Your Own Open Source NAS Device Using FreeNAS - 13" class="alignnone size-full wp-image-2913" width="600" /></a></p>
<p><strong>14.</strong>	For the <strong>Disk</strong> dropdown choose the RAID drive you created, in the <strong>Partition</strong> dropdown we will leave the default; enter a name next to <strong>Share name</strong>.   I will leave the rest of the settings as is and click <strong>Add</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-026.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-026.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 14" title="Build Your Own Open Source NAS Device Using FreeNAS - 14" class="alignnone size-full wp-image-2914" width="600"  /></a></p>
<p><strong>15.</strong>	You will be taken back to the Mount Point page where you are asked to <strong>Apply changes</strong> to confirm mounting of the disk.  Click on <strong>Apply changes</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-027.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-027.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 15" title="Build Your Own Open Source NAS Device Using FreeNAS - 15" class="alignnone size-full wp-image-2915" width="600" /></a></p>
<p><strong>16.</strong>	Now that we have the drive setup and mounted, let’s turn on the <strong>CIFS/SMB</strong> service so our Windows clients can access the drive.  In the top menu click on <strong>Services</strong>, and then <strong>CIFS/SMB</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-028.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 16" title="Build Your Own Open Source NAS Device Using FreeNAS - 16" width="499" height="225" class="alignnone size-full wp-image-2916" /></p>
<p><strong>17.</strong>	On the <strong>Settings</strong> tab click the box that says <strong>Enable</strong> then click <strong>Save and Restart</strong> at the bottom.  I am going to leave all the other settings at their default.  You can always come back at a later time and tweak for performance.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-029.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-029.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 17" title="Build Your Own Open Source NAS Device Using FreeNAS - 17"  class="alignnone size-full wp-image-2917" width="600" /></a></p>
<p><strong>18.</strong>	Click on the <strong>Shares</strong> tab and then click on the <strong>Plus</strong> sign.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-030.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-030.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 18" title="Build Your Own Open Source NAS Device Using FreeNAS - 18" class="alignnone size-full wp-image-2918" width="600" /></a></p>
<p><strong>19.</strong>	To setup the share you need to enter a <strong>Name, Comment</strong>, and <strong>Path</strong>.  The path is easily set by hitting the <strong>…</strong> button and choosing the top level path.</p>
<p>I am going to leave the other settings default, but there are some options there that might be of use so make sure you look through them.  When you are done click <strong>Add</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-031.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-031.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 19" title="Build Your Own Open Source NAS Device Using FreeNAS - 19" class="alignnone size-full wp-image-2919" width="600" /></a></p>
<p><strong>20.</strong>	You are then taken back to the <strong>Shares</strong> tab to confirm your selection.  Click on <strong>Apply changes</strong>.</p>
<p><a href="/blog/wp-content/uploads/2009/01/nas-032.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-032.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 20" title="Build Your Own Open Source NAS Device Using FreeNAS - 20" class="alignnone size-full wp-image-2920" width="600" /></a></p>
<p>You have now successfully setup the drives as a RAID 1 drive and also setup a service/share to allow Windows clients to access the drive.  Let’s test it out.</p>
<h2>Testing Your FreeNAS Installation</h2>
<p>We can quickly and easily test this from a Windows Vista machine.  I am going to go to <strong>Start</strong> and then <strong>Network</strong>.  As you can see, the <strong>FreeNAS</strong> server is in my network browsing.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-033.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 21" title="Build Your Own Open Source NAS Device Using FreeNAS - 21" width="555" height="452" class="alignnone size-full wp-image-2921" /></p>
<p>If I click on the <strong>FreeNAS</strong> server I can see the <strong>Data</strong> share that was setup.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2009/01/nas-034.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 22" title="Build Your Own Open Source NAS Device Using FreeNAS - 22" width="441" height="422" class="alignnone size-full wp-image-2922" /></p>
<p>From here I could map a drive or just setup a shortcut to access this drive.</p>
<h2>Summary</h2>
<p>This demo walked you through creating a RAID 1 shared NAS using the open source FreeNAS software.</p>
<p> FreeNAS is a very powerful software package and I only scratched the surface of what it can do with it.  I will be using this server in some upcoming tutorials focusing on ISCSI and open source backup solutions. </p>
<p>I strongly encourage you to download and take a look at the feature set to see where you could use this low cost NAS solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/build-your-own-open-source-nas-device-using-freenas-part-2/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Build Your Own Open Source NAS Device Using FreeNAS &#8211; Part 1</title>
		<link>http://www.trainsignal.com/blog/build-your-own-open-source-nas-device-using-freenas-part-1</link>
		<comments>http://www.trainsignal.com/blog/build-your-own-open-source-nas-device-using-freenas-part-1#comments</comments>
		<pubDate>Mon, 29 Dec 2008 17:00:51 +0000</pubDate>
		<dc:creator>Dave Lawlor</dc:creator>
				<category><![CDATA[Tips and Tutorials]]></category>
		<category><![CDATA[FreeNAS]]></category>

		<guid isPermaLink="false">/?p=2769</guid>
		<description><![CDATA[NAS stands for Network Attached Storage, and is basically a box full of hard disk space that attaches to a data network. Its sole job is to be a file server to as many protocols as you want to configure. If you’re anything like me, you have multiple computers in your house of all types [...]]]></description>
			<content:encoded><![CDATA[<p>NAS stands for <strong>Network Attached Storage</strong>, and is basically a box full of hard disk space that attaches to a data network. Its sole job is to be a file server to as many protocols as you want to configure. If you’re anything like me, you have multiple computers in your house of all types and ages running a variety of applications and OS’s.  This doesn’t even take into account the rest of my family, of which even my 6 year old has her own desktop AND laptop.</p>
<p>One of the things I really wanted to do was consolidate my storage space so that a variety of devices can access them. Also I wanted to start using <a href="http://www.trainsignal.com/blog/how-to-setup-iscsi-drive-using-freenas" title="How to Setup iSCSI Drive">ISCSI</a> in a few demos so it made sense to look at getting a NAS into the family.</p>
<p>Now the cost of these devices really depends on configuration and manufacturer, but there are other options that not only give you more control but can give you a lot more bang for your buck.</p>
<p>In this demo I am going to walk you through setting up one of those alternatives, called FreeNAS. <strong>FreeNAS</strong>, as you might have been able to garner from its name, is free open source NAS software that is pretty robust.</p>
<p>It supports CIFS/SB, FTP, NFS, RSYNC SSH, AFP, Unison, UPnP, ISCSI, local and Microsoft Active Directory authentication, SoftRAID, disk encryption, and has a WebGUI interface. FreeNAS can also be configured to run off a USB Key to keep all that hard drive space for storage. It is built on the FreeBSD platform but you won’t need to know any Linux to get it up and running.</p>
<p>For this demo I am going to setup a RAID 1 drive and make it so I can access it from Windows Vista. I am actually going to use a virtual machine so I can capture screenshots easily and I am using the following configuration:</p>
<ul>
<li>512MB RAM (96MB RAM is the min necessary to run base FreeNAS functions)</li>
<li>3 Virtual Drives, 1 for FreeNAS installation, and 2 for data (not formatted at this time)</li>
</ul>
<p><span id="more-2769"></span></p>
<h2>Download FreeNAS</h2>
<p>You can get the current version FreeNAS from: <a href="http://www.freenas.org/">http://www.freenas.org/index.php?option=com_versions&#038;Itemid=51</a></p>
<p>For this demo I am going to use the LiveCD ISO option with the current build which is 0.69RC1.</p>
<h2>Install FreeNAS</h2>
<p>Ok to get started you will need to burn the ISO file to a CD/DVD, or in the case of a virtual machine, mount the ISO.  Once that is done go ahead and boot the machine from the CD/DVD that you are going to use for FreeNAS.</p>
<p><strong>1.</strong>	When it boots up you will see the FreeBSD kernel loading up and after seeing a lot of text flying by you will get to the Console setup menu.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-001.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 1" title="Build Your Own Open Source NAS Device Using FreeNAS - 1" class="alignnone size-full wp-image-2773" /></p>
<p><strong>2.</strong>	From the console menu I am going to select <strong>9) Install/Upgrade to hard drive/flash device, etc.</strong> so we won’t have to boot from CD/DVD anymore.</p>
<p>The first screen that comes up asks what type of install you want to do.  From this menu I am going to choose <strong>1 Install ‘embedded OS on HDD/Flash/USB</strong>, then select <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-035.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 2" title="Build your Own Open Source NAS Device Using FreeNAS - 2"  class="alignnone size-full wp-image-2775" /></p>
<p><strong>3.</strong>	You will get a quick overview of the limitations of what this type of install does.  Go ahead and read through this then select <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-036.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 3" title="Build Your Own Open Source NAS Device Using FreeNAS - 3"  class="alignnone size-full wp-image-2776" /></p>
<p><strong>4.</strong>	In this screen you will choose your installation drive, if you only have one CD/DVD drive it will be highlighted for you. If you have more than one choose the one that has the installation media and then select <strong>Ok</strong> to move on.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-037.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 4" title="Build Your Own Open Source NAS Device Using FreeNAS - 4" class="alignnone size-full wp-image-2777" /></p>
<p><strong>5.</strong>	Next we are going to choose the target HDD.  As you can see I have 3 drives attached to this machine, I am going to choose the one I dedicated specifically for this task which is <strong>ad0</strong>.  Choose the disk you want to install to and then select <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-038.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 5" title="Build your Own Open Source NAS Device Using FreeNAS - 5" class="alignnone size-full wp-image-2778" /></p>
<p><strong>6.</strong>	You will now see the system image copy over to the HDD from the CD/DVD drive.  Once it is finished it will tell you to remove the installation media and press Enter.  Go ahead and do both of these steps.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-039.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 6" title="Build Your Own Open Source NAS Device Using FreeNAS - 6" width="393" height="136" class="alignnone size-full wp-image-2779" /></p>
<p><strong>7.</strong>	This takes you back to the Install menu, choose <strong>Exit</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-040.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 7" title="Build Your Own Open Source NAS Device Using FreeNAS - 7" class="alignnone size-full wp-image-2780" /></p>
<p><strong>8.</strong>	Now from the Console setup menu select <strong>7 Reboot System</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-041.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 8" title="Build Your Own Open Source NAS Device Using FreeNAS - 8" width="472" height="242" class="alignnone size-full wp-image-2781" /></p>
<p><strong>9.</strong>	Confirm that you want to reboot the system by selecting <strong>Yes</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-042.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 9" title="Build Your Own Open Source NAS Device Using FreeNAS - 9" class="alignnone size-full wp-image-2782" /></p>
<p><strong>10.</strong>	After the reboot you will go back to Console Setup and see the current networking configuration.  I only have one NIC setup for this computer, but note that you can configure different adapters by going into the <strong>Assign Interfaces</strong> menu.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-043.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 10" title="Build Your Own Open Source NAS Device Using FreeNAS - 10" class="alignnone size-full wp-image-2783" /></p>
<p><strong>11.</strong>	As you can see it grabbed an IP address by DHCP, so the first thing I am going to do is assign it a static IP address by selecting <strong>2</strong> and hitting <strong>Enter</strong>. The first screen you will see will ask you if you want to use DHCP for this interface.  Select <strong>NO</strong> and hit <strong>Enter</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-002.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 11" title="Build Your Own Open Source NAS Device Using FreeNAS - 11" class="alignnone size-full wp-image-2784" /></p>
<p><strong>12.</strong>	Type in the static IP address you want to use and then select <strong>OK</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-003.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 12" title="Build Your Own Open Source NAS Device Using FreeNAS - 12" class="alignnone size-full wp-image-2785" /></p>
<p><strong>13.</strong>	Next you will enter your subnet mask in CIDR notation or bit counts.  For 90% of you this will be 24 which is equivalent to 255.255.255.0, if you have a different subnet make there are some hints on the screen or you can convert it using a <a href="http://www.subnet-calculator.com/">subnet calculator</a>. After entering your notation select <strong>OK</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-004.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 13" title="Build Your Own Open Source NAS Device Using FreeNAS - 13" class="alignnone size-full wp-image-2786" /></p>
<p><strong>14.</strong>	Enter your default gateway and then select <strong>OK</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-005.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 14" title="Build Your Own Open Source NAS Device Using FreeNAS - 14" class="alignnone size-full wp-image-2787" /></p>
<p><strong>15.</strong>	You now will enter the DNS server you want the FreeNAS installation to use.  After entering the IP choose <strong>OK</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-006.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 15" title="Build Your Own Open Source NAS Device Using FreeNAS - 15" class="alignnone size-full wp-image-2788" /></p>
<p><strong>16.</strong>	Now it will ask if you want to configure IPv6 for this interface, but in this instance I do not, so I will choose <strong>No</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-007.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 16" title="Build Your Own Open Source NAS Device Using FreeNAS - 16" class="alignnone size-full wp-image-2789" /></p>
<p><strong>17.</strong>	After a few seconds it will configure itself and you will see a screen showing the IP address you configured and how to access the WebGUI interface.  After noting down the URL go ahead and hit <strong>ENTER</strong>.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-008.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 17" title="Build Your Own Open Source NAS Device Using FreeNAS - 17" class="alignnone size-full wp-image-2790" /></p>
<p><strong>18.</strong>	This now sets us up for getting into the WebGUI, go ahead and open your browser and enter the URL you got in step 8.  You will be prompted for a user name and password.  The defaults are:</p>
<p>username: <strong>admin</strong><br />
password: <strong>freenas</strong></p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-009.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 18" title="Build Your Own Open Source NAS Device Using FreeNAS - 18" width="323" height="347" class="alignnone size-full wp-image-2791" /></p>
<p><strong>19.</strong>	Once you authenticate you will be brought to the main status screen of FreeNAS where you can get some quick status info, which as you can tell is that no disks are configured.  Seeing that this is a NAS, this is something we should remedy!</p>
<p><a href="/blog/wp-content/uploads/2008/12/nas-010.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-010.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 19" title="Build Your Own Open Source NAS Device Using FreeNAS - 19" class="alignnone size-full wp-image-2792" width="600" /></a></p>
<p><strong>20.</strong>	First let’s go in and do some general setup tasks to get us started on the right foot.  Select <strong>System</strong>, then <strong>General</strong> from the top menus.</p>
<p><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-011.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 20" title="Build Your Own Open Source NAS Device Using FreeNAS - 20" width="282" height="158" class="alignnone size-full wp-image-2793" /></p>
<p><strong>21.</strong>	On the General Setup page you can set some standard things for the server such as:</p>
<p><strong>Hostname</strong> – Hostname and Domain<br />
<strong>DNS</strong> – For both IPv4 and IPv6<br />
<strong>WebGUI</strong> – Username, Protocol (http/https), Port, Language<br />
<strong>Time</strong> – Timezone, Current Time, NTP Options</p>
<p>After setting your choice of options click on <strong>Save</strong>.</p>
<p><strong>Note:</strong> You can also change the default password by choosing the <strong>Password</strong> tab.</p>
<p><a href="/blog/wp-content/uploads/2008/12/nas-012.png"><img src="http://www.trainsignal.com/blog/wp-content/uploads/2008/12/nas-012.png" alt="Build Your Own Open Source NAS Device Using FreeNAS - 21" title="Build Your Own Open Source NAS Device Using FreeNAS - 21" class="alignnone size-full wp-image-2794" width="600" /></a></p>
<h2>Stay Tuned!</h2>
<p>In Part 2 of <strong>Build Your Own Open Source NAS Device Using FreeNAS</strong> we&#8217;ll get the disks setup so our NAS can fulfill its big role. We&#8217;ll also test the FreeNAS installation to make sure that everything is working correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/build-your-own-open-source-nas-device-using-freenas-part-1/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
