Archive:NAS: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Neeltje57
m (Added toc)
mNo edit summary
 
(40 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{XBMC faq toc Inline}}
__TOC__
__NOEDITSECTION__
In short a [http://en.wikipedia.org/wiki/Network_Attached_Storage NAS ('''N'''etwork '''A'''ttached '''S'''torage)] is a stand-alone file-level computer data storage device into which you can install one or more [http://en.wikipedia.org/wiki/Hard_disk_drive hard disk drive]s (either internally or externally), and then connect the NAS device directly to your network. The NAS device is given its own IP address and can be configured to share the hard drives and their data contents on the network to multiple client devices, such as XBMC and other computers.
With a NAS you do not have to have your computer(s) powered on permanently and your data will still always be available on your network and accessible from multiple devices. It is also possible to 'convert' a modest computer into a dedicated NAS device, and this is often the cheapest way to obtain your own NAS (potential downsides of using a computer as a NAS device are relatively large device size, increased noise levels and electricity consumption).


{{cleanup}}
<section begin="intro"/>A [[w:Network Attached Storage|NAS ('''N'''etwork '''A'''ttached '''S'''torage)]] is a stand-alone file-level computer data storage device into which you can install one or more hard drives (either internally or externally), and then connect the NAS device directly to your network. The NAS device is given its own IP address and can be configured to share the hard drives and their data contents on the network to multiple client devices, such as Kodi and other computers. With a NAS you do not have to have your computer(s) powered on permanently and your data will still always be available on your network and accessible from multiple devices. It is also possible to 'convert' a modest computer into a dedicated NAS device, and this is often the cheapest way to obtain your own NAS.<section end="intro"/>


== NAS (Network Attached Storage) and Kodi ==
Simply enable one of XBMC's supported file sharing protocols for use on the NAS. Recommended protocols include NFS, which preforms very well, and SMB, due to how common it is.


==NAS (Network Attached Storage) and XBMC==
== NAS software that works well with Kodi ==
XBMC already supports [[SMB|SMB/SAMBA/CIFS]] (and [[UPnP]]) network-protocols, which many NAS devices support. It is also possible to stream via [[Types of Media Sources#FTP (File Transfer Protocol) Client|FTP]] to XBMC, however this is not recommended because the [[Types of Media Sources#FTP (File Transfer Protocol) Client|FTP network protocol]] was never designed for audio/video streaming. Therefore, FTP streaming will not be covered here and is not officially supported.
* [http://www.freenas.org FreeNAS] ([http://sourceforge.net/projects/freenas/ sourceforge.net project-page]), a free open source FreeBSD-based operating-system that turns any x86 computer into a SAMBA NAS device, (plus firewall and FTP-server).
To stream from a NAS device to XBMC simply setup a [[SMB|SMB/SAMBA/CIFS]] (or [[UPnP]]) share on the NAS with an optional username and password, (once you have configured its network settings and connected it to your network), then add a [[Media Sources|media source]] for that share in XBMC.
* [http://www.openfiler.com Openfiler] ([http://sourceforge.net/projects/openfiler/ sourceforge.net project-page]), a free open source Linux-based operating-system that turns any x86 computer into a SAMBA NAS device.  
* [http://en.wikipedia.org/wiki/DD-WRT DD-WRT], a free Linux-based firmware for several wireless routers, and when DD-WRT is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-hard drive and share that over Samba or UPnP
* [http://en.wikipedia.org/wiki/OpenWrt OpenWrt], a free Linux-based firmware for several wireless routers, and when OpenWrt is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-hard drive and share that over Samba or UPnP
* [http://en.wikipedia.org/wiki/FreeWRT FreeWRT], a free Linux-based firmware for several wireless routers, and when FreeWRT is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-hard drive and share that over Samba or UPnP
* unRaid
* [http://www.dvblogic.com DVBLink], commercial software that turns a compatible NAS into TV Server. Kodi users can watch live and recorded TV using XBMC's PVR functionality [http://wiki.xbmc.org/index.php?title=DVBLink].


==The definition of NAS (Network Attached Storage)==
== Converting a cheap old computer into a dedicated NAS ==
[http://en.wikipedia.org/wiki/Network_Attached_Storage '''NAS''' ('''N'''etwork '''A'''ttached '''S'''torage)] is the name given to dedicated data storage technology that can be connected directly to a computer-network to provide centralized data-access and storage to compatible network-clients. Normally this means a harddisk-drive storage device that is attached direcly to your LAN (Local Area Network), typically a ethernet-based network, and assigned an own IP-address, rather than being attached to a computer that is serving data-files to network users. Network-Attached Storage consists of harddisk storage, (that can include support for multi-disk RAID systems), and software for configuring and mapping file locations to the Network-Attached Device. NAS software can usually handle a number of network protocols, and share formats. Configuration, including the setting of user access priorities, is usually possible using a web browser.
 
==NAS (Network Attached Storage) compatible with XBMC==
This is a list of NAS (Network Attached Storage) devices and software compatible with XBMC.<br>
'''Please feel free to add any NAS device or software that you yourself have tested and know if it works with XBMC or not!'''
 
===NAS devices that work with XBMC===
*[http://en.wikipedia.org/wiki/DD-WRT DD-WRT], a free Linux-based firmware for several wireless routers, and when DD-WRT is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-harddrive and share that over [[Samba]] or [[UPnP]]
*[http://en.wikipedia.org/wiki/OpenWrt OpenWrt], a free Linux-based firmware for several wireless routers, and when OpenWrt is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-harddrive and share that over [[Samba]] or [[UPnP]]
*[http://en.wikipedia.org/wiki/FreeWRT FreeWRT], a free Linux-based firmware for several wireless routers, and when FreeWRT is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-harddrive and share that over [[Samba]] or [[UPnP]]
*[http://h10025.www1.hp.com/ewfrf/wc/product?product=3193065&lc=en&cc=uk&dlc=en&lang=en&cc=uk HP MediaVault MV2010 and MV2020] has either an internal 300/500gb SATA drive, and a spare bay where you can insert a second SATA drive, and 3 USB ports for external drives or a Printer. Runs a Linux 2.4 Kernel, supports UPnP and Samba, and upto 1.2 TB of data across all drives. There is also an unofficial support site/community located [http://www.k0lee.com/hpmediavault/ here]
*[http://www.synology.com/enu/products/DS106serise/index.php Synology DiskStation DS-106(e)] supports one internal and one external SATA drive, and 1-2 USB storage devices. UPnP and Samba is supported, among other protocols. Gigabit Ethernet.
*[http://www.synology.com/enu/products/DS101serise/index.php Synology DiskStation DS-101j] supports one internal and one external IDE drive, and 1-2 USB storage devices. UPnP and Samba is supported, among other protocols.
*[http://www.linksys.com/products/product.asp?prid=640&scid=43 LinkSys NSLU2 (Network Storage Link for USB 2.0 harddisk-drives)], which is Linux and SAMBA based.
**As the NSLU2 is Linux-based you can 'hack' it and install all sort of software on it, for more info see [http://en.wikipedia.org/wiki/NSLU2 wikipedia]
*[http://www.netgear.com/products/details/wgt634u.php NetGear WTG634U Wireless Router]
**Shares from a [http://www.netgear.com/products/wgt634u_comp.php USB Mass Storage Compatible Harddrive] connected to it via USB 2.0
*[http://www.revogear.com Kuro Box (by Buffalo Technology)] for one internal harddrive. Linux-based and supports open source software.
*[http://www.buffalotech.com/products/product-detail.php?productid=97&categoryid=19 Buffalo Technology TeraStation NAS 1.0 TB (HD-H1.0TGL/R5)] supports 4-drives, RAID-0/1/5 and GigaBit ethernet.
*[http://www.buffalotech.com/products/storage.php Buffalo Technology Linkstation HD-HG300LAN and HD-HG400LAN], 300GB and 400GB respective with GigaBit ethernet.
*[http://www.maxtorsolutions.com Maxtor Shared Storage™ Networking Drives]
**Maxtor Shared Storage Plus 200GB (H01R200)
**Maxtor Shared Storage Plus 300GB (H01R300)
**Maxtor Shared Storage Plus 500GB (H01R500)
**Maxtor Shared Storage II 300GB
**Maxtor Shared Storage II 500GB
**Maxtor Shared Storage II 1TB
*[http://www.snap-server.co.uk Quantum / Snap Appliance Snap Servers (Models 2000, 2040, 2200 and 4100)] (formely: [http://www.ateonix.com Ateonix Nasas]).
*ASUS WL-500g (Deluxe) Wireless-Router with USB 2.0 harddisks support, requires [http://www.macsat.com/wlguide third-party firmware].
*[http://www.thecus.com/products_over.php?cid=1&pid=1 Thecus N2100], 2-internal 3.5" SATA bays, RAID 0/1 and 3 USB-ports for external hardrives.
*Lacie Ethernet Disk Mini 250GB.
*SimpleTech SimpleShare NAS 400GB.
*[http://www.westerndigital.com Western Digital WD NetCenter™ Network Drives]
**WD NetCenter 160GB Ethernet Network Drive
**WD NetCenter 250GB Ethernet Network Drive
**WD NetCenter 320GB Ethernet Network Drive
**WD NetCenter 500GB Ethernet Network Drive
*[http://www.wdc.com/en/products/products.asp?driveid=278&language=en Western Digital MyBookWorldEdI 500GB Gigabit NAS]
*[http://www.infrant.com Infrant ReadyNAS NV] supports up to 4 SATA drives in RAID 0-,1,5 and their own X-RAID protocol. OCE is possible under X-RAID. UPnP and Samba is supported, among other protocols.
*Vantec NexStar LX NAS (Works with latest Firmware Basic46 and XBMC 2.0.1 - tested on January 8, 2007).
*[http://www.dlink.com/products/?pid=509 D-Link DNS-323], 2-internal 3,5" SATA bays, RAID 0/1 Standalone and JBOD. CIFS/SMB and allows FXP between XBMC and NAS.
*[http://http://www.fantomdrives.com/products/harddrives/fdnd.php4 Fantom Drives Network Disk Drive FDND250] does work with the latest T3CH XMBC (Revision 7841/MC360). You will have to edit the SOURCES.XML file or add a source. Under the FILES tag in Sources.xml, under SMB Network Shares (Not Workgroup SMB), add this: <path>smb://absolute IP address/</path>, without a password set.  Also, create a new folder in root instead of under public. if you want to manually 'Add Source' to [[Videos]] or [[Music]], select Add Network Location, and enter the absolute IP address (ex: 192.168.1.xxx) and the remote share should reveal itself. Also, rename the device without any dashes or other non-alpha characters (ex:change "storage10b-3" to "storage1015")
*[http://www.qnap.com QNAP Turbo NAS Series], QNAP storage products provide a complete series of storage solutions and industrial applications for personal/SOHO, SMB (small and medium business), and enterprises. QNAP Turbo NAS Series offer more than just ([[SMB]] and [[UPnP]]) storage with integrated features such as a WebServer, BitTorrent client, and more.
 
===NAS software that works with XBMC===
*[http://www.freenas.org FreeNAS] ([http://sourceforge.net/projects/freenas/ sourceforge.net project-page]), a free open source FreeBSD-based operating-system that turns any x86 computer into a SAMBA NAS device, (plus firewall and FTP-server). (Tested July 2006)
*[http://www.openfiler.com Openfiler] ([http://sourceforge.net/projects/openfiler/ sourceforge.net project-page]), a free open source Linux-based operating-system that turns any x86 computer into a SAMBA NAS device.
*[http://www.clarkconnect.com ClarkConnect Community Edition 4.0], a free Linux-based operating-system that turns any x86 computer into a SAMBA NAS device, (plus firewall and FTP-server). (Tested September 2006)
*[http://www.serverelements.com/naslite.php NASLite], a non-free commercial closed-source alternative to the above mentioned FreeNAS, which boots from a single floppy diskette.
*[http://www.serverelements.com/naslite-plus.php NASLite+], the big brother of NASLite. It has more features but is a little more expensive and must boot from a CD or USB stick.
*[http://en.wikipedia.org/wiki/DD-WRT DD-WRT], a free Linux-based firmware for several wireless routers, and when DD-WRT is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-harddrive and share that over [[Samba]] or [[UPnP]]
*[http://en.wikipedia.org/wiki/OpenWrt OpenWrt], a free Linux-based firmware for several wireless routers, and when OpenWrt is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-harddrive and share that over [[Samba]] or [[UPnP]]
*[http://en.wikipedia.org/wiki/FreeWRT FreeWRT], a free Linux-based firmware for several wireless routers, and when FreeWRT is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-harddrive and share that over [[Samba]] or [[UPnP]]
 
===NAS devices and software that doesn't work with XBMC===
*[http://en.wikipedia.org/wiki/LanDrive LanDrive] (also sold as "'''LanDisk'''" and "'''LanServer'''") 3.5" harddrive enclosure with USB 2.0 port and 10/100Mb RJ-45 network-port. LanDrive, LanDrive and LanServer (as [http://en.wikipedia.org/wiki/Original_equipment_manufacturer OEM] hardware) is available under many brand names like [http://www.byteccusa.com/product/enclosure/ME-850.htm Bytecc], Bona, Conceptronic, CompUSA, CoolMax, Datastorage, Ducki, FAN-TEC, Fantom (FDND250), Hotway, Hotec, LinITX, MacPower, MaPower, Mediasonic, Midte, NEM, NHouse, Usbex, Teac and V-Gear/VGear. (File-system permissons on the LanDrive/LanDrive/LanServer are not working 100% with XBMC, and results differ between firmware versions - but all brands and models have the same problem). If you want to test your LanDrive with XBMC then we suggest you try firmware version "NAS-BASIC41" which seems to be the most stable at this time, otherwise try the very latest LanDrive firmware that you can find (together with the very latest SVN build of XBMC).
*[http://www.coolmaxusa.com/productdetailsnetwork.asp?item=cn-550 CoolMax NAS Model CN-550], supports SMB but doesn't seem to work with XBMC (tested November 2005), another [http://en.wikipedia.org/wiki/LanDrive LanDrive]?
*[http://www.macpower.com.tw/products/hdd3/pleiades/pd_usblan Macpower Pleiades USB/LAN],  supports SMB but doesn't seem to work with XBMC (tested November 2005), another [http://en.wikipedia.org/wiki/LanDrive LanDrive]?
*Argosy HD363N, supports SMB but doesn't seem to work with XBMC (tested March 2005)
*Tritton Simple NAS NSS001, supports SMB but doesn't seem to work with XBMC (tested September 2005)
*[http://www.netgear.com/Products/Storage/NetworkStorage/SC101.aspx NETGEAR Storage Central SC101], does not support CIFS/SMB/SAMBA or UPnP, (instead if requires a proprietary protocol and software to be installed, thus it can not be supported by XBMC). Note! This device is only added to this list of unsupported NAS because so many people have asked if it works with XBMC!
*[http://www.ximeta.com XIMETA NetDisk (NDAS)], does not support CIFS/SMB/SAMBA or UPnP, (instead if requires a proprietary protocol and device-driver to be installed, thus it can not be supported by XBMC). Note! This device is only added to this list of unsupported NAS because so many people have asked if it works with XBMC!
 
<br /><br /><br />
 
==Converting a cheap old computer into a dedicated NAS==
This is a guide on how to make an 'old' computer into a cheap dedicated NAS box by using a free (and simple to use) operating-system/software like [http://www.freenas.org FreeNAS], [http://www.openfiler.com Openfiler] or [http://www.clarkconnect.com ClarkConnect Community Edition]. This guide will hopefully get a little more step-by-step oriented over time as people who test and play with this software add information from their experience, but for now a short description will have to do. So for now please refer to the the respective websites of the mentioned operating-systems/software for more information, documentation (user-manuals) and FAQs.
This is a guide on how to make an 'old' computer into a cheap dedicated NAS box by using a free (and simple to use) operating-system/software like [http://www.freenas.org FreeNAS], [http://www.openfiler.com Openfiler] or [http://www.clarkconnect.com ClarkConnect Community Edition]. This guide will hopefully get a little more step-by-step oriented over time as people who test and play with this software add information from their experience, but for now a short description will have to do. So for now please refer to the the respective websites of the mentioned operating-systems/software for more information, documentation (user-manuals) and FAQs.


===Required hardware===
=== Required hardware ===
*The computer itself:
* The computer itself:
**As people and companies upgrade to new computers they often give away or sell their old computers, which are usually 4 to 6 year old hardware. The most common are branded desktop or midi-tower computers like those from Compaq, Dell, Gateway, HP, and IBM. These 'old' computers are no longer good for gaming or even office tools as they are perceived as too slow. This however means that you can get hold of them fairly inexpensively, or sometimes even for free. However, the older the computer is, the more likely you will have to spend some extra money on it to get the performance you want/need.
** As people and companies upgrade to new computers they often give away or sell their old computers, which are usually 4 to 6 year old hardware. The most common are branded desktop or midi-tower computers like those from Compaq, Dell, Gateway, HP, and IBM. These 'old' computers are no longer good for gaming or even office tools as they are perceived as too slow. This however means that you can get hold of them fairly inexpensively, or sometimes even for free. However, the older the computer is, the more likely you will have to spend some extra money on it to get the performance you want/need.
**The hardware needed is an [http://en.wikipedia.org/wiki/X86 Intel or AMD x86 (IBM-compatible) computer], at least 200Mhz processor and 96MB of RAM (however a 500Mhz+ processor and 256MB+ RAM is recommended to be able to disable the swap/page-file) and a network-controller/adapter, (FreeNAS even supports GigaBit NICs, which is great if your other computers support GigaBit too).
** The hardware needed is an [http://en.wikipedia.org/wiki/X86 Intel or AMD x86 (IBM-compatible) computer], at least 200Mhz processor and 96MB of RAM (however a 500Mhz+ processor and 256MB+ RAM is recommended to be able to disable the swap/page-file) and a network-controller/adapter, (FreeNAS even supports GigaBit NICs, which is great if your other computers support GigaBit too).
**The optimal installation location of the operating system can be debated. While some of these 'NAS operating systems' upload everything into RAM (if you have enough RAM), some of them require read/write access to the installation location. This means that if the installation location is on the same hard drives you are sharing, they will not be able to spin-down very often and the computer will thus generate more noise and heat. A great solution to this problem is to make the installation location a solid state memory device (that doesn't have any moving parts), such as a Compact Flash card (if you have a Compact Flash to IDE/ATA converter) or a USB flash memory key/stick (if your computer supports booting from USB). By obtaining a computer which supports booting from USB in BIOS, you can free up an ATA/SATA-slot and will be able to connect an extra hard drive to the system.
** The optimal installation location of the operating system can be debated. While some of these 'NAS operating systems' upload everything into RAM (if you have enough RAM), some of them require read/write access to the installation location. This means that if the installation location is on the same hard drives you are sharing, they will not be able to spin-down very often and the computer will thus generate more noise and heat. A great solution to this problem is to make the installation location a solid state memory device (that doesn't have any moving parts), such as a Compact Flash card (if you have a Compact Flash to IDE/ATA converter) or a USB flash memory key/stick (if your computer supports booting from USB). By obtaining a computer which supports booting from USB in BIOS, you can free up an ATA/SATA-slot and will be able to connect an extra hard drive to the system.
*Storage (the harddisk drives):
* Storage (the hard disk drives):
**The harddrives to be shared as storage can be connected via IDE/ATA, SATA, SCSI, USB or Firewire. Most of these NAS softwares also supports hardware RAID cards and software RAID 0, 1 and 5. Best is though if you get a computer with two or more IDE/ATA channels as then you can use at least four IDE/ATA harddrives which gives good value with the most GigaBytes for your buck. SATA harddrives are as cheap as IDE/ATA (and faster), however you must then purchase a SATA PCI-adapter as none of these 'old' computers comes with SATA ports on the motherboard, but one the other hand if you plan on upgrading your NAS-compuer in a year or two then those SATA harddrives (with a SATA PCI-adapter) is the smarter choise.
** The hard drives to be shared as storage can be connected via IDE/ATA, SATA, SCSI, USB or Firewire. Most of these NAS softwares also supports hardware RAID cards and software RAID 0, 1 and 5. Best is though if you get a computer with two or more IDE/ATA channels as then you can use at least four IDE/ATA hard drives which gives good value with the most GigaBytes for your buck. SATA hard drives are as cheap as IDE/ATA (and faster), however you must then purchase a SATA PCI-adapter as none of these 'old' computers comes with SATA ports on the motherboard, but one the other hand if you plan on upgrading your NAS-compuer in a year or two then those SATA hard drives (with a SATA PCI-adapter) is the smarter choise.
**Another nice feature is harddrive spin-down when idle (after ex. 30-minutes) which saves the life-time of the shared harddrives. All IDE/ATA harddrives connected to the internal IDE/ATA controller on the motherboard or on an internal a PCI-adapter support spin-down. Many external USB enclosures and internal IDE/ATA/SATA to USB-adapters on the other hand do not support spin down, remember that if you plan on connecting your drives via USB.<br>
** Another nice feature is hard drive spin-down when idle (after ex. 30-minutes) which saves the life-time of the shared hard drives. All IDE/ATA hard drives connected to the internal IDE/ATA controller on the motherboard or on an internal a PCI-adapter support spin-down. Many external USB enclosures and internal IDE/ATA/SATA to USB-adapters on the other hand do not support spin down, remember that if you plan on connecting your drives via USB.
 
===FreeNAS===
FreeNAS is a complete operating-system and NAS software package which is free and open source, (so you do not not need any other operating-system on the target computer) and it features a nice web-interface for all configuration, (so no keyboard/video/mouse is needed after the initial installation). The FreeNAS boot-image itself takes up less than 32MB memory and can be booted from a harddrive, a USB-stick, or a Compact Flash card (if you have a Compact Flash to IDE/ATA converter).<br>


===Openfiler===
=== FreeNAS ===
If you have tested this NAS operating-system/software then please contribute some information and your experince here.<br>
FreeNAS is a complete operating-system and NAS software package which is free and open source, (so you do not not need any other operating-system on the target computer) and it features a nice web-interface for all configuration, (so no keyboard/video/mouse is needed after the initial installation). The FreeNAS boot-image itself takes up less than 32MB memory and can be booted from a hard drive, or a USB-stick.
good OS because its linux...but the only problem i had with it is that you cant have local user to authenticate ftp.....users have to come from ldap or windows domain controller....and i not fluent enough with linux to make that change via the command line....freenas has no users that you can create either......so remote access is not looking so good unless you just want anonymous aceess
or you have to use a ftp server on a seperate computer and share your nas that way so you can have users and passwords


===ClarkConnect Community Edition===
[[Category:Hardware-Archived]]
If you have tested this NAS operating-system/software then please contribute some information and your experince here.<br>
[[category:File Sharing]]

Latest revision as of 00:32, 24 August 2020

Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.


A NAS (Network Attached Storage) is a stand-alone file-level computer data storage device into which you can install one or more hard drives (either internally or externally), and then connect the NAS device directly to your network. The NAS device is given its own IP address and can be configured to share the hard drives and their data contents on the network to multiple client devices, such as Kodi and other computers. With a NAS you do not have to have your computer(s) powered on permanently and your data will still always be available on your network and accessible from multiple devices. It is also possible to 'convert' a modest computer into a dedicated NAS device, and this is often the cheapest way to obtain your own NAS.

NAS (Network Attached Storage) and Kodi

Simply enable one of XBMC's supported file sharing protocols for use on the NAS. Recommended protocols include NFS, which preforms very well, and SMB, due to how common it is.

NAS software that works well with Kodi

  • FreeNAS (sourceforge.net project-page), a free open source FreeBSD-based operating-system that turns any x86 computer into a SAMBA NAS device, (plus firewall and FTP-server).
  • Openfiler (sourceforge.net project-page), a free open source Linux-based operating-system that turns any x86 computer into a SAMBA NAS device.
  • DD-WRT, a free Linux-based firmware for several wireless routers, and when DD-WRT is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-hard drive and share that over Samba or UPnP
  • OpenWrt, a free Linux-based firmware for several wireless routers, and when OpenWrt is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-hard drive and share that over Samba or UPnP
  • FreeWRT, a free Linux-based firmware for several wireless routers, and when FreeWRT is install onto a compatible router that features an USB-port that port can usually be used to connect a USB-hard drive and share that over Samba or UPnP
  • unRaid
  • DVBLink, commercial software that turns a compatible NAS into TV Server. Kodi users can watch live and recorded TV using XBMC's PVR functionality [1].

Converting a cheap old computer into a dedicated NAS

This is a guide on how to make an 'old' computer into a cheap dedicated NAS box by using a free (and simple to use) operating-system/software like FreeNAS, Openfiler or ClarkConnect Community Edition. This guide will hopefully get a little more step-by-step oriented over time as people who test and play with this software add information from their experience, but for now a short description will have to do. So for now please refer to the the respective websites of the mentioned operating-systems/software for more information, documentation (user-manuals) and FAQs.

Required hardware

  • The computer itself:
    • As people and companies upgrade to new computers they often give away or sell their old computers, which are usually 4 to 6 year old hardware. The most common are branded desktop or midi-tower computers like those from Compaq, Dell, Gateway, HP, and IBM. These 'old' computers are no longer good for gaming or even office tools as they are perceived as too slow. This however means that you can get hold of them fairly inexpensively, or sometimes even for free. However, the older the computer is, the more likely you will have to spend some extra money on it to get the performance you want/need.
    • The hardware needed is an Intel or AMD x86 (IBM-compatible) computer, at least 200Mhz processor and 96MB of RAM (however a 500Mhz+ processor and 256MB+ RAM is recommended to be able to disable the swap/page-file) and a network-controller/adapter, (FreeNAS even supports GigaBit NICs, which is great if your other computers support GigaBit too).
    • The optimal installation location of the operating system can be debated. While some of these 'NAS operating systems' upload everything into RAM (if you have enough RAM), some of them require read/write access to the installation location. This means that if the installation location is on the same hard drives you are sharing, they will not be able to spin-down very often and the computer will thus generate more noise and heat. A great solution to this problem is to make the installation location a solid state memory device (that doesn't have any moving parts), such as a Compact Flash card (if you have a Compact Flash to IDE/ATA converter) or a USB flash memory key/stick (if your computer supports booting from USB). By obtaining a computer which supports booting from USB in BIOS, you can free up an ATA/SATA-slot and will be able to connect an extra hard drive to the system.
  • Storage (the hard disk drives):
    • The hard drives to be shared as storage can be connected via IDE/ATA, SATA, SCSI, USB or Firewire. Most of these NAS softwares also supports hardware RAID cards and software RAID 0, 1 and 5. Best is though if you get a computer with two or more IDE/ATA channels as then you can use at least four IDE/ATA hard drives which gives good value with the most GigaBytes for your buck. SATA hard drives are as cheap as IDE/ATA (and faster), however you must then purchase a SATA PCI-adapter as none of these 'old' computers comes with SATA ports on the motherboard, but one the other hand if you plan on upgrading your NAS-compuer in a year or two then those SATA hard drives (with a SATA PCI-adapter) is the smarter choise.
    • Another nice feature is hard drive spin-down when idle (after ex. 30-minutes) which saves the life-time of the shared hard drives. All IDE/ATA hard drives connected to the internal IDE/ATA controller on the motherboard or on an internal a PCI-adapter support spin-down. Many external USB enclosures and internal IDE/ATA/SATA to USB-adapters on the other hand do not support spin down, remember that if you plan on connecting your drives via USB.

FreeNAS

FreeNAS is a complete operating-system and NAS software package which is free and open source, (so you do not not need any other operating-system on the target computer) and it features a nice web-interface for all configuration, (so no keyboard/video/mouse is needed after the initial installation). The FreeNAS boot-image itself takes up less than 32MB memory and can be booted from a hard drive, or a USB-stick.