Slashdot Mirror


ZFS For Linux Finally Lands In Debian GNU/Linux Repos (softpedia.com)

prisoninmate quotes a report from Softpedia: It took the Debian developers many years to finally be able to ship a working version of ZFS for Linux on Debian GNU/Linux. For those not in the known, ZFS on Linux is the official OpenZFS implementation for Linux, which promises to offer native ZFS filesystem support for any Linux kernel-based operating system, currently supporting Arch Linux, Ubuntu, Fedora, Gentoo, Red Hat Enterprise Linux, CentOS, openSUSE, and now Debian. And it looks like their ZFS for Linux implementation borrows a lot of patches from Ubuntu, at least according to the changelog for zfs-linux 0.6.5.6-2, the version that is now available in the unstable channel for Debian users to install and test.

73 of 150 comments (clear)

  1. Bunking with Hans? by Anonymous Coward · · Score: 5, Funny

    I notice that this article was submitted by prisoninmate, yet the filesystem in discussion is ZFS, not ReiserFS.

    What gives?

  2. Re:I'll probably hold out a while longer. by rdelsambuco · · Score: 1

    Exactly. Use the Mint version, instead.

    --
    I comment occasionally so that I can mod others -1 overrated or -1 offtopic.
  3. Re:I'll probably hold out a while longer. by ArchieBunker · · Score: 4, Insightful

    I'll use it with FreeBSD.

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
  4. Don't Bother with ZFS by Anonymous Coward · · Score: 2, Interesting

    If you want the benefits of ZFS use FreeBSD. It's a much nicer/cleaner OS than Debian or the other 3000 linux distros in use cases that require ZFS.

    1. Re:Don't Bother with ZFS by danbob999 · · Score: 1

      I hear that all the time, but why would I switch operating system only for the file system? Ever heard of someone switching to Linux to get ext4 support? Or to Windows to get NTFS support? Of course not. File system is a very minor component of an operating system these days. Except if I were building a NAS, I wouldn't even consider making a comparison of file systems when choosing an OS.

    2. Re: Don't Bother with ZFS by reg · · Score: 3, Informative

      Some people would say that is the biggest strength of freebsd... In fact that is the primary concern of developers worried about moves to package the freebsd base system. Regards, -Jeremy

    3. Re:Don't Bother with ZFS by NIGGERpenisgoodPENIS · · Score: 1

      Isn't FreeBSD the OS where you have to deal with the same incompatibility bullshit as in Linux... just exponentially more so?

      Call me pessimistic, but with my luck on Linux I don't even want to try FreeBSD...

      If I was going to try any BSD it would definitely be OpenBSD especially for running a net facing server. For day to day use, browsing, email, getting work done, playing games, whatever, I plan to stick with Linux behind a NAT router.

      --
      Learn to laugh at our differences. It's better than fighting over them.
    4. Re:Don't Bother with ZFS by poet · · Score: 5, Informative

      If you are building a server, then file system absolutely matters.

      Ext4 is fine but limited and not nearly as mature or stable as XFS. When building a server that *matters*.

      ZFS blows the doors off of anything the Open Source community has *ever* built (in terms of file systems). It has features that Linux users have been desperate for. For example, file system snapshots and rollbacks. Yes, you can do it with LVM2. Guess what? LVM2 sucks at it (in comparison to ZFS).

      --
      Get your PostgreSQL here: http://www.commandprompt.com/
    5. Re:Don't Bother with ZFS by Anonymous Coward · · Score: 1

      I hear that all the time, but why would I switch operating system only for the file system? Ever heard of someone switching to Linux to get ext4 support? Or to Windows to get NTFS support? Of course not. File system is a very minor component of an operating system these days. Except if I were building a NAS, I wouldn't even consider making a comparison of file systems when choosing an OS.

      For NAS, its a killer RAID filesystem. It's a bit of a memory hog, but the anti-corruption and snapshotting features are great. The on the fly compression doesn't save much space for media files, but that's handy to have also.

      My only gripe is how tricky it is to add more drives to the raid. I don't know if I would switch operating systems to have it, but I'm really liking it and I wouldn't want to go back to another filesystem.

    6. Re:Don't Bother with ZFS by mlts · · Score: 1

      It can be argued that testing the OS as a gestalt is a good thing. One good idea is how AIX does releases. You have your OS revisions and your APARs as patches, but you have technology level updates as well, which are not truly OS updates per se... but a snapshot in time where all packages and updates have been thoroughly regression tested. It would be interesting to have something similar on a quarterly basis. This is sort of handled by OS updates like RHEL 6.8 which was recently released, but would be something that would be more guaranteed to happen at a time of the year, so every so often, there is a solid base to start at for OS imaging.

    7. Re:Don't Bother with ZFS by mlts · · Score: 1

      It would be interesting for the ability to add more drives dynamically, perhaps with a new RAID type that can work with dynamic adding and removing of drives, minimizing the time the array is in a degraded state.

      My "ideal" of a filesystem that sits on BSD is EMC Isilon's OneFS or NetApp's WAFL filesystem. This not just offers what ZFS has, but the ability to link other nodes via Infiniband and use their filesystems, presenting a filesystem which is redundant across drives, and redundant across nodes. If a drive fails on an Isilon cluster, it can be configured to rebuild itself, except with less disk space, so redundancy is preserved. I've even encountered severely neglected Isilon clusters that have had over half their drives dead, and the only reason the users noticed was that they ran out of disk space.

    8. Re:Don't Bother with ZFS by Anonymous Coward · · Score: 4, Informative

      Because ZFS is actually part of the kernel structure of FreeBSD. Linux puts the filesystem in userspace which makes ZFS in userspace inefficient. (Hell all filesystems in user space are inefficient, but ZFS doubly so because of what ZFS is.)

      ZFS, in short is a bullet-proof file system, if setup correctly. Unfortunately the VAST majority of use cases are overkill. A proper ZFS setup would require no less than 4 mechanical drives and 8GB of RAM. Just for the file system. Because underneath ZFS is essentially a very smart software RAID 6 and journaling system. So you can pretty much kill one drive in a 4 drive system and it will still function as if it was still there, no "degraded mode" like in a hardware raid. Then when you replace the drive, or upgrade it to a larger drive it just works seamlessly, no week-long rebuilds with impaired performance.

      Compare that to ext2/ext3/ext4/UFS/exFAT/NTFS which are nothing but filesystems, some with journaling.

    9. Re:Don't Bother with ZFS by JoeMerchant · · Score: 1

      But wait, during the decade or so that ZFS was "almost ready," wasn't there a functional transactional file system option with a less-well-known name?

      I'm trying to remember what it was - and also flush out a believer who can tell us: "X" was doing this 5-6 years ago and has been actively improving since then, ZFS is just a better known name, not a better system.

      Anybody remember that one?

    10. Re: Don't Bother with ZFS by inode_buddha · · Score: 1

      He's not BS'ing. ZFS on linux has been tried as a userspace filesystem (via FUSE, among other efforts...), and its nowhere near as good as a native, in-kernel implementation. Doing the FS in userspace actually costs more in raw performance.

      --
      C|N>K
    11. Re:Don't Bother with ZFS by UnknownSoldier · · Score: 2

      > ZFS, in short is a bullet-proof file system, if setup correctly. ... Because underneath ZFS is essentially a very smart software RAID 6 and journaling system.

      Well, considering hardware RAID has a silent corruption bug, I'd say it more then "essentially" :-) Especially with Raid-Z2 and Raid-Z3.

      See Pages 13 .. 18
      ZFS The Last Word in FileSystems

      Measurements at CERN
      * Wrote a simple application to write/verify 1GB file
      * Write 1MB, sleep 1 second, etc. until 1GB has been written
      * Read 1MB, verify, sleep 1 second, etc.
      * Ran on 3000 rack servers with HW RAID card
      * After 3 weeks, found 152 instances of silent data corruption
      * Previously thought âoeeverything was fineâ
      * HW RAID only detected âoenoisyâ data errors

    12. Re:Don't Bother with ZFS by dbIII · · Score: 1

      I hear that all the time, but why would I switch operating system only for the file system?

      The obvious reason would be for a file server. Other situations are not so obvious, but as for minor - unlikely.

    13. Re:Don't Bother with ZFS by rl117 · · Score: 1

      Simply because it's a *killer feature*. It does things which no native Linux filesystem can offer, even when coupled with LVM and RAID. It takes all of these and replaces them with something that's simply better, more robust and easier to manage. And which is also properly documented with a good number of tutorials and best practices documented clearly.

      I'm one of the people who migrated to FreeBSD pretty much because of ZFS, initially for a NAS but now also on other systems. Not the only consideration, but it was the primary one. I used Linux-ZFS to initially use ZFS on Linux and migrate the data from LVM/ext4, but later transferred the disks to the NAS. A simple "zpool import" was all that was required to do so; few filesystems have that level of cross-platform interoperability (ignoring awful ones like FAT). Everything was already mounted in the right places as well!

      Linux does not offer anything comparable, so if you want those features then switching operating systems to one which offers them natively makes sense. I'm going to have a play with Ubuntu 16.04 on ZFS in the next few weeks, and might well end up using it, but it's still less mature and well integrated so I doubt it will replace ZFS on FreeBSD for me anytime soon, but might supplement it--I'll at least be able to "zfs send" backups to the FreeBSD ZFS server.

    14. Re: Don't Bother with ZFS by loufoque · · Score: 1

      If you had actually used systemd, you'd know it makes your services more reliable, not less.

    15. Re:Don't Bother with ZFS by fisted · · Score: 1

      For example, file system snapshots and rollbacks

      NetBSD does this in a filesystem-agnostic way with its Filesystem snapshot device

      Why build the functionality into one particular filesystem? Oh yes, poor design.

    16. Re:Don't Bother with ZFS by Wokan · · Score: 1

      If I wanted the experience of maintaining a BSD, I'd switch back to Gentoo Linux.

    17. Re:Don't Bother with ZFS by phoenix_rizzen · · Score: 1

      Uhm, no.

      ZFS-on-Linux is the project that creates a kernel module for all the ZFS bits, and integrates the filesystem into the Linux storage stack.

      It's not as stable and reliable as the FreeBSD setup, but it's a geek of a lot more stable and performant than the old FUSE-based setup on Linux .

    18. Re: Don't Bother with ZFS by cthulhu11 · · Score: 1

      Because some of us need to run applications

    19. Re: Don't Bother with ZFS by cthulhu11 · · Score: 1

      Agree wholeheartedly. Or the blindingly obvious need for compression, or Linux's continuing refusal to integrate volume management, RAID, and filesystem.

    20. Re: Don't Bother with ZFS by cthulhu11 · · Score: 1

      There's a name for what you want: Ceph. ;)

    21. Re:Don't Bother with ZFS by danbob999 · · Score: 1

      Oh yeah sorry, I forgot. Most servers out there do not use ZFS. And they still perform stuff that matters.

    22. Re: Don't Bother with ZFS by pnutjam · · Score: 1

      shhh... Don't wake up his brain, he's been sleepworking for years.

    23. Re:Don't Bother with ZFS by pnutjam · · Score: 1

      Btrfs is already the default file system for SuSE. I believe it is on par with ZFS and has a better roadmap. It's also GPL, which is ZFS's biggest problem.

    24. Re:Don't Bother with ZFS by Wolfrider · · Score: 1

      --ZFS is much more flexible with mirrored pairs. Build a 5- or 6-disk RAIDZ2, and you have to add the same number of drives ( with the same capacity, e.g. 6x1TB + 6x1TB ) to double the RAID capacity properly and keep your I/O throughput sane.

      --However, if you start with a mere 2-disk mirror, you can keep adding mirrored pairs much more easily. Example: Start with 2x1TB WD RED NAS drives in a mirrored pair. Create a mirrored zpool with both disks. You start with ~1TB of redundant mirrored storage, with ~2x the speed of 1 drive for read operations since ZFS can pull blocks from either disk.

      --Now add another 2x1TB mirrored pair to the zpool (there are plenty of articles online on how to do this, but I will refer to the official docs):
      http://docs.oracle.com/cd/E192...

      --Wait for resilver to complete: ' zpool status ', and now you have a RAID10 with ~2TB of redundant writable space. You can't survive losing *both* disks in a given mirror "column", (SO BACKUP!) but you *could* lose 1 disk from either mirror set and still be up and running with a "degraded" pool.

      --Keep the drive sizes reasonable, and recovery time will be minimized since ZFS only has to resilver the "used" blocks in the filesystem, not the whole disk. (Another big advantage over RAID5/RAID6.)

      --Caveat: You can't "shrink" the pool without destroying it and recreating it, but overall that's pretty easy to get used to once you consider all the benefits of the filesystem. Plan your pool capacity accordingly, and allocate entire GPT-labelled disks to the pool. You can expand on-the-fly with negligible "downtime" -- (the pool is still quite usable, but I/O operations will slow down the resilvering.)

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    25. Re:Don't Bother with ZFS by dave420 · · Score: 1

      Btrfs is not on on par with ZFS. Not even close.

    26. Re: Don't Bother with ZFS by Coren22 · · Score: 1

      Have you heard of this new docker thing? Virtualization is so outdated, you make extra copies of the OS?

      --
      APK likes to ask for responses to the same things over and over. Maybe he just likes the responses?
  5. Re: Did you know? by Sasayaki · · Score: 2

    "The lack of evidence for this claim is evidence of a cover-up to hide the evidence of this claim, and is therefore evidence for this claim" is basically the prime argument for every conspiracy theory argument ever.

    --
    Check out my sci-fi book "Lacuna" at http://goo.gl/MVxX8
  6. Love ZFS still hoping for BTRFS by geek · · Score: 1

    I love ZFS on FreeBSD. Its works amazingly well. I tried it on Linux (Antergos lets you use ZFS on root if you're interested). My experience with Linux was less satisfying. It is an absolute memory hog. I was using 8 gigs of RAM at all times. Ordinarily I don't mind this, RAM is there to be used afterall. But on the same box with FreeBSD I rarely broke 2 gigs of RAM used and the same goes with any Linux distro and BTRFS.

    The features of ZFS are great and you can't beat the speed and stability but I really hope BTRFS gets caught up as it seems to be a better filesystem ideologically.

    1. Re:Love ZFS still hoping for BTRFS by Anonymous Coward · · Score: 1, Insightful

      Uhm, you know those things are mostly caches? And the seconds it's needed by some program it drops it? Unless you're talking about something like the deduplication support then memory usage is not something you should get to hung up on. I have lots of servers running ZFS, some on as little as 512 MB of RAM and they are fine.

    2. Re:Love ZFS still hoping for BTRFS by fluffernutter · · Score: 1

      I played with ZFS for a little awhile as a backup pool. The snapshotting is very nice, but I ended up using ext4 instead for my purpose because nothing is extendable. A modern FS should have extendable volumes.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    3. Re:Love ZFS still hoping for BTRFS by Anonymous Coward · · Score: 2, Informative

      Linux and BSD accounting for memory currently in use for ZFS ARC differs.

    4. Re:Love ZFS still hoping for BTRFS by fluffernutter · · Score: 1

      No ZFS's thing is snapshots. Once you create a ZFS disk pool I could find no way to add a disk to it to make it bigger.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    5. Re:Love ZFS still hoping for BTRFS by Lord+Crc · · Score: 2

      Just create another vdev with the new disks and add it to the pool. Voila, more space in the pool.

    6. Re:Love ZFS still hoping for BTRFS by fluffernutter · · Score: 1

      From https://www.freebsd.org/doc/ha...

      "Creating a ZFS storage pool (zpool) involves making a number of decisions that are relatively permanent because the structure of the pool cannot be changed after the pool has been created. The most important decision is what types of vdevs into which to group the physical disks. See the list of vdev types for details about the possible options. After the pool has been created, most vdev types do not allow additional disks to be added to the vdev. The exceptions are mirrors, which allow additional disks to be added to the vdev, and stripes, which can be upgraded to mirrors by attaching an additional disk to the vdev. Although additional vdevs can be added to expand a pool, the layout of the pool cannot be changed after pool creation. Instead, the data must be backed up and the pool destroyed and recreated."

      It was too restrictive for me.

      --
      Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
    7. Re: Love ZFS still hoping for BTRFS by Anonymous Coward · · Score: 1

      You extend the pool by adding new vdevs, not by adding disks to existing vdevs. I really don't get how that's restrictive.

    8. Re:Love ZFS still hoping for BTRFS by dbIII · · Score: 1

      No ZFS's thing is snapshots. Once you create a ZFS disk pool I could find no way to add a disk to it to make it bigger.

      Add two disks or more :)
      Don't think in disks, look up "vdev".

      There are a few things to watch out for in linux ZFS for the moment until it catches up. The most important is to label your disks because unlike on solaris, bsd etc if they end up in a different hardware order they will drop out of the pool otherwise.

    9. Re:Love ZFS still hoping for BTRFS by rl117 · · Score: 1

      Extensible at *which level*?

      If you're thinking in terms of filesystem size, and since you mention ext4 this appears to be the case, then this is a complete non-issue. ZFS *datasets* are the equivalent of filesystems, and these can grow and shrink freely; the only limit would be an optional maximum size you set on it, i.e. a quota. Otherwise it use whatever free space is available in the pool. This would be equivalent to growing and shrinking an LVM LV, but without any of the manual effort--to do the equivalent of adding or removing space, you simply adjust the quota. Dead simple, and totally safe; the same can not be said about shrinking--adjusting all the fs structures and then chopping the end off the block device with an LV resize is actually quite risky and dangerous in comparison--a mistake could trash all your data.

      The other level would be the pool itself. This can be grown by addition of zvols (disk RAID sets, typically). You can't shrink the pool, that's really the only limitation. And it's not a particularly big problem, since the need to do this is rare in a production system. When all your data is in ZFS datasets, you don't fiddle with the system at this level--we're not doing manual partitioning or messing around with LV resizing any more. But that level no longer matters; all your data is simply contained in the pool, and managed in datasets, snapshots, as you see fit.

    10. Re:Love ZFS still hoping for BTRFS by rl117 · · Score: 1

      You have been extraordinarily lucky. No horrible dataloss. And you haven't hit the unblancing issues which make the filesystem read-only after an indeterminate period? Or are you doing a regular rebalance with associated performance loss and hoping for the best?

  7. Re:I'll probably hold out a while longer. by Guspaz · · Score: 1

    For varying definitions of "supported". Hasn't development of the old ZFS been at a standstill apart from critical patches, while OpenZFS has continued to evolve?

  8. Re:Jesus by zenlessyank · · Score: 1

    Everyone is tired from the ARSTechnica website fiasco and so the only peeps on /. are trolls....cept me and you ;) and maybe danbob999

  9. Re:I'll probably hold out a while longer. by zenlessyank · · Score: 1

    You are a fucking troll who thinks it is cool to have 2 sets of rules. Fuck Off Mr. Strangerman.

  10. distributions, not operating systems! by Gravis+Zero · · Score: 1

    For those not in the known, ZFS on Linux is the official OpenZFS implementation for Linux, which promises to offer native ZFS filesystem support for any Linux distribution, currently supporting Arch Linux, Ubuntu, Fedora, Gentoo, Red Hat Enterprise Linux, CentOS, openSUSE, and now Debian

    FTFY

    --
    Anons need not reply. Questions end with a question mark.
  11. Re:I'll probably hold out a while longer. by Lisandro · · Score: 1

    Why do you call it GNU/Linux and not GNU/ZFS/Linux? The filesystem is a pretty darn important part of an operating system.

    It is. That's why Linux supports about 30 of them out of the box.

  12. Why, or why not ZFS? by lalleglad · · Score: 2

    The inclusion of ZFS support into Linux has been discussed for so long I can't remember the first time anymore.

    And what I still can't understand is, and please excuse me my ignorance:

    1. What is it I can do with ZFS in Linux that is so important?
    2. What is it I can't do without ZFS?

    I am not saying that we shouldn't support ZFS, because I think we should eventually support anything and everything, but why all the fuss?

    1. Re:Why, or why not ZFS? by Tapewolf · · Score: 5, Informative

      What is it I can do with ZFS in Linux that is so important?
      What is it I can't do without ZFS?

      It does a lot, but the features I'm interested in are the protection against bit-rot. Specifically, if you set up a mirrored pair of disks in a ZFS pool, it will checksum everything on both sides of the mirror.
      When the array is checked (scrubbed), it verifies the checksums. If there is a mismatch because the data has glitched on the media, the checksum won't be valid on one disk, but it will be valid on the other disk so it can repair it. If there's a mismatch in a more conventional mirrored pair, the controller wouldn't really have a way to know which one is correct.

      This capability is also in BTRFS, but much has been written about how BTRFS is still experimental. Also, last time I looked, BTRFS was only available for Linux - with ZFS it would be possible to migrate to FreeBSD if Linux does jump the shark.

      The other thing is that the scrubbing process is done in the background. My main data pool is a pair of 4TB disks, which was EXT4 to begin with, then BTRFS and now ZFS. The system is a desktop which is powered down at night. Every 180 boots it would run FSCK, which took something like 2 hours to run on EXT4, during which the system was unusable. With BTRFS and ZFS, the scrubbing takes place while the pool is mounted. So yes, you can do this with BTRFS as well, but ZFS is the more proven option of the two.

    2. Re:Why, or why not ZFS? by Anonymous Coward · · Score: 1

      Some other cool features not mentioned is what PC-BSD does with ZFS. When a new PC-BSD upgrade gets pushed out, it will first snapshot your boot volume, then mount it in a jail, then upgrade the OS in the jail. On next reboot, you load from the new boot volume, but you can go back to the old one in case something horrible borks the computer.

      Another company that had a large world to build had issues managing all of the temp files and other crap that goes along with rebuilding a large system entirely from source. So they created a system that understood the make files, and would create new ZFS volumes pre-populated with the source files needed to build that sub-part of the system. The final output was written to a shared mount. Once that part of the build was complete, the jail and volume would get destroyed, leaving the system in pristine condition at all times. With a large world to build and a huge server to build it on, they were creating and destroying 11,000 ZFS volumes and BSD jails per second. As system admins, they loved not having to clean up after the build process.

    3. Re:Why, or why not ZFS? by UnknownSoldier · · Score: 1

      Here's an introduction to ZFS.
      * http://wiki.illumos.org/download/attachments/1146951/zfs_last.pdf

      At the time ZFS was written, nothing even came close to its features.

      ZFS got famous for demos like this:
      * ZFS is Smashing Baby

      --
      Robin Williams: Lived a hero, died a coward. :-(

    4. Re:Why, or why not ZFS? by UnknownSoldier · · Score: 1

      Whoops, that first link should be:

      * ZFS: The Last Word In File Systems

    5. Re:Why, or why not ZFS? by Anonymous Coward · · Score: 1

      Good grief, as if the world owes you an explanation - google is your friend! You post is about as useful as people asking for phone numbers of businesses on facebook forums.

      - Grumpy Australian

    6. Re:Why, or why not ZFS? by dbIII · · Score: 1

      It's a very nice way of dealing with disk arrays with snapshotting and a pile of other features that are not so easy to get via other means. One feature is that it is trivially easy to copy entire filesystems to other machines and just as easy to add incremental updates. Another is not having to rely on having the same brand of RAID controller if you want to get the disks to work on different hardware, any SATA (or SAS for those disks) controller/s will do. A desktop PC with slots full of SATA cards of any brand could get you up and running when a file server dies.

    7. Re:Why, or why not ZFS? by dbIII · · Score: 1

      Another thing - not having to wait for "fsck" to finish on large volumes when they come up again after a lot of uptime. File system checks are done on live filesystems, it's called "scubbing" on ZFS.

    8. Re:Why, or why not ZFS? by dbIII · · Score: 1

      with ZFS it would be possible to migrate to FreeBSD if Linux does jump the shark

      Less contraversally it's convenient to have it not only controller agnostic but also OS agnostic. I've connected up a pool created on linux to a FreeBSD box and it just works because it's designed to work in that situation.

    9. Re: Why, or why not ZFS? by rl117 · · Score: 1

      No. Because it doesn't violate it. And being a monolithic blob is the least of the criticisms which we could make about systemd, when there's an entire book's worth of bad design in there. ZFS was designed by competent and expert professionals, rather than unprofessional prima donnas, and it shows.

      It's a fundamentally different design to traditional UNIX filesystems and disk management, but that doesn't automatically make it a monolithic blob. Is Linux LVM a monolithic blob? That's the level your question is at, as well as being flamebait.

      Internally, ZFS is layered similarly to a Linux raid/lvm/filesystem setup. Here, you would have raw block devices managed by hardware or software RAID, with LVM using these devices as physical volumes. It would then provide logical volumes upon which you could create filesystems.

      With ZFS, you would have block devices aggregated into "vdevs", which would be the equivalent of RAID0/1/5/6 RAID sets. These are the equivalent of LVM physical volumes. Next, you would use one or more vdevs to create a "zpool", which would be the equivalent of an LVM volume group. Finally, you would create datasets in the pool, which are the equivalent of a logical volume plus a filesystem, or a zvol which is the equivalent of a logical volume--a raw block device. So it's cleanly and logically layered. It's using plain block devices as the backing store as for any UNIX filesystem, but it's not creating intermediate block devices as LVM does--it's managing that internally.

      The layering is pretty much the same--it's a well separated design. What's different is that ZFS has knowledge of all the layers and can use that to do things much more efficiently and much more robustly. For example, when doing a RAID rebuild ("resilver") it only needs to resync bits of the disk that actually have data on which can dramatically reduce the statistical likelihood of encountering an unrecoverable error. A dumb RAID setup doesn't know that, and will fail if it encounters an error during a full rebuild; ZFS will succeed if those errors were in areas weren't in use. And it can also be instructed to keep more than one copy of data for important stuff, which gives it an even higher chance of rebuilding in the face of corruption. There are a whole pile of other benefits as well, but as an admin the main benefit is that it's a dream to manage on a day to day basis, and you can even delegate management of sub-datasets to other users and groups, so they can snapshot their own data at will, send and recv data, create new datasets etc. The design is clean, well thought out and brings features which are completely missing from anything else.

  13. GPL ? GNU/Linux ? by ray-auch · · Score: 1

    SFC says ZFS is a GPL violation and "“Almost There” is More Painful Than Proprietary" (see https://sfconservancy.org/blog... )

    If so, surely we need to drop the "GNU" bit, since it is now merely a GNU system over another proprietary (or at least not FOSS, because it is a GPL violation) kernel? Or will rms continue to want crediting for distributions which violate (in his opinion) the very license he created?

    1. Re:GPL ? GNU/Linux ? by Anonymous Coward · · Score: 2, Informative

      The SFC is not the be-all end-all legal authority on the GPL. The SFLC, which has been around much longer than the SFC, has a differing opinion on the issue. The only thing for sure is that a resolution will be adjudicated in the courts and not press releases.

    2. Re:GPL ? GNU/Linux ? by jopsen · · Score: 1

      2. Debian is packaging a ZFS source package which will be compiled on the user's computer. this means a binary form of ZFS will not be distributed by Debian, so there is no license conflict as no binary ZFS module is distributed.

      But these days we distribute VMs/AMIs, etc all the time...

      3. There is no legal basis for ZFS binary module to be considered a GPL violation. That's just BS being drummed up by the FSF and SFC. Legally speaking, kernel modules are not derivatives of the kernel.

      Really? Compilation is not a violation, but we're talking about distribution right?
      It's my understanding that the kernel has GPL exceptions for user-space code, but not kernel modules. This is the reasoning behind the horrible nVidia, AMD install nightmares, etc...

    3. Re:GPL ? GNU/Linux ? by Guy+Smiley · · Score: 1
      To be clear, SFC claims that including binary ZFS modules with the Linux kernel is a GPL violation. Not even SFC says that ZFS itself is a GPL violation.

      Also, by no means is ZFS proprietary, even the OSF approved CDDL as an open-source license.

    4. Re:GPL ? GNU/Linux ? by tlhIngan · · Score: 1

      SFC says ZFS is a GPL violation and "âoeAlmost Thereâ is More Painful Than Proprietary" (see https://sfconservancy.org/blog... )

      If so, surely we need to drop the "GNU" bit, since it is now merely a GNU system over another proprietary (or at least not FOSS, because it is a GPL violation) kernel? Or will rms continue to want crediting for distributions which violate (in his opinion) the very license he created?

      No, it's not a GPL violation. The real problem is ZFS is CDDL licensed, while Linux is GPLv2 licensed. Both are open and free software licenses, but both have incompatible restrictions - CDDL code cannot be included in GPL code and vice-versa.

      The only solution is that NO distribution can include binary versions of ZFS on their Linux distributions because of the incompatibility. So you work around it because the license are only covering distribution - if the user doesn't distribute it, everything is A-OK. So a user can compile CDDL code into the kernel just fine, they just can't distribute the resulting binaries because it's a violation of both GPL and CDDL since you cannot satisfy both simultaneously.

      If you're deploying internal VM images, you're technically not distributing so even that is OK, though it gets much trickier if you're using a cloud service. It also is a technical violation if you distribute the image to say, a contractor. In theory, you're fine as long as said contractor is using your equipment, but it gets very murky very quickly (i.e., it is distribution if you give the VM image containing both to a contractor to run on his personally owned computer).

      But, given people trade movies and music freely, I'm guessing most people wouldn't have much of an issue with that either (violating open-source licenses is fine as it puts you under "all rights reserved" copyright, but distribution is technically copyright violation or piracy).

    5. Re:GPL ? GNU/Linux ? by ray-auch · · Score: 1

      1. I know

      2. Doesn't matter - "user does the link" or "user does the compile" is considered subterfuge by rms / FSF, there are endless historical pronouncements on this. See the discussions on gmp/RIPEM for a start (one summary here: http://tech-insider.org/linux/... ). Or any of the old usenet threads on "gpl and plugins".

      3. Yes but if the FSF / rms consider it a violation, even if there is no legal basis, then we should drop the GNU/ from Debian etc. in deference to them.

      Of course, it is possible that they want the GNU/ to remain in the name of something they consider a violation of their ideas and licence, but if so they can ask for it to be re-instated. It would be impolite for us to _assume_ that is what they want - it would be assuming that they are hypocrites....

    6. Re:GPL ? GNU/Linux ? by cas2000 · · Score: 1

      > Who cares? FreeBSD is under a BSD license, which means
      > you are really free to do what YOU want,

      unless you happen to get your copy from someone who doesn't want you, the user, to have any freedom. In that case, you're fucked - non-copyleft licenses like BSD do not protect YOUR freedom.

      With non-copyleft licenses, ANYONE can place ANY restrictions they like on downstream users.

      > not what some lunatic's idea of freedom is.

      that "lunatic"'s idea of freedom is that ALL users should have the freedom to do whatever they want with the software, regardless of who/where they got the software from.

      With copyleft licenses like the GPL, the ONLY restriction is that you can not place any further restrictions on downstream users. i.e. the only restriction exists solely to enforce freedom for everyone.

      One of these is far more free than the other. Hint: it's not the one that allows arbitrary restrictions to be added.

    7. Re:GPL ? GNU/Linux ? by cas2000 · · Score: 1

      > Oh, please, stop this disinformation once and for all.

      How about you stop with your bullshit?

      This is NOT about re-licensing. I never said that the BSD-licensed code was somehow magically re-licensed, so you can stop pretending that I did.

      However, anyone who distributes BSD-licensed binaries (whether modified or not) is under NO OBLIGATION WHATSOEVER to provide source code to anyone, ever. Not of their modified source and not even of the original unmodified source.

      They're free to tell their users "fuck off and go find the source yourself. And good luck figuring out how to compile it, sucker!".

      > Both BSD and GPL licenses have their uses, but don't tell GPL gives
      > more freedom, because it is not true

      It absolutely IS true. The GPL provides (and enforces) freedom for everyone, developers AND users. It also prevents anyone from restricting that freedom, AND it obliges re-distributors to provide the source code in the preferred (i.e. most usable) machine-readable form.

      The BSD license does not in any way prevent anyone from restricting freedom, and creates no obligation to provide source code.

      > they are still able to download the original source code with both
      > licenses, even if the derivative work has been distributed with a
      > restrictive license

      This is disingenuous, at best.

      Users aren't guaranteed a right to the source code of the software that they're actually running, that they have purchased as a software product or that is embedded in some hardware device they bought. With some fucking about and searching, they can probably get most or all of the source for the original code that the product they're using was based on, and that's all.

      Now that may be exactly what the original code developers want, and it's absolutely their right to choose whatever license they want for their code. That still doesn't mean that the BSD license is as free as the GPL. It's not. It's inherently less free.

  14. Re:Jesus by inode_buddha · · Score: 1

    It could be worse. I've seen threads dating to around 2001 where the GNAA got into a bot-posting war with the My Clean PC guy (anyone else remember those guys?). Slashdot was basically unusable for an entire weekend as every topic filled up with hundreds of copypasta... ... so, lately its actually been pretty quiet around here, IMHO.

    --
    C|N>K
  15. Re:I'll probably hold out a while longer. by thsths · · Score: 1

    A lot of them are useless,but four are not:

    ext4 may not be the most existing file system, but it is the default, solid, and good enough in most situations.

    XFS is faster (especially for big files), but it has a few issues. reiserfs is quite good, and more space efficient for small files. Neither are clearly superior to ext4, unless you have specific requirements.

    ZFS is taking it to the next level, and as such it may well be worthwhile. It remains to be seen how reliable it is on Linux, but in terms of features it is a clear winner.

  16. Re:Jesus by MrL0G1C · · Score: 1

    Lol, I think the messenger just got shot!

    --
    Waterfox - a Firefox fork with legacy extension support, security updates and better privacy by default.
  17. Re:I'll probably hold out a while longer. by Vertigo+Acid · · Score: 1

    OpenZFS was forked at version 28. Oracle has put out 5 versions since then, the most notable feature being native encryption. I wouldn't call it a standstill, but I wouldn't call it blistering speed either

    https://docs.oracle.com/cd/E23...

    --
    Beta is bad enough to make me go edit settings like this sig that haven't been touched since I joined
  18. Re: I'll probably hold out a while longer. by ZeroZen · · Score: 1

    Am I the only person who uses BTRFS?

  19. Re:I'll probably hold out a while longer. by Guy+Smiley · · Score: 1

    The ZFS encryption was basically finished before Oracle acquired Sun.

  20. Re: This is great news! by Anonymous Coward · · Score: 1

    Both parent and GP are probably accurate. Most political candidates tell you what you want to hear.

  21. Re: I'll probably hold out a while longer. by cthulhu11 · · Score: 1

    ⦠all of them lame. Until this.