There are a number of NAS operating systems out there, including several based on the BSD (Berkeley System Development) operating system. Most are proprietary to the vendor, but several are not. The most unique of these is UnRAID, which forgoes normal RAID methods in favor of something rather unique.<\/p>\n
UnRAID (Un-RAID) is an alternative NAS operating system that offers both volume management and fault tolerance through parity. It’s a bit like JBOD in that data is neither striped nor mirrored across the drives. However, where JBOD first fills one disk<\/a>, then the next in turn, UnRAID allows you distribute files across all, one, or any combination of disks in the array you choose.<\/p>\n Also unlike JBOD, which offers no fault tolerance, you may protect an UnRAID setup with one or two parity disks to guard against single or dual drive failure–no matter how many data disks are in the array. The parity disks must be at least as large as the largest data disk in the array. Why? And how is fault tolerance with one or two parity drives for a massive array possible when traditional RAID parity requires so much space?<\/p>\n Unlike most RAID parity which starts with XOR bits, UnRAID uses something called even<\/em> parity. Essentially, this is a bit that when added to the sum of bits in the same location across all the drives in the array, makes said sum an even number.<\/p>\n For instance, if the bit on Drive A is a 1, the bit on Drive B is 1, and the bit on Drive C is 1, adding them together makes 3. That being an odd number, the parity bit will be made 1 to make the result 4. This can work across any number of drives and protect against the loss of one.<\/p>\n E.g., 1 + 1 + 0 + 1 + 1 + 0 = 4, parity 0.<\/p>\n E.g., 0 + 1 + 0 + 1 + 1 + 0 = 3, parity 1.<\/p>\n When a drive fails, the parity bit is added to the remaining bits. If the result is odd, then the missing bit must’ve been a 1. If the result is even, then the missing bit must’ve been a 0.<\/p>\n E.g., 1 + 1 + 0 + 1 + 1 + (P)0 = 4, missing bit 0.<\/p>\n E.g., 1 + 1 + 0 + 1 + 1 + (P)1 = 5, missing bit 1.<\/p>\n UnRAID also supports a second parity disk which uses Reed-Solomon error correction<\/a> to increase the fault tolerance to two failed drives.<\/p>\n You can use one of several file systems with UnRAID: ReiserFS, XFS, or Btrfs. As data is written at the file level, files that are not on a failed drive are still available while the replacement for a failed drive is being rebuilt.<\/p>\nEven Parity<\/em> is the Key<\/h2>\n
Other Attributes and Factors<\/h2>\n