post #1 of 1
Thread Starter 
1) What is Unraid?
Quote:
unRAID Server is a Network Attached Storage server operating system that boots from a USB Flash device and specifically designed for digital media storage.

You could Call is a NAS.
Complete Unraid manual is available here:
http://lime-technology.com/wiki/index.php?title=UnRAID_Manual
Please refer to it for more in-depth detail as this is just the Quick Notes.

Notes:
- Unraid is kind of like and unlike a raid 5. It uses a dedicated parity drive.
- For performance you can add a cache drive.
- Unraid shares each drive, but you can span a share across multiple drives by creating a user share.
- Unraid can recover from a single hdd failure.
- Unraid can and will spin down the drives when not in use after a given amount of time which can be set.
- when you access data on spun down drives, unraid will only spin up that drive or drives that contain the data, and not all drives.
- Unraid can still operate when a HDD fails, and access the data
- Even though you may have hotswap drives and bays, You need to stop the array to configure new drives.
- If one HDD fails, it can easily be rebuilt using the parity drive.
- If two data HDD fails, you will lose data contents on those two drives, not the entire array.
- Unraid uses ReiserFS
- Raid 5/6 performance is superior to unraid, but unraid was designed to host media files and such, not perform in datacenter environment.


For a list of known compatible working hardware refer to:
http://lime-technology.com/wiki/index.php?title=Hardware_Compatibility

So why unraid?
Quote:
Ease of installation
Easy capacity expansion.
Ease of integration with other systems.
Easy recovery from disk device failure.
Immunity from catastrophic full data loss.
Good multiple-stream read performance.
Adequate write performance.
Lime Technology believes that there is a market for a new wrinkle on the old RAID technology. Our approach uses a storage organization we call unRAID™. unRAID™ is similar to RAID-4 in that for every n hard drives, there are n-1 data drives, and a single fixed parity drive. This provides similar drive failure protection as other RAID organizations:

Tolerates a single failed hard drive. Array parity permits reconstruction of a single failed data disk.
Tolerates single drive read errors . Read errors from a single disk are corrected "on-the-fly".
Unlike other RAID organizations, however, files are not striped across the data drives. Instead, each data drive is formatted normally with its own file system. The unRAID™ organization offers several key advantages over other RAID systems:

Increased flexibility: not all hard drives need to be the same size or speed. The only requirement is that the parity drive must be as large as or larger than any of the data drives.
Easier expansion: new data drives may be added to the array without disturbing the data on the other drives. Since data is not striped, no lengthy stripe reorganization needs to take place before the new storage is available.
Better fault tolerance: in the unlikely event of catastrophic hardware or software failure, data corruption would be much more isolated than that which could occur with other RAID organizations. It is almost impossible to lose all your data, since each individual data drive has its own file system.
Better power management: not all hard drives are required to be spinning in order to access data normally; hard drives not in use may be spun down.
Potentially better multiple-stream read performance. If multiple files are read from different disks, overall read performance can be higher than with other RAID organizations.

2) What you need to get started:
1. Good quality Flash drive
2. Unraid license (A free one is available from lime tech, with limited 3 HDDs)
3. Compatible mobo
4. CPU for that mobo (Doesn't need to be powerful)
5. RAM for the mobo
6. PSU to power the system
7. Lan connection
8. 2x Harddrives ( 3 would be better)
9. Another computer on your Lan (preferably windows)

3) Assemble your system (CPU, mobo, ram) and attached the HDDs

4) Download the Latest version of unRAID server:
1. http://lime-technology.com/download/cat_view/49-unraid-server

5) using your windows machine:
1. Format the USB drive and name it “UNRAID”
2. unzip the contents of the unRAID OS you downlaoded into the Flashdrive
3. run the “makebootable” file
- in windows xp just run it
- in windows vista, or 7 right click and run as admin

6) Once the script runs press any key to exit out of the command prompt

7) eject the flash drive

8) configure the bios in the configured unRAID system to boot from USB.

9) Insert the USB and boot the configured unRAID system.
1. You should see a screen with options to boot into unRAID and Memtest 86+
attachment.php?attachmentid=224151&stc=1&d=1313185767


10) Once you boot in to unRAID OS you should see a screen asking for the login
1. the default login is root, but you don't have to log in at this time

11) Using the other computer on the lan navigate to “//tower”

12) Navigate to Devices.
1. At this time when if using the free license you should see the screen below.
attachment.php?attachmentid=224152&stc=1&d=1313185767

13) Assign your parity drive and Disk1 and/or Disk2
1. The Parity drive should be your largest drive, or should be at least the same size as your largest drive
2. These changes take effect immediately so be careful.
attachment.php?attachmentid=224153&stc=1&d=1313185767


14) once you have configured your HDDs return to the Main page
1. Hit start. This will start the array. Now this may take some time as when you first startup the parity drive needs to sync. (This may take a few hours depending on your HDD size)

15) Once the sync has finished the drives need to be formatted.
1. Check the box and hit the format button.
2. This will also take a while depending on your Hdd size

16) Once the format has finished Your drives are ready to be accessed via lan.
1. In my linux machine I goto “smb://192.168.10.125”
2. Now this lets you access each drive.

At this time you have each drive accessible via LAN. If you want to Create a large array consisted of several HDDs you need to create user shares. For example If I have 2x 1TB hdds and want to make them into 1 share with the size of 2TBs.

17) From the main page stop the array by hitting stop

18) In the Shares tabs set the “User Shares:” to active

19) Return to the main page and spin the drives back up by hitting start.

20) Return to the Shares page and configure the share.
1. Share name: pretty straight forward
2. Comments: pretty straight forward
3. Allocation Method:
1. high-water:
Quote:
the system will pick the disk which currently has the least free space that is still above a certain minimum (called the "high water" mark)
2. Most space:
Quote:
the system will simply pick the disk which currently has the most free space.
3. I recommend high-water because I wouldn't want the same drive spinning up every time.
4. Split level
Quote:
Often media data will consolidated under a single directory, or directory tree. Then during playback the files will be accessed one after another. This is the case with the set of VOB files which make up a DVD movie. In this situation we want all the associated media files to be stored on the same physical disk if at all possible. This is because we don't want media playback to pause while the disk containing the next file spins up. unRAID OS solves this problem by introducing a configurable allocation parameter called "Split level".
Split level defines the highest level in the share directory hierarchy which can be split among multiple disks. In the Movie share example above, setting Split level to 1 only permits any object created directly under the Movie directory to be allocated to any disk according to the Allocation method. Thus, when we create the Alien subdirectory, it may reside on any of the data disks; however, when we create a file or another directory within the Movies/Alien directory, this object is at level 2, and will be created on whatever disk the Movies/Alien directory actually resides on.
If the share were organized differently, for example according to genre:

Movies
-SciFi
--Alien

-Action
--Basic
--Dejavu

-Kids
--Cars
Then you would set Split level to 2. This will let the genres expand among all disks, but still ensure that the contents of the actual movie directories stay within the same disk.
If you set the Split level to 0 for a share, then all directories/files created under that share will be on the same disk where the share was originally created.
If you set the Split level high, e.g., 999 for a share, then every directory/file created under that share will get placed on a disk according to Allocation method.
attachment.php?attachmentid=224154&stc=1&d=1313185767

21) Hit Add share, and it should be created


22) After everything is in order you can goto the Settings tab and configure everything from name to network
Edited by this n00b again - 8/14/11 at 11:18pm
liger-zero
(13 items)
 
  
CPUMotherboardGraphicsRAM
930/920/920/2500k/2500k/x4-640/x4-630/ x58Pro/x58Ext/P6TD/P8P67/P35/A780L/785GM-E51/H55M 5870CFX/GTX260Sli/5870/GTX260-Sli/GTX260/9600/8800 Gskill/Gskill/Gskill/Gskill/Corsair/Corsair/GSkill 
Hard DriveOptical DriveOSMonitor
OWC 6G Extreme PRO / Crucial M4 SAMSUNG DVD-RW DL X64 Win 7 | X86 xp pro | OSX | Ubuntu | Backtrack Samsung 23 x 5 
KeyboardPowerCase
Saitek 850TX/MXS600/750TX/750TX/EA500/EA500/EA500/MxS500 700d + Rackmount server chassis 
  hide details  
Reply
liger-zero
(13 items)
 
  
CPUMotherboardGraphicsRAM
930/920/920/2500k/2500k/x4-640/x4-630/ x58Pro/x58Ext/P6TD/P8P67/P35/A780L/785GM-E51/H55M 5870CFX/GTX260Sli/5870/GTX260-Sli/GTX260/9600/8800 Gskill/Gskill/Gskill/Gskill/Corsair/Corsair/GSkill 
Hard DriveOptical DriveOSMonitor
OWC 6G Extreme PRO / Crucial M4 SAMSUNG DVD-RW DL X64 Win 7 | X86 xp pro | OSX | Ubuntu | Backtrack Samsung 23 x 5 
KeyboardPowerCase
Saitek 850TX/MXS600/750TX/750TX/EA500/EA500/EA500/MxS500 700d + Rackmount server chassis 
  hide details  
Reply