FreeNAS versus unRAID as the operating-system for a DIY NAS?
beckstown Wrote:I have read the whole thread and it seems like the same concerns regarding Unraid and ZFS reappear quite often. So I will try to explain how they both work from what I gathered through this thread. I have to point out that my knowledge regarding ZFS nearly exclusively stems from this thread. I will edit the information if somebody points out flaws.

Similarities of how Unraid and ZFS function

...<SNIP>

Thanks for that good summary of features beckstown.

I have reviewed your original ZFS section, and made corrections and additions - see below. I am awaiting confirmation that the info in section e) is correct and will update this if it's incorrect:

2. ZFS

a) ZPOOL: With ZFS, on one NAS, you may have one or more 'zpools' (ZFS storage pools). It is usual to have one data spool, however.
Some users also create a separate spool for their Boot Environment, allowing multiple GRUB boot entries, and rollback of a failed OS upgrade if required.
The zpool is the top level component in ZFS storage. A zpool is composed of one or more virtual devices, or 'vdevs' as they are known.

b) VDEV: each vdev may employ varying types and levels of redundancy:
i) stripe with no parity.
ii) stripe with parity: (1) RAID-Z1 = capacity of one drive used for parity (single parity), (2) RAID-Z2 = capacity of two drives used for parity (double parity), (3) RAID-Z3 = capacity of three drives used for parity (triple parity).
iii) mirror using n drives. A drive in a mirror may be removed and read on another system.

c) ZFS can address virtually infinite amounts of data. In fact it's been proven that you would never be able to exceed ZFS' capacity limits: http://blogs.sun.com/bonwick/entry/128_b...ge_are_you

d) To read or write data, drives must be spinning. However, with a home NAS, there are often long periods of inactivity, and this is where the OS power management can be used to spin disks down to reduce power consumption. Faster than Unraid when it comes to read/write of files due to striping/mirrors.

e) Because parity data is distributed (striped) across all RAID-Z1/2/3 vdev drives, ZFS has no concept of a parity drive.
If you lose more drives in a vdev than you have parity, all the data stored in the pool will be lost! This is where backups are important. RAID != BACKUP. Due to this, some ultra-paranoid users insist on use of mirror vdevs, typically a 3-drive mirror vdev, to give the equivalent of double parity, but the added advantage is that drives can be removed and read on another system. However, 3-way mirrors quickly become very expensive for large amounts of data, so are best used only for critical irreplaceable data. And backups should always be done for irreplaceable data.

f) If you create a vdev with drives of different sizes, the smallest drive capacity will be the limit of capacity for the other drives.
Example: If you create a vdev with one 500 GB and three 2 TB drives, you will only be able to use 500 GB per drive. This is why people creating ZFS vdevs use same-sized drives.

g) Adding hard drives: You cannot add hard drives to an existing vdev. Instead, you can create a new vdev and add it your pool.
Example: You have already a vdev with RAID-Z3 and six 2 TB hard drives. This means you have 6 TB of storage and another 6 TB for parity. Now you buy 4 new 2 TB drives which you would like to add to your storage. For this, you have to create a new vdev. The question is then if you still want to use RAID-Z3 for the new vdev as that would mean you would only get 2 TB of new storage as 6 TB would be used for parity. Consequently, you either settle for less parity protection or buy more drives. For example, let us assume you create a RAID-Z2 vdev. So you now have a new vdev with 4 TB of storage and 4 TB of parity. In total you now have 5 disks used for storage and 5 disks used for parity. However, you don't have to lose more 5 disks to lose data. If you lose more than 2 drives on the on the RAID-Z2 vdev, you will lose all of its data. So while there is an additional safety in this setup, it is not as safe as 5 parity drives protecting all the data. Additionally, every time you add a new vdev, you have to pay extra for new parity disks and lose Sata ports due to them. This makes expanding storage more expensive in relation to Unraid.

h) Capacity expansion: As well as adding new drives to expand pool capacity (see g. above), it is also possible to expand an existing vdev by replacing each of its drives, one at a time, and doing a scrub after each drive is replaced. Once all drives are replaced, the new increased capacity is available.

i) Using ZFS snapshots provides protection against accidental deletion of any files. Snapshots are virtually instant and consume no space initially. Snapshots (1) prevent accidental deletion, and (2) allow full and incremental backups to be made to any ZFS-based file system by specifying its IP address. Snapshots also allow a rollback to a last known good state, assuming snapshots are taken regularly.

j) Scrubbing the pool once a month is recommended for home users. A report is displayed giving a list of read/write/checksum errors for all drives within each vdev for the pool. This gives the user clear information about drives which have read/write/bit-rot problems, enabling the user to determine when to replace drives proactively, rather than reactively when it may be too late. Data is still available during a scrub operation, but will be accessed more slowly, but fine for watching movies.

k) ZFS automatically self-heals any corrupted data it reads. Example: you watch a movie that has one or more dropped bits caused by bit rot. When ZFS reads the file, it will automatically detect and correct the corrupted data. This is also done during a scrub operation, which reads all the files and so detects and corrects all corrupted files.

l) Hot spares can be specified when the data pool is created, or added to the data pool later, and are used automatically if drive failure is detected. This minimises the chance of there being two failed drives at the same time, because as soon as a drive fails, it is automatically detected and rebuilt onto the spare drive without user intervention.

m) ZFS data pools can be shared via NFS, SMB/CIFS (Samba) and iSCSI.

n) ZFS has strong mechanisms to help ensure that what you intend to write to disk, is actually what gets written to disk, and read back again later. This is called end-to-end data integrity: http://blogs.sun.com/bonwick/entry/zfs_end_to_end_data
Reply


Messages In This Thread
[No subject] - by acegutta22 - 2010-10-09, 03:14
[No subject] - by fonzie - 2010-10-09, 03:29
[No subject] - by markguy - 2010-10-09, 03:36
[No subject] - by markguy - 2010-10-09, 03:51
[No subject] - by Harry Muscle - 2010-10-09, 04:58
[No subject] - by darkscout - 2010-10-09, 05:22
[No subject] - by markguy - 2010-10-09, 11:58
[No subject] - by darkscout - 2010-10-09, 12:19
[No subject] - by Mallet21 - 2010-10-09, 21:15
[No subject] - by gabbott - 2010-10-09, 21:23
[No subject] - by Dullie - 2010-10-09, 21:40
[No subject] - by weldon - 2010-10-09, 23:24
[No subject] - by PANiCnz - 2010-10-10, 06:21
[No subject] - by hazeh - 2010-10-10, 13:17
[No subject] - by TugboatBill - 2010-10-10, 18:06
[No subject] - by darkscout - 2010-10-10, 20:06
[No subject] - by PatrickVogeli - 2010-10-10, 20:13
[No subject] - by TugboatBill - 2010-10-10, 22:47
[No subject] - by PhazedOut - 2010-10-11, 01:48
[No subject] - by gabbott - 2010-10-11, 03:06
[No subject] - by BLKMGK - 2010-10-11, 04:18
[No subject] - by Flomaster - 2010-10-11, 04:18
[No subject] - by npggefvert - 2010-10-11, 04:36
[No subject] - by markguy - 2010-10-11, 12:33
Keep it simple - by airjrdn - 2010-10-11, 14:49
[No subject] - by PatrickVogeli - 2010-10-11, 15:01
Zfs nas - by froggit - 2010-10-11, 20:01
[No subject] - by teaguecl - 2010-10-12, 02:30
[No subject] - by BLKMGK - 2010-10-12, 05:02
[No subject] - by BLKMGK - 2010-10-12, 05:11
[No subject] - by PANiCnz - 2010-10-12, 11:07
[No subject] - by PatrickVogeli - 2010-10-12, 11:39
[No subject] - by sWORDs - 2010-10-12, 11:44
[No subject] - by darkscout - 2010-10-12, 14:58
[No subject] - by froggit - 2010-10-12, 15:22
[No subject] - by TugboatBill - 2010-10-12, 19:42
[No subject] - by darkscout - 2010-10-12, 20:20
[No subject] - by poofyhairguy - 2010-10-12, 22:40
[No subject] - by froggit - 2010-10-12, 22:57
[No subject] - by froggit - 2010-10-12, 23:18
[No subject] - by froggit - 2010-10-12, 23:34
[No subject] - by poofyhairguy - 2010-10-13, 00:19
[No subject] - by darkscout - 2010-10-13, 01:35
[No subject] - by TugboatBill - 2010-10-13, 02:29
[No subject] - by darkscout - 2010-10-13, 02:49
[No subject] - by TugboatBill - 2010-10-13, 02:55
[No subject] - by fonzie - 2010-10-13, 03:16
[No subject] - by darkscout - 2010-10-13, 03:19
[No subject] - by gabbott - 2010-10-13, 03:25
[No subject] - by TugboatBill - 2010-10-13, 04:07
[No subject] - by bigdog66 - 2010-10-13, 05:12
[No subject] - by darkscout - 2010-10-13, 05:20
[No subject] - by bigdog66 - 2010-10-13, 06:18
[No subject] - by darkscout - 2010-10-13, 06:52
[No subject] - by PANiCnz - 2010-10-13, 07:20
[No subject] - by poofyhairguy - 2010-10-13, 07:41
[No subject] - by bigdog66 - 2010-10-13, 07:52
[No subject] - by darkscout - 2010-10-13, 08:06
[No subject] - by alex84 - 2010-10-13, 08:37
[No subject] - by adelias - 2010-10-13, 09:17
[No subject] - by jvdb - 2010-10-13, 09:20
[No subject] - by darkscout - 2010-10-13, 09:20
[No subject] - by poofyhairguy - 2010-10-13, 10:21
[No subject] - by froggit - 2010-10-13, 12:51
[No subject] - by froggit - 2010-10-13, 13:21
[No subject] - by jeroen94704 - 2010-10-13, 13:24
[No subject] - by froggit - 2010-10-13, 13:40
ZFS discussion - by froggit - 2010-10-13, 14:53
[No subject] - by froggit - 2010-10-13, 15:20
[No subject] - by teaguecl - 2010-10-13, 17:14
[No subject] - by darkscout - 2010-10-13, 17:31
[No subject] - by TugboatBill - 2010-10-13, 18:15
[No subject] - by TugboatBill - 2010-10-13, 18:21
[No subject] - by darkscout - 2010-10-13, 18:38
[No subject] - by poofyhairguy - 2010-10-13, 18:56
[No subject] - by jvdb - 2010-10-13, 21:20
[No subject] - by darkscout - 2010-10-13, 22:25
[No subject] - by froggit - 2010-10-13, 22:49
[No subject] - by TugboatBill - 2010-10-13, 22:50
[No subject] - by froggit - 2010-10-13, 22:53
[No subject] - by TugboatBill - 2010-10-13, 22:58
[No subject] - by froggit - 2010-10-13, 23:04
[No subject] - by froggit - 2010-10-13, 23:07
[No subject] - by bigdog66 - 2010-10-13, 23:12
[No subject] - by froggit - 2010-10-13, 23:13
[No subject] - by poofyhairguy - 2010-10-13, 23:29
[No subject] - by TugboatBill - 2010-10-13, 23:30
[No subject] - by TugboatBill - 2010-10-13, 23:31
[No subject] - by harryzimm - 2010-10-13, 23:48
[No subject] - by PANiCnz - 2010-10-14, 09:31
[No subject] - by froggit - 2010-10-14, 18:04
[No subject] - by froggit - 2010-10-14, 18:06
[No subject] - by froggit - 2010-10-14, 18:14
[No subject] - by kaiser423 - 2010-10-14, 18:15
[No subject] - by PatrickVogeli - 2010-10-14, 18:33
[No subject] - by poofyhairguy - 2010-10-14, 19:38
[No subject] - by darkscout - 2010-10-14, 19:48
[No subject] - by gadgetman - 2010-10-14, 20:04
[No subject] - by GJones - 2010-10-14, 20:08
[No subject] - by GJones - 2010-10-14, 20:12
[No subject] - by poofyhairguy - 2010-10-14, 23:11
[No subject] - by TugboatBill - 2010-10-15, 01:34
[No subject] - by darkscout - 2010-10-15, 02:21
[No subject] - by poofyhairguy - 2010-10-15, 03:05
[No subject] - by BLKMGK - 2010-10-15, 07:47
[No subject] - by BLKMGK - 2010-10-15, 07:54
[No subject] - by BLKMGK - 2010-10-15, 08:23
[No subject] - by BLKMGK - 2010-10-15, 08:31
[No subject] - by gadgetman - 2010-10-15, 19:22
[No subject] - by froggit - 2010-10-15, 21:38
[No subject] - by froggit - 2010-10-15, 21:58
[No subject] - by gadgetman - 2010-10-15, 22:02
[No subject] - by markguy - 2010-10-15, 22:13
[No subject] - by froggit - 2010-10-15, 22:13
[No subject] - by poofyhairguy - 2010-10-15, 22:16
[No subject] - by harryzimm - 2010-10-15, 22:16
[No subject] - by maxinc - 2010-10-15, 22:19
[No subject] - by froggit - 2010-10-15, 22:19
[No subject] - by gadgetman - 2010-10-15, 22:19
[No subject] - by markguy - 2010-10-15, 22:29
[No subject] - by markguy - 2010-10-15, 22:33
[No subject] - by teaguecl - 2010-10-15, 23:06
[No subject] - by froggit - 2010-10-15, 23:12
[No subject] - by harryzimm - 2010-10-15, 23:21
[No subject] - by poofyhairguy - 2010-10-15, 23:30
[No subject] - by froggit - 2010-10-15, 23:31
[No subject] - by gadgetman - 2010-10-15, 23:35
[No subject] - by froggit - 2010-10-15, 23:42
[No subject] - by froggit - 2010-10-15, 23:44
[No subject] - by gadgetman - 2010-10-15, 23:45
[No subject] - by harryzimm - 2010-10-15, 23:49
[No subject] - by darkscout - 2010-10-15, 23:49
[No subject] - by poofyhairguy - 2010-10-15, 23:58
[No subject] - by darkscout - 2010-10-16, 00:02
[No subject] - by poofyhairguy - 2010-10-16, 00:04
[No subject] - by froggit - 2010-10-16, 00:06
[No subject] - by froggit - 2010-10-16, 00:12
[No subject] - by froggit - 2010-10-16, 00:18
[No subject] - by froggit - 2010-10-16, 00:21
[No subject] - by poofyhairguy - 2010-10-16, 00:21
[No subject] - by harryzimm - 2010-10-16, 00:24
[No subject] - by maxinc - 2010-10-16, 00:25
[No subject] - by froggit - 2010-10-16, 00:30
[No subject] - by froggit - 2010-10-16, 00:32
[No subject] - by froggit - 2010-10-16, 00:35
[No subject] - by maxinc - 2010-10-16, 00:37
[No subject] - by Flomaster - 2010-10-16, 00:50
[No subject] - by darkscout - 2010-10-16, 01:18
[No subject] - by gadgetman - 2010-10-16, 04:55
[No subject] - by teaguecl - 2010-10-16, 05:11
[No subject] - by gadgetman - 2010-10-16, 05:59
[No subject] - by osirisjem - 2010-10-16, 06:04
[No subject] - by jvdb - 2010-10-16, 10:14
[No subject] - by gadgetman - 2010-10-16, 11:01
[No subject] - by jvdb - 2010-10-16, 11:15
[No subject] - by PatrickVogeli - 2010-10-16, 11:44
How ZFS and Unraid work - by beckstown - 2010-10-16, 14:08
[No subject] - by darkscout - 2010-10-16, 15:29
[No subject] - by beckstown - 2010-10-16, 15:44
[No subject] - by gadgetman - 2010-10-16, 15:52
[No subject] - by TugboatBill - 2010-10-16, 18:38
[No subject] - by v0lrath - 2010-10-16, 21:14
[No subject] - by PatrickVogeli - 2010-10-17, 00:15
[No subject] - by osirisjem - 2010-10-17, 00:46
[No subject] - by beckstown - 2010-10-17, 00:50
[No subject] - by TugboatBill - 2010-10-17, 18:16
[No subject] - by gabbott - 2010-10-17, 21:37
[No subject] - by froggit - 2010-10-17, 23:12
[No subject] - by gadgetman - 2010-10-18, 03:41
[No subject] - by poofyhairguy - 2010-10-18, 05:25
[No subject] - by osirisjem - 2010-10-18, 08:00
[No subject] - by TugboatBill - 2010-10-18, 17:55
[No subject] - by gadgetman - 2010-10-18, 19:55
[No subject] - by froggit - 2010-10-18, 20:58
[No subject] - by froggit - 2010-10-19, 00:41
[No subject] - by beckstown - 2010-10-19, 01:31
[No subject] - by jvdb - 2010-10-19, 02:12
[No subject] - by kaiser423 - 2010-10-19, 05:39
[No subject] - by poofyhairguy - 2010-10-19, 06:18
[No subject] - by ssboisen - 2010-10-19, 17:30
[No subject] - by eztiger - 2010-10-19, 20:14
[No subject] - by darkscout - 2010-10-19, 21:06
[No subject] - by fonzie - 2010-10-19, 21:40
[No subject] - by TugboatBill - 2010-10-19, 21:53
[No subject] - by fonzie - 2010-10-19, 22:12
[No subject] - by teaguecl - 2010-10-19, 23:17
[No subject] - by fonzie - 2010-10-19, 23:43
[No subject] - by jvdb - 2010-10-20, 00:22
[No subject] - by TugboatBill - 2010-10-20, 00:47
[No subject] - by prostuff1 - 2010-10-20, 06:44
[No subject] - by sdsnyr94 - 2010-10-20, 15:27
[No subject] - by Flomaster - 2010-10-20, 16:47
[No subject] - by jbass350z - 2010-10-20, 23:21
[No subject] - by bigdog66 - 2010-10-20, 23:29
[No subject] - by TugboatBill - 2010-10-21, 00:30
[No subject] - by poofyhairguy - 2010-10-21, 03:10
[No subject] - by darkscout - 2010-11-03, 22:15
[No subject] - by TugboatBill - 2010-11-04, 00:31
[No subject] - by topkisj - 2010-11-10, 23:27
[No subject] - by TugboatBill - 2010-11-11, 01:24
[No subject] - by tola5 - 2010-12-14, 06:37
[No subject] - by darkscout - 2010-12-14, 11:29
[No subject] - by tola5 - 2010-12-14, 13:01
[No subject] - by darkscout - 2010-12-14, 18:52
[No subject] - by tola5 - 2010-12-16, 09:03
Bit-Rot is real. - by ajeffco - 2010-12-18, 10:32
[No subject] - by TugboatBill - 2010-12-18, 19:43
[No subject] - by thethirdnut - 2011-02-05, 05:08
[No subject] - by darkscout - 2011-02-05, 05:57
[No subject] - by thethirdnut - 2011-02-05, 06:11
[No subject] - by darkscout - 2011-02-05, 06:48
[No subject] - by thethirdnut - 2011-02-05, 07:12
[No subject] - by ptmuldoon - 2011-02-05, 16:38
[No subject] - by darkscout - 2011-02-07, 00:58
[No subject] - by thethirdnut - 2011-02-07, 04:37
[No subject] - by okolowicz - 2011-02-13, 08:19
[No subject] - by ctrlbrk - 2011-03-02, 09:39
[No subject] - by darkscout - 2011-03-02, 21:47
[No subject] - by darkscout - 2011-03-04, 03:46
[No subject] - by Superorb - 2011-03-04, 05:44
[No subject] - by darkscout - 2011-03-04, 06:14
[No subject] - by Superorb - 2011-03-04, 06:38
[No subject] - by darkscout - 2011-03-05, 16:13
[No subject] - by bmcclure937 - 2011-03-06, 07:02
[No subject] - by ctrlbrk - 2011-03-07, 07:36
[No subject] - by darkscout - 2011-03-07, 18:42
[No subject] - by publicENEMY - 2011-07-22, 11:40
[No subject] - by claypigeon - 2011-07-22, 20:39
[No subject] - by hazeh - 2011-07-22, 23:38
[No subject] - by claypigeon - 2011-07-23, 01:04
[No subject] - by ShinobiNinjai - 2012-02-26, 05:46
[No subject] - by lrusak - 2012-02-26, 06:05
RE: Freenas vs unRaid - by srj1209 - 2012-11-09, 07:00
RE: Freenas vs unRaid - by smitopher - 2012-11-11, 07:42
[No subject] - by ShinobiNinjai - 2012-02-26, 06:22
[No subject] - by lrusak - 2012-02-26, 23:14
[No subject] - by tanglin - 2012-03-04, 23:10
[No subject] - by Orclas - 2012-03-05, 01:03
[No subject] - by Hypknox - 2012-03-09, 02:32
Logout Mark Read Team Forum Stats Members Help
FreeNAS versus unRAID as the operating-system for a DIY NAS?0