Live data from Hacker News

FreeNAS: Open Source Storage Operating System

freenas.org

81–90 of 182 posts

Re: FreeNAS: Open Source Storage Operating System

#81

Storage is a really weak area of mine, but it is important, and I do not see much technical discussion here anyway, so I am going to expose myself: How does integrity protection work in practice? I know that the bits on the HDD itself do not map one to one to bits you can actually use and that it uses that to protect us from flipped bits. I know that beyond that RAID/RAIDZ is supposed to help. I guess redundancy alon…

> How does integrity protection work in practice? I know that the bits on the HDD itself do not map one to one to bits you can actually use and that it uses that to protect us from flipped bits.

Checksums.

If you get big enough checksums (aka: Reed-Solomon Codes), you can not only detect errors but correct them as well. See https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_cor... for the math.

Now that you have this "error-correcting checksum", where do you put it? Raid5 means you place the error-correcting checksum on different disks.

If you have three disks: A, B, and C. You'll put the data on A & B, then the checksum on C. This is RAID4 (which is never used).

RAID5 is much like RAID4, except you also cycle between the drives. So the checksum information is stored on A, B, or C. Sometimes the data is on A&B, sometimes is B&C, and sometimes its on A&C.

-----------------------

> Could I put a FreeNas in a corner a room and leave it there? Would it just blink when I need to put a new drive in or would it need more maintenance? Of course talking about worst case scenarios here, so say I want this to live for 10 years sitting in the corner.

Maybe, maybe not. If all the drives fail in those 10 years, of course not (Hard Drive arms may lose lubricant. If the arms stop moving, you won't be able to read the data).

"Good practice" means that you want to boot up the ZFS box and run a "scrub" on it every few months, to ensure all the hard drives are actually working. If one fails, you replace it and rebuild all the checksums (or the data from the checksums).

RAID / ZFS isn't a magic bullet. They just buy you additional time: time where your rig begins to break but is still in a repairable position.

ZFS has more checksums everywhere to check for a few more cases than simple RAID5. But otherwise, the fundamentals remain the same. You need to regularly check for broken hard drives and then replace them before too many hard drives break.

---------

This also means that no single box can protect you from a natural disaster: fires, floods, earthquakes... these can destroy your backup all at once. If all hard drives fail at the same time, you lose your data.

Re: FreeNAS: Open Source Storage Operating System

#82

Or if you want a linux flavored version: http://www.openmediavault.org

I was just about to post this. I run OMV at home, and haven't had any problems with it. I've used both FreeNAS and OMV, and find the OMV community more welcoming and helpful than the FreeNAS one. The FreeNAS community has organized itself with the intent of focusing exclusively on very specific very corporate use case. If you don't fit they're use case, you are bad and should feel bad. OMV on the other hand is much m…

> With the notable exception of ZFS vs EXT4, they underlying software appears to be the same,

Huh no. OMV is Linux + PHP.

Re: FreeNAS: Open Source Storage Operating System

#84

One thing that's been unclear to me with ZFS: How should I design a ZFS-based storage system for extensibility? From what I've read, it seems like you can't add devices to a pool once it's been created. I'd love to create a small-ish NAS right now to store, say, the top 10% of my blu-ray collection, and then incrementally upgrade it over time as I get funds.

You can expand a pool one RAID array at a time, but growing one drive at a time isn't really possible except by not using RAID; ZFS doesn't have a true equivalent to the BTRFS rebalance operation.

Re: FreeNAS: Open Source Storage Operating System

#85
post #67

Correct me if I'm wrong (please!) but FreeNAS still can't (easily?) do what Synology's 'Hybrid RAID' (basically sharded RAID across drives) facilitates; growing your (redundant, e.g. 1 or more parity drives) volume by adding more drives, and also growing your volume by replacing drives with larger ones. I've always thought that was essential, it bemuses me that there aren't many solutions out there that help you do t…

OpenZFS won't let you alter the array geometry, so if you start with an 8-drive RAID-Z2 pool, you're stuck with it.

You can expand the capacity of the pool by replacing each drive, changing them one by one and re-synchronizing the array between replacements.

Re: FreeNAS: Open Source Storage Operating System

#86

One thing that's been unclear to me with ZFS: How should I design a ZFS-based storage system for extensibility? From what I've read, it seems like you can't add devices to a pool once it's been created. I'd love to create a small-ish NAS right now to store, say, the top 10% of my blu-ray collection, and then incrementally upgrade it over time as I get funds.

https://jsosic.wordpress.com/2013/01/01/expanding-zfs-zpool-...

Re: FreeNAS: Open Source Storage Operating System

#88
When looking for a professional storage solution, I found FreeNAS, but then noticed that I was looking for something more distributed and robust.

I found Ceph. Also 100% opensource. But needs like 3 physical machines in production (at least) in order to have some kind of built-in redundancy.

Re: FreeNAS: Open Source Storage Operating System

#89

One thing that's been unclear to me with ZFS: How should I design a ZFS-based storage system for extensibility? From what I've read, it seems like you can't add devices to a pool once it's been created. I'd love to create a small-ish NAS right now to store, say, the top 10% of my blu-ray collection, and then incrementally upgrade it over time as I get funds.

The easiest way to do this is to use mirror vdevs, that way you can add disks two at a time. Of course, you miss out on RAIDZ functionality that way, but that's the simplest setup.

I've gone ahead and actually created a new array using btrfs raid10 instead (with an eye towards a RAIDZ2/3 like configuration whenever the btrfs guys get around to fixing it); btrfs allows for online reshaping of the mirroring configuration, so it doesn't have the limitations of ZFS in this instance.

Re: FreeNAS: Open Source Storage Operating System

#90
I think NASes should become the things of the past. They are too fragile, too maintenance-greedy and don't scale enough for the modern world. I'd much rather see a tiny distro with ready to use Swift, Gluster, Ceph, whatever, but not ZFS (sorry ZFS fans).
Post reply on HN