Quantcast

Don't have an account? Register Now! Forgot password?

Maximum IT
How-Tos

How To: Build A NAS Box

comment Commentsprint Printemail EmailDeliciousDiggStumbleUponRedditFacebookSlashdot

4. Configure Your Drive

Step 4

Once you’ve logged into the web GUI, you’ll want to take a whack at a few important configuration steps: Change the name of the NAS; set the correct date, time, and time zone; and create a unique username and password. Start by clicking General (in the left-hand menu stack, under the System heading) and change the desired information in the large pane on the right.

Click the Password tab, type in the existing password (“freenas”), and enter your new password in the two boxes provided.
You’re now ready to prepare your hard drive. Go back to the left-hand menu and choose Management under the Disks heading. The plus sign inside the circle on the right-hand pane indicates that you can add an element to the NAS. In this case, we’re going to add a hard drive. Click the plus symbol and all the drives in your system (including the optical and USB thumb drive) will appear in the window next to the Disk heading. Be sure to choose your hard drive.

You might want to experiment with some of the options on this page (especially “hard disk standby time,” “advanced power management,” and “acoustic level”), but leave them at their default values for now. Do make sure that the value for “Preformatted file system” is set to “unformatted” before you click the Add button; then click Apply Changes.

 

5. Format and Mount the Hard Drive

Step 5

Ready to wipe your drive? Return to the Disks heading in the left-hand column of the NAS box’s administrative options and click Format. Make sure you’re ready to proceed, as the option will erase any information previously stored on the drive. Choose your hard drive from the drop-down menu, enter a volume label, and accept the remaining default choices: “File System: UFS (GPT and Soft Updates),” “Minimum Free Space (8),” and “Don’t Erase MBR (unchecked).” Click the Format Disk button.

A drive must be mounted before it can be accessed, so go back to the left-hand Disks menu and click Mount Point. Click the circled plus sign, select Disk from the drop-down Type menu, and choose your hard drive from the drop-down Disk menu. Choose EFI GPT from the Partition menu and UFS for the File System value. Click the Add button when you’re finished. An OK message in the Status window indicates that the drive was successfully mounted.

6. Enable Services and Create Shares

Step 6

We need to access our NAS box using computers running Windows, so it’s essential that we enable the SAMBA networking protocol on our NAS box. Look in the left-hand column for the heading labeled Services and click the CIFS/SMB menu item. Place a check mark next to Enable in the main window but leave all the values at their default settings. Click the Save and Restart button.

Now that SAMBA’s up and running, you’ll need to create one or more network shares that allow your remote computers to treat the NAS box’s hard drive(s) as though they’re a local resource. Click the Shares tab in the “Services: CIFS/SMB: Settings” window and click the circled plus button. In the screen that appears next, give the share a name, add a comment describing the purpose of the share, set the path, and click the Add button. Click the Apply Changes button on the next screen.

When you’ve finished configuring FreeNAS, click the Backup/Restore button to create a backup of your configuration. You should now be able to find your NAS and your newly created shared folders listed in Windows XP’s “My Network Places” (or Vista’s “Network”).

How to Stream from Your NAS Box

Now that your new NAS box is ready to go, getting all your movies and photos to stream to your media device of choice is extraordinarily easy. Here’s how you do it. Pull up your FreeNAS administrative options page and click UPnP under the Services menu. Click the Enable check box and assign a name to your device. Then select the NIC you’ll be using. Add the directories you want to share and pick a component profile that best matches your UPnP device—like your Xbox 360, for instance. Click Save and Restart, and you’ll be ready for some movie-watching!

COMMENTS
avatarJust built for WDTV Live!!

Thought I would share my experience following the advice in the column.

 In short.. AWESOME!

 This
is my FIRST time building a NAS and it went so well.  I built this
mainly for use as media streaming storage for my Western Digital Live
media player.  I had some old computer parts lying around and tried
this out.  My system:

> P4 2.4gHz

> Albatron mobo

> 3.5gig DDR memory

> 250w power supply

> TP-Link Gigabit PCI nic card

> 1TB SATA Seagate HD (so far only qty of 1 =))

> AGP Chaintec Geforce Ti4200 video card

FreeNAS
is running off of a USB micro Sandisk stick.  I had NO problems at all
installing and everything went smooth throughout the process!  I was
completely amazed!

The media is streaming through a Belkin
F5D8234-4 N+ router, with a Trendnet TEW-624UB wireless N USB stick
attached to the Western Digital Live box.

Transfer speeds from
either of my computers to the NAS box is averaging 50-60Mbps with brief beginning peaks
sometimes at 90-97Mbps which is fine by me.

Thank you so much for this article!

Login or register to post comments
avatarTracking

I will be doing this soon you need to backup.

Login or register to post comments
avatarRAID setup?

So I went through this whole process, but it doesn't describe how to set up the drives into a RAID array. Anyone have a walkthru for that? The freenas site is not very helpful.

Login or register to post comments
avatar.

.

Login or register to post comments
avatarIsn't there a way to build a

Isn't there a way to build a NAS box, not a NAS computer?  I want to have box that can handle 2-4 drives and has at least 100MB ethernet but gigabit wouldn't be bad, either.

I have seen many companies attempting to sell boxes but they require you to purchase with the drives, which is silly because they are charging 2-3x the price of the drives, if you are lucky and why would I do that when I already have the drives and would prefer to set it up myself?

Login or register to post comments
avatarI work in IT and understand

I work in IT and understand how NAS works but I think there was a general consensus by the author that everyone reading Maximum PC has full understanding about NAS.   I think this should have been made a little more clear.   Based on this article (pretending I don't understand NAS) I still don't see why someone wouldn't just choose to share a folder on an existing PC in their home as already mentioned here.

What also isn't made clear... if you follow these instructions and build this NAS will the disk appear local under disk management on the system connecting to it like real SAN/NAS storage?  Say for example I want to build a NAS off this article and use it purely for a large array for a media center for all the DVD rips.   Will it appear as LOCAL storage? 

If not how is this different from just a share on another system???

Login or register to post comments
avatarnas and power

hi everybody, avid reader for almost 10 years now.... 

first post here ;)

 

isnt one of the main ideas of a NAS to use less power than a PC for hosting files over a network?

where is that being accomplished at here? 

 

wheres the gain of doing this (Linux or free bsd or win nt or any OS at all who cares?)

when you could just host off a computer you use all the time to begin with

sitting on an external usb or seperate internal 500 gb drive?

 

I just dont see it.... 

Login or register to post comments
avatarRE:

You don't understand what NAS storage is. 

 

Sure you can run CIFS on Windows or NFS on Linux ... but think about the waste in doing that.  You have to install an entire OS which runs numerous services which eat up numerous resources, which require more hardware (CPU, Memory, Video [Vista] perspectives)which requires more $$$ --get the point now?  Then there's the whole OS competing for resources vs whatever is accessing your CIFS/NFS shares.  Not to mention, since FreeNAS runs the bare minimum of services, you have to manage less in the way of OS specifics and just deal with what's required --managing the storage! 

 

Also, FreeNAS can run on next to NOTHING for hardware.  So, unless you're streaming hi-def vid or have 300 people leveraging the thing as a shoutcast server, this box makes a LOT of sense for utilizing some old hardware just sitting around the house.

 

As for Software RAID --yea I wouldn't use it either. In fact, just get yourself a decent Adaptec storage controller and go with that --avoid FRAID (F-RAID, Fake RAID) cards.    

Login or register to post comments
avatarGreat SW.  My FreeNAS

Great SW.  My FreeNAS server has been running almost 2 years with no issues.   

Login or register to post comments
avatarFrom the looks of it, some

From the looks of it, some editor is a little jelous. This was posted way earlier than 8am. Why does it have a time of 11am? To push it to the top?

Login or register to post comments
avatarIt was also published in

It was also published in the print magazine long before this...

I've noticed a similar thing has happened with a couple of the print articles put online.  My suspicion is that they notice a couple things they want to change (like formatting-wise, since you can't exactly carbon copy it from the way it appears in the magazine) after they put it up, make the changes, and then basically submit it as new again.  

Login or register to post comments
avatarFreeNAS is a free NAS

FreeNAS is a free NAS (Network-Attached Storage) server, supporting: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI protocols, S.M.A.R.T., local user authentication, Software RAID (0,1,5) with a Full WEB configuration interface. FreeNAS takes less than 32MB once installed on Compact Flash, hard drive or USB key. 
The minimal FreeBSD distribution, Web interface, PHP scripts and documentation are based on 
M0n0wall

Right from the site, so essentially, you're installing Linux on it. 

Login or register to post comments
avatarew software raid 5, god I'd

ew software raid 5, god I'd hate to have to wait for that to rebuild...

Login or register to post comments
avatarFreeBSD is not linux.

FreeBSD is not linux.

Login or register to post comments
avatarsounds a hell of a lot like

sounds a hell of a lot like an ftp server. may as well install a linux server OS and run F@H on it.

Login or register to post comments
avataressentually yeah

essentually yeah, but still an idea that people may not have thought of.

 and why not have an FTP server run NAS box functionality? especially when it doesn't have to cost much.

Login or register to post comments

This Month's Issue
FEATURE How to Get FREE Programs, Services, Software & MoreFEATURE Digital Photo Printer RoundupHOW TOBuild a 3D CameraFEATUREDIY Arcade PCWHITE PAPERHow TRIM Works