News for hackers. Stuff that matters.
Re:Linux RAID is different from Windows for sound technical ... by X86BSD on Saturday September 24, 2016 @12:25AM (#12569453)
It's 2016. If you are still deploying RAID, you're doing it wrong. Seriously guys, ZFS. Look it up.
Re:Linux RAID is different from Windows for sound technical ... by fl0wenol on Saturday September 24, 2016 @02:54AM (#12569766)
RAID isn't dead yet.

* outboard RAID provides write amplification across physical devices

* soft RAID1 (simple mirror) is nice for things like boot volumes and easy to fix when it breaks

But yeah, ZFS and similar strategies work much better than soft RAID-5/6 for file store resiliency across visible LUNs.

Re:Linux RAID is different from Windows for sound technical ... by kev009 on Saturday September 24, 2016 @04:33AM (#12570068)
You may want to do a quick search on what write amplification means. It's an undesirable property of data structures.

I think you perhaps meant fan out, which is partially valid but addressed in the submitted article - i.e. bus speeds have improved greatly. In fact to the point where you can easily have no bus at all: point to point PCIe lanes to each NVMe device.

A zmirror is simple too, and gives you boot environments so you can roll back failed upgrades and other magic.

Re:Linux RAID is different from Windows for sound technical ... by chris_wot on Saturday September 24, 2016 @01:07AM (#12569547)
You've been voted down, but I'm curious - could you elaborate?
Re:Linux RAID is different from Windows for sound technical ... by chungy on Saturday September 24, 2016 @01:43AM (#12569627)
ZFS has built-in support for redundant disks (in fact, using a lower-level hardware or software RAID under ZFS is not recommended). This allows it to do fancy things like allocate files intelligently across stripes, rebuild a disk with only the data used by the file system (huge time saver), and be able to repair files on-the-fly that are damaged, or at worst, report what files cannot be repaired.
Re:Linux RAID is different from Windows for sound technical ... by xioxox on Saturday September 24, 2016 @03:44AM (#12569928)
But it won't let you add disks to your array one-by-one, unlike linux software raid.
Re:Linux RAID is different from Windows for sound technical ... by seschwar on Saturday September 24, 2016 @05:53AM (#12570270)
What gave you that impression? With `zpool attach` you can attach a device to an existing VDEV (single device, mirror, RAIDZ) to increase redundancy. With `zpool add` you can add a new VDEV to your pool to extend its capacity.

See https://illumos.org/man/1m/zpool

Re:Linux RAID is different from Windows for sound technical ... by Elhana on Saturday September 24, 2016 @07:55AM (#12570578)
What he means is you can't add another disk in vdev. If you have a raidz with 3 disks, you can't add 4th one and rebalance. What you can do is either add another vdev to the pool, making it two+ striped raidz or you can replace your 3 disks with a bigger ones.

Reason for that is that adding a disk to vdev will require rebalancing everything and considering complexity of zfs, you better just make a new raidz with 4 disks and move data over, otherwise it might just take ages and complicate things a lot. This is obviously not ideal for a home user, but zfs was not created with a home users in mind.

Btrfs supposedly should let you do this, but their raid5/6 is still unstable - probably for a reason. In fact, this is not such a big deal. You can add disks to a zfs mirror (and it is real n-way mirror, not btrfs raid1 thing with multiple disks), you can add mirror vdevs to raid10 setup. If you are making raidz1/2/3 just make sure you understand that you can't expand it by adding more disks.

Re:Linux RAID is different from Windows for sound technical ... by chris_wot on Saturday September 24, 2016 @01:47AM (#12569635)
Hope this comment isn't too ignorant, but how does it compare to gfs2?
Re:Linux RAID is different from Windows for sound technical ... by jfindley on Saturday September 24, 2016 @09:17AM (#12570810)
It doesn't. GFS2 is a clustered filesystem, ZFS is not. GFS2 is for sharing a single filesystem between multiple nodes, with a distributed lock manager to avoid corruption. It's complex to fix when it breaks, generally fairly slow and very few people need it - for most users, NFS (especially v4 and up) is a better way of accomplishing the same end goal.
Re:Linux RAID is different from Windows for sound technical ... by colejohnson66 on Saturday September 24, 2016 @01:20AM (#12569568)
RAID is something that can supported at the hardware level (hardware RAID) whereas ZFS requires software support. Also, some businesses use Windows Server. Are they wrong for not using ZFS?
Re:Linux RAID is different from Windows for sound technical ... by kev009 on Saturday September 24, 2016 @02:04AM (#12569668)
If you read the Linux developer's article that this whole thread is about, you will see reasons you should not use hardware RAID for some years now.

And yes, most people should default to ZFS for everything on FreeBSD/IllumOS/Solaris/Linux. There are specific cases where you should use XFS or UFS on these operating systems such as fail in place and overlay filesystems (HDFS, Ceph, Swift etc) but times have changed, the tables have turned, these non-ZFS filesystems are now expert territory with here be dragons warning label.

Re:Linux RAID is different from Windows for sound technical ... by wtbob on Saturday September 24, 2016 @07:45AM (#12570544)
Pity about the licensing. And, I'm told, the RAM requirements.
Re:Linux RAID is different from Windows for sound technical ... by X86BSD on Saturday September 24, 2016 @12:25PM (#12571503)
I would have preferred the 2 clause BSDL myself but they were free to choose CDDL.