Network-Attached Storage With FreeNAS - Page 4

The caption is a little bit misleading. In fact we want to configure the second partition (the data partition) for NAS, not the whole disk. Please note: You cannot configure the partition for NAS where FreeNAS is installed on! So from the first hard drive we cannot use the first partition because FreeNAS is installed on it.


On the next page select the ad0 disk (that's where the data partition is on) and select UFS under Preformated FS (during the FreeNAS installation the installer formatted both partitions on the first hard drive with UFS, whereas the second and third hard drive are still unformated):


On the next screen hit Apply changes:


The data partition has now been added to FreeNAS:


To use it, we must mount it. Therefore we go to Disks -> Mount Point and click on the + sign on the right:


Select the ad0 disk, the partition no. 2 (that's the data partition), the file system UFS, and under Share Name and Description you specify a name for the share (only characters a-z, 0-9, and the underscore _ are allowed) and a short description that allows you to identify the share. Then click on Add:


Then apply the changes:


The data partition is now mounted and ready for use:


More...

Monday, October 26, 2009

Network-Attached Storage With FreeNAS - Page 3


Now we log in to the FreeNAS web interface by typing http://192.168.0.100/ (or whatever IP address you assigned to FreeNAS) in our browser.

We will be asked for a login. The default login is: username admin, password freenas.


The welcome page looks like this:


We didn't specify a gateway yet for our FreeNAS system, so we go to Interfaces -> LAN and enter our gateway IP address (192.168.0.1) under Gateway, then we hit Save.


The system must be rebooted for the changes to take effect, so we go to the FreeNAS terminal again and hit 5 and then y:



After the reboot we can connect to the web interface again. Go to System -> General setup and fill in two DNS servers (e.g. 145.253.2.75 and 193.174.32.18). If you don't specify DNS servers, the system cannot connect to NTP servers if you use an FQDN (like pool.ntp.org - which is the default value) for the NTP server. On the same page, you can also change the admin password from freenas to a different value:


That's it for the network configuration, no reboot is needed.

More...

Network-Attached Storage With FreeNAS - Page 2


After the reboot we want to configure the network of our FreeNAS system. First we have to declare which network interface we want to use in FreeNAS, therefore we type 1:


Enter the name of the LAN interface. FreeNAS shows you a list of valid interfaces, so pick one of these. In my case I use lnc0:


We don't want to configure another LAN interface, so we simply hit :


FreeNAS needs to reboot again. Confirm this by pressing y:


After the reboot type 2 to set the IP address of the FreeNAS system:


We want a static IP address, so we answer Do you want to use DHCP? with n:


Then enter the IP address you want to assign to the FreeNAS system. I use 192.168.0.100:


Next enter the subnet mask. I use 24:


The network is now configured, and FreeNAS tells us that we can now access the FreeNAS web interface under the address http://192.168.0.100/ in a browser (but we don't do this yet). Press :


Now let's test if our network connection is working. Therefore we type in 6:


Next we type in an existing IP address from our local network (e.g. our gateway address, 192.168.0.1 in this example) to see if we can ping it:


If everything goes well, the ping should succeed, and we can press :


More...

Network-Attached Storage With FreeNAS - Page 1

Version 1.0
Author: Falko Timme
Last edited 02/11/2007


This tutorial shows how you can set up a network-attached storage server with FreeNAS. FreeNAS is based on the FreeBSD operating system and supports CIFS (samba), FTP, NFS, RSYNC, SSH, local user authentication, and software RAID (0, 1, 5). It comes with a powerful web interface and uses very little space on the hard drive - about 32MB.
I do not issue any guarantee that this will work for you!

1 Preliminary Note
In this article I will set up a NAS system with three 30GB hard disks, where the first one is split up in a small partition for the FreeNAS system itself and a large data partition. I will combine the other two hard drives in a RAID1 array. I will use the IP address 192.168.0.100 for my FreeNAS system with the gateway address 192.168.0.1.

Download the latest FreeNAS iso image (0.68 at the time of this writing) from http://www.freenas.org/index.php?option=com_content&task=view&id=20&Itemid=32 and burn it onto a CD. Then boot from that CD.

The following screen will come up. Select 7 to install FreeNAS on the hard drive:


We want to have two partitions on our first hard drive (one for FreeNAS, one for data storage), so we select 2:


Enter the name of your CD-ROM drive. In my case it was acd0:


Then enter the name of the hard drive where you want to install FreeNAS and create the data partition. In my case I select the first hard drive, ad0:


FreeNAS is now being installed. Afterwards press , then 3 and 5 to reboot the system:




Confirm that you want to reboot by typing y:


More...

 
Tutorial - Wordpress Themes is proudly powered by WordPress and themed by Mukkamu Templates Novo Blogger