Overclock.net › Forums › Specialty Builds › Servers › FreeNAS 9.1 Setup Guide
New Posts  All Forums:Forum Nav:

FreeNAS 9.1 Setup Guide

post #1 of 3
Thread Starter 
FreeNAS 9.1 Setup Guide
If using a different version, this guide may not guide you through your setup.

Download Location
http://www.freenas.org/download-releases.html
(If doing below install make sure you get the IMG not the ISO)

System Recommendations for ZFS (Click to show)
  • Any Processor as long as 64 Bit (32 Bit would work but limited to 4GB of RAM)
  • Min. 8GB of RAM (General Rule 4GB for ZFS plus 1GB per 1TB of Storage (more the better))
  • OS Drive a simple USB Flash Drive would work with a minimum size 4 GB (Says 2GB would work but I am saying 4GB to be on safe side) NOTE: You can NOT use a storage drive for a OS Drive cause the OS will take over the entire drive.
  • Storage Drive minimum of 3 same size drives for ZFS, then you will have a two storage drives with one drive redundincy.
Install an IMG: (Click to show)
(You don't need a CD drive and when IMG is done, you can plug into server and you are up and running)

1. Download 7-zip(http://www.7-zip.org/) and Win32DiskImager(https://launchpad.net/win32-image-writer)
2. Install the two above programs.
3. Extract FreeNAS with 7-zip.
4. Write IMG to USB using Win32DiskImager.
5. Plug completed USB into server and you are good to go.
System Setup (Click to show)
1. Turn on server connected to a monitor to see what its IP address is so you can use the GUI.
2. Type the IP address into browser to access the GUI. (Firefox is the supported web browser and from personal experiance don't use IE10 it does NOT work)
3. Once there, lets setup the datasets first.
Volume and Dataset Setup (Click to show)
1. Click on the Storage icon on top of screen.
2. Click on ZFS Volume Manager and a dialog box should come up.
3. Name the Volume what ever you want. (I did Volume1)
4. Take the Slider in Volume Layout and slide it until you have used up all your drives. (If you have three it should say RAID-Z)
5. Once done, click Add Volume.
6. Now, click the volume you just created, should turn blue and icons show up on the bottom of the screen.
7. Click on the Create ZFS Dataset button, whcih is on the bottom, and a dialog box should show up.
8. Name the Dataset whatever you want. (I did 3 main Datasets: Media, Public, and Private and under Private that is where I created the Personal folders, as in my own personal one and the one for Admin)
9. Compression Level I set to lz4 which is recommended and ZFS Deduplication to Off.
10. Click Add Datatset when done.
11. Repeat steps 6 thru 10 to create more datasets. To create a dataset under a dataset, click on the dataset that you want to create a subdataset instead of the you volume. (Ex. click on Private, then click add dataset.)
User Creation (Click to show)
1. Click on Account on top of the page.
2. Click on the Users Tab directly below the Account Tab with the X.
3. Click on Add User button.
4. Insert a User ID and it must be a number. (I used 1001 for Admin and started with 2001 for the Users)
5. Username is the Log in name for the users.
6. Leave Create a new primary group checked.
7. Make the users Home Directory there own bu useing the browse button to find there directory.
8. For Full Name insert whatever you want.
9. For the Password, insert the same Password in both Password and Password confirmation OR just check Disable password login.
10. Click on the Advanced Mode button next to the cancel button on the bottom of the screen.
11. After clicking on it you will see right below the Home Directory a bunch of check boxes next to the words of Home Directory Mode, only checkmark the boxes of read, write and execute under Owner and Group. If any are checkmarked under Other, uncheck them (except if you create a Media User, then leave Read and Execute Checked so you can access the Files or add in write so you can write to them also.)
12. Click OK when done.
13. Repeat steps 3 thru 12 to create more users.
Volume and Dataset Permission Setup (Click to show)
1. Click on the Storage icon again.
2. Highlight your volume.
3. Click on Change Permissions button, which is by the Create ZFS Dataset button on the bottom of the screen.
4. Set user as nobody (which is a premade user) from drop down.
5. Set the group to nogroup (which is also premade) from the drop down, also.
6. Under Mode, check all nine boxes.
7. When done, click Change button.
8. Navagate to the Public dataset and click on it.
9. Click on the Change Permission button.
10. Set user as nobody.
11. Set group as nogroup.
12. Under Mode, check all nine boxes.
13. When done, click Change button.
14. Navagate to the Admin's dataset and click on it.
15. Click on the Change Permission button.
16. Set user as Admin.
17. Set group as nogroup.
18. Under Mode, check all the boxes under Owner and Group and uncheck the boxes under Other.
19. Click Change when done.
20. Navagate to one of the user datasets and click on it.
21. Click on the Change Permission button.
22. Set user to the name of the user.
23. Set group to Admin.
24. Under Mode, check all the boxes under Owner and Group and uncheck the boxes under Other.
25. Click Change when done.
26. Repeat steps 20 thru 25 for the rest of the Users.
Share Setup (Click to show)
1. Click on Sharing on top of screen.
2. Click on Windows (CIFS) button. (will work on the most systems)
3. Click on Add Windows (CIFS) Share button.
4. Type the name of what you want to call the share under Name. (I would use the same name as the User except for the Public dataset then name it the same as the dataset)
5. Browse for the dataset of the user you want to share.
6. Then click OK.
7. Repeat 3 thru 6 for the rest of users, Admin, and Public dataset.
8. Click on Services on top of screen.\
9. Click the slider next to CIFS to turn it on.
10. Click on the wrench next to the slider, a dialog box should appear.
11. Make sure under Guest account that nobody is the user. If not make nobody the user.
12. Click OK when done.
Connect the Shares to the Computer (Click to show)
1. Log on to the computer you want to access the server from.
2. Open Windows Explorer.
3. Click on Network on the Bottom of the left hand side.
4. Click on FreeNAS if you did not change the name of the system.
5. Right click on your share.
6. Click on Map Network Drive.
7. Select the Drive letter you want.
8. Checkmark both Reconnect at sign-in and Connect using different credentials.
9. Click Finish.
10. When asked to enter the password, click on use another account.
11. Type in the username and password you made for that shares user.
12. Click OK.
13. Repeat 3-12 for the Public drive.
14. Repeat 1-13 for other computers and other users.
DNLA Setup (Click to show)
1. Click on Plugins on top of screen.
2. Click on DLNA/UPnP
3. Click Install
4. A box should pop up and then click OK
5. After done installing, Click on Jails on top of screen.
6. Click on Jails on top of screen next to Plugin.
7. Select dlna_1.
8. Click Add Storage on bottom of screen.
9. Under Source, Browse for the location you have your all your media stored and select it.
10. Under Destination, Browse for the Media folder and select it.
11. Click OK.
12. On the left side of screen, expand Plugins.
13. Click on MiniDLNA
14. Under Friendly name, name what you want to call your DLNA server.
15. Browse for Media in the Media directory
16. Checkmark Rescan on (re)start.
17. Click OK.
18. Click on Plugins on top of the screen again.
19. Slide the slider next to the plugin MiniDLNA to ON, if not on.
Now you should be able to access your media in WMP and any other device that is DLNA certified.
Note: If you do not see your media, just turn the plugin off and back on again.
Media Server for Itunes Setup (Click to show)
1. Click on Plugins on top of screen.
2. Click on mt-daapd
3. Click Install
4. A box should pop up and then click OK
5. After done installing, Click on Jails on top of screen.
6. Click on Jails on top of screen next to Plugin.
7. Select mt-daapd_1.
8. Click Add Storage on bottom of screen.
9. Under Source, Browse for the location you have your all your media stored and select it.
10. Under Destination, Browse for the Media folder and select it.
11. Click OK.
12. On the left side of screen, expand Plugins.
13. Click on Firefly.
14. Under Servername, change the name to what you want it to be.
15. Make sure Mp3 dir is set to Media.
16. Checkmark Always scan if not already.
17. Click OK.
18. Click on Plugins on top of the screen again.
19. Slide the slider next to the plugin FireFly to ON.
Now you should be able to access your media in Itunes.
Permission Setup Diagram (Click to show)

This image belongs to silentmonolith from the FreeNAS forum.

Edited by fishinfiend - 9/4/13 at 7:26pm
The Build
(18 items)
 
The Big Save
(11 items)
 
 
CPUMotherboardGraphicsRAM
I5-3570k Asus P8Z77-V GIgabyte Windforce 3 7950 G.Skill Ares 2x8GB 1600Mhz 
Hard DriveHard DriveHard DriveOptical Drive
Crucial M4 6GB/s Samsung 840 250GB WD Caviar Blue 6GB/s 64MB LG GH24NS90  
CoolingOSMonitorKeyboard
Phantek PH-TC14PE Windows 8 Pro LG 23" E2351 Dell Keyboard 
PowerCaseMouseMouse Pad
Rosewill Hive 650W Rosewill Blackhawk Razer Mamba 2012 TractorHouse.com 
AudioOther
Onboard Kingston USB 3.0 External Card Reader 
CPUMotherboardRAMHard Drive
AMD A4-4000 Asrock FM2A85X-ITX Corsar XMS 2 x 8GB 1333MHz  WD Red 2TB 
Hard DriveHard DriveHard DriveOS
WD Red 2TB WD Red 2TB Sandisk Fit 16GB FreeNAS 
PowerCaseOther
Rosewill Capstone-450 Fractal Design Node 304 DLink DAP-1522 
  hide details  
Reply
The Build
(18 items)
 
The Big Save
(11 items)
 
 
CPUMotherboardGraphicsRAM
I5-3570k Asus P8Z77-V GIgabyte Windforce 3 7950 G.Skill Ares 2x8GB 1600Mhz 
Hard DriveHard DriveHard DriveOptical Drive
Crucial M4 6GB/s Samsung 840 250GB WD Caviar Blue 6GB/s 64MB LG GH24NS90  
CoolingOSMonitorKeyboard
Phantek PH-TC14PE Windows 8 Pro LG 23" E2351 Dell Keyboard 
PowerCaseMouseMouse Pad
Rosewill Hive 650W Rosewill Blackhawk Razer Mamba 2012 TractorHouse.com 
AudioOther
Onboard Kingston USB 3.0 External Card Reader 
CPUMotherboardRAMHard Drive
AMD A4-4000 Asrock FM2A85X-ITX Corsar XMS 2 x 8GB 1333MHz  WD Red 2TB 
Hard DriveHard DriveHard DriveOS
WD Red 2TB WD Red 2TB Sandisk Fit 16GB FreeNAS 
PowerCaseOther
Rosewill Capstone-450 Fractal Design Node 304 DLink DAP-1522 
  hide details  
Reply
post #2 of 3
This still current? wink.gif

I'm gonna be putting together a system soon.
Supa's Beast
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5-6660 Gigabyte GA-Z170N-Gaming 5 GTX670-DC2-2GD5 G.Skill TridentZ Series 16GB (2 x 8GB) DDR4-3200 
Hard DriveCoolingOSMonitor
Samsung 950 PRO 512GB M.2-2280 CORSAIR H100 Liquid CPU Cooler Windows 10 Pro 64-bit BenQ 2710PT 
MonitorKeyboardPowerCase
Acer Predator XB271HU 165 Hz Ducky DK9087 Shine II TKL Blue LED (Brown) Corsair SF​600 Ncase M1 V5 
MouseMouse Pad
Logitech g502 Cloth Perixx 
  hide details  
Reply
Supa's Beast
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5-6660 Gigabyte GA-Z170N-Gaming 5 GTX670-DC2-2GD5 G.Skill TridentZ Series 16GB (2 x 8GB) DDR4-3200 
Hard DriveCoolingOSMonitor
Samsung 950 PRO 512GB M.2-2280 CORSAIR H100 Liquid CPU Cooler Windows 10 Pro 64-bit BenQ 2710PT 
MonitorKeyboardPowerCase
Acer Predator XB271HU 165 Hz Ducky DK9087 Shine II TKL Blue LED (Brown) Corsair SF​600 Ncase M1 V5 
MouseMouse Pad
Logitech g502 Cloth Perixx 
  hide details  
Reply
post #3 of 3
FREENAS is now on 9.2

check their forums as to the changes...( ZFS has upped a version moving forward)
But basic functions I would guess very much the same

currently Im on 9.2
pscott
(13 items)
 
  
CPUMotherboardGraphicsRAM
3.4@stock Gigabyte 7600gs 1gb corsair cmx512 
Hard DriveOptical DriveOSMonitor
160+250 sata +80ide LiteonDL+SonyDRU800a Win7/vbox.Ubuntu/vbox.XP'sp3' Dell17"+Samsung17" 
PowerCase
Antec 500w APevia 
  hide details  
Reply
pscott
(13 items)
 
  
CPUMotherboardGraphicsRAM
3.4@stock Gigabyte 7600gs 1gb corsair cmx512 
Hard DriveOptical DriveOSMonitor
160+250 sata +80ide LiteonDL+SonyDRU800a Win7/vbox.Ubuntu/vbox.XP'sp3' Dell17"+Samsung17" 
PowerCase
Antec 500w APevia 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Servers
Overclock.net › Forums › Specialty Builds › Servers › FreeNAS 9.1 Setup Guide