4 ms·
It's 2016. If you are still deploying RAID, you're doing it wrong. Seriously guys, ZFS. Look it up.
by X86BSD 10y ago
It's 2016. If you are still deploying RAID, you're doing it wrong. Seriously guys, ZFS. Look it up.
- chris_wot 10y agoYou've been voted down, but I'm curious - could you elaborate?
- chungy 10y agoZFS 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.
- chris_wot 10y agoHope this comment isn't too ignorant, but how does it compare to gfs2?
- jfindley 10y agoIt 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.
- xioxox 10y agoBut it won't let you add disks to your array one-by-one, unlike linux software raid.
- seschwar 10y agoWhat 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 https://illumos.org/man/1m/zpool
- Elhana 10y agoWhat 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.
- colejohnson66 10y agoRAID 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?
- kev009 10y agoIf 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.
- fl0wenol 10y agoRAID 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.
- kev009 10y agoYou 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.
- wtbob 10y agoPity about the licensing. And, I'm told, the RAM requirements.
- X86BSD 10y agoI would have preferred the 2 clause BSDL myself but they were free to choose CDDL.