Ubuntu 16.04 LTS To Have Official Support For ZFS File System (dustinkirkland.com)
LichtSpektren writes: Ubuntu developer Dustin Kirkland has posted on his blog that Canonical plans to officially support the ZFS file system for the next Ubuntu LTS release, 16.04 "Xenial Xerus." The file system, which originates in Solaris UNIX, is renowned for its feature set (Kirkland touts "snapshots, copy-on-write cloning, continuous integrity checking against data corruption, automatic repair, efficient data compression") and its stability. "You'll find zfs.ko automatically built and installed on your Ubuntu systems. No more DKMS-built modules!" N.B. ext4 will still be the default file system due to the unresolved licensing conflict between Linux's GPLv2 and ZFS's CDDL.
All file systems are approximately the same for most day to day users. I would be interested in knowing which is fastest at read/writes.
I'll stick with BTRFS thanks. It gives me all those features, is GPL and has been trouble free for me on many TB of disks for several years.
More precisely, the blog bost is about using ZFS' copy-on-write (CoW) capabilities in the context of linux containers.
(thin virtualized machines. The guest share the same kernel as the host, but the userspace is separated and compartmentalized using the kernel's cgroup feature.
Similar to BSD Jails and Solaris containers.
Think like a chroot, except extented to all the other concepts beside file system).
The fast and easy snapshoting that come with CoW filesystems like ZFS (or BTRFS for that matters) makes it very easy to spin new virtualized containers simply by snapshoting the subtree holding the empty template, while wasting only minimal resource (only the differences are stored as the two copies diverge over time).
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
* from a ZFS running Windows system (i know... I'm obligatorily using Windows on my work) :P
12.04 and 14.04 were kind of previous versions with updated programs, nice polished and updated drivers. But 16.04 will have exciting new stuff: privacy enabled by default, ZFS, new software centre, first LTS with systemd (yeap, mind that, I like it!) and kernel 4.
"Xenial Xerus"
To be followed by "Xenophobic Xenu".
Every time I see news about ZFS and Linux, it's a little bit less of a mess. Eventually, I expect that all of the major distributions will go this route and sidestep the licensing issue by providing distro-supported modules that are installed by user request, sort of like the way that Nvidia drivers are provided.
Uber alles. Default in CentOs 7. Why ZFS? It's not like anyone uses woobuntu in serious environments.
And I can't for them to find out that basically everything you've written is a bunch of lies, regurgitated by a sad little troll who has probably never used Linux in their life but has just jumped on the latest /. bandwagon 'for the lulz'.
Where's the lie?
Does systemd not replace the system log with a binary file that is unusable by every application that reads or writes to the system log?
Does systemd not break the system administration tool chain?
Does systemd not consume and discard STDERR making troubleshooting and debugging a masochist's delight?
Up until 14.04LTS everything dumps into /var/log/syslog, a standard text file. Beginning with 16.04LTS and thanks to systemd that is replaced by a binary file that is virtually inaccessible by everything else. No more logwatch, splunk is a pain in the ass, fail2ban recently got systemd support (cheers!), logger no worky...
But wait, there's more. All your network interfaces are gone. Good old eth0 eth1 etht1.3 all gone. Now you have to go searching and finding enp2s0 or god knows what that systemd decided to rename the network interface to because naming it eth0 is broken? eth0 needs to be deprecated? These are simply a few of the first things that will generate knee jerk reactions. The problems go so much further and so much deeper.
Where's the lie? I'm not talking about fanbois running Fedora in their mom's basement. I'm talking about the admins of hundreds of thousands of servers crying out in pain. Shit is going to get real. The systemd debacle is about to turn into an all out riot and that ain't no lie!
ZFS is seriously cool in many ways, but you pay for that with some pretty significant RAM requirements for a file system driver. If I remember correctly, you need about 8GB of RAM to really make use of ZFS. I think it's great that they're including it with the distribution, but it wouldn't make sense to have this as the default file system. At least not until the average system out there is running with 16GB of RAM.
Alex, I'll take keybindings not used by Emacs for $400....
I used to use Ubuntu for my file server. Since the desktop motherboard didn't have a built-in video, I used an old Nvidia video card to configure the installation. Every time Ubuntu did an automatic upgrade of the video driver, it hosed the installation and I would have reinstall. I switched over to FreeNAS five years ago and haven't looked back. I've rebuilt my server box last year to meet the beefier hardware requirements for ZFS. Bad things will have if you run ZFS on less than adequate hardware.
It's not quite abandonware, but the central impetus for it's creation and advancement is gone.
I wasn't planning to comment on this thread, but this is too big a lie to let stand -- unless by "not quite abaondonware" you mean "has absolutely nothing in common with abandonware besides being a type of software". Oracle was never the sole developer, and now that Oracle has lost interest, the developers just moved to other companies and kept doing the same thing. Its raison d'etre remains to provide an advanced filesystem that's easily integrated with linux, which for better or worse means being licensed under the GPL or something compatible.
As for encryption, yeah that would be nice to have, but it's not like zfs has all the features btrfs has. I'll take btrfs's online balancing (ability to add and remove drives at will) over built in encryption, but I realize that's a personal choice.
Finally, let's actually quote the FAQ correct only stability:
Short answer: Maybe.
Long answer: Nobody is going to magically stick a label on the btrfs code and say "yes, this is now stable and bug-free". Different people have different concepts of stability: a home user who wants to keep their ripped CDs on it will have a different requirement for stability than a large financial institution running their trading system on it. If you are concerned about stability in commercial production use, you should test btrfs on a testbed system under production workloads to see if it will do what you want of it. In any case, you should join the mailing list (and hang out in IRC) and read through problem reports and follow them to their conclusion to give yourself a good idea of the types of issues that come up, and the degree to which they can be dealt with. Whatever you do, we recommend keeping good, tested, off-system (and off-site) backups.
Pragmatic answer: (2012-12-19) Many of the developers and testers run btrfs as their primary filesystem for day-to-day usage, or with various forms of real data. With reliable hardware and up-to-date kernels, we see very few unrecoverable problems showing up. As always, keep backups, test them, and be prepared to use them.
For all practical purposes, btrfs is stable. Everything they say in the long answer basically applies to linux in general (unless you have a support contract with Red Hat or the likes).
And out comes the ad hominem! The standard arguement in favor of systemd is; 'everyone else are idiots and every way else is stupid'. Why? 'Because systemd said so!'
Why don't you spend some time and get to know the tools that systemd introduces.
For the same reason that you, and everyone else, don't spend the time to learn about the convoluted set of tools that I have developed for my specific needs. They're unneeded, irrelevant, and uninteresting wastes of time.
You may find you like it.
What I've found is that I dislike it intensely. I dislike impediments to system administration, broken workflows and having to relearn even the most basic and rudimentary things that were not broken in the first place. Using your logic, I should probably just learn to use Windows. Actually...
You can still configure it to log to the places you're used to.
I can recompile my system form source too, but neither one is a viable option from a usability standpoint.
And the nic name changes have nothing to do with systemd.
Really? Well then where do they come from? systemd seems to have decided and implemented it.
But, you keep right on with the ad hominem name calling. Don't answer the legitimate questioning of the systemd authority. Ignore the citations and provide not even a vaguely cogent argument. 'Everyone is an idiot and systemd is the only way forward.'
Diff AC here.
I use OS X, so I don't know much about the state of Linux these days.
But whenever systemd comes up here, I see people against it pointing out flaws that sound pretty serious, and making cogent arguments as to why systemd is problematic.
Anything that might interfere with logging, for instance, is something I'd consider to be a very serious problem.
Then we have the people who either support systemd, or are, for whatever reason, against those people who have experienced problems with systemd.
Instead of presenting a reasonable argument, these pro-systemd comments typically use insults ("sad little troll", "your (sic) an idiot") and false accusations ("everything you've written is a bunch of lies"), and contribute nothing of substance to the conversation.
As an outsider looking in, I consistently see the the anti-systemd side presenting solid techical arguments, while the pro-systemd side consistently presents childish name-calling.
This makes me think that something is wrong with the pro-systemd crowd.
When I weigh the evidence, I have to put far more trust in the anti-systemd comments presenting real technical arguments, and no trust at all into the pro-systemd comments filled with insults, vitriol, and sometimes even gibberish.
As far as I know, ZFS is the only file system that can deal with duplicating hard links appropriately. Say you have a backup pool that works with hard links, and you want a clone of that pool, very difficult with anything else.
Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
Posting AC? Why?
...Mir and Wayland and Half-Life 3. I'll believe it when I see it as an installable option.
To clarify this, the main advantage of (read-only) nullfs is patching/upgrading. COW doesn't help there, but with nullfs because they are all pointing at the same files, upgrading one upgrade them all.
This would work for very small updates (e.g.: where a library .so file is replaced).
- before the update, the container was pulling a library from the template
- after the update, the container is still pulling from the same location, and now the template provides the updated version.
For large scale upgrade, that touch many files, including files - like config files - that got changed in the container and thus reside in the nullfs' overlay directory.
These files won't get automatically updated. You'd be upgating the original copy in the template, but the container would still be pulling their own local copies from the overlay.
The only solution would be to either:
- do an rsync from the updated template to the container you want to update (and hope you won't override some container-specific modification in the process)
- or do a separate update within the container (and that is going to work as expected under most circumstances).
and then subsequently run a de-dup.
(Which, in case of overlays, would be removing any file from the overlay directories that is actually exactly the same as one in the updated template).
(And wich is simply using the de-dup tool of the CoW filesystem)
Beside, the whole point of container with CoW, is that they are very thin and very light, and thus really easy to quickly spin on the flight.
(think systemd's nspwan).
Thus, depending on the circumstances, you might be better off just respining a new container.
(Specially since systemd's is supposed to be stateless and completely transparent to spin).
And in that circumstance, there's a slight performance benefits of using snapshots instead of overlays:
- no overhead of the overlay mecanism (e.g.: everything stays in the BTRFS layer)
- CoW works at the extent level (only the sub part of giant file that diverged gets writen) wheseas most overlays I know of work at the file level (a whole new copy of the file gets written).
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
I'm still waiting for the ext4 driver to stop grinding my ext2 and ext3 partitions every 5 seconds while it tries to apply ext4-style journaling to them. The problem goes away when I use a kernel compiled without any ext4 support whatsoever.
Did you see the fine link to a citation in the previous post? There's not need for your flawed recollection. It's right there in the link!
UDEV offered the user an option to rename the NIC. systemd offers no options and demands that applications be rewritten to conform to their methodology. This is a way of thinking that I actually don't have an issue with. My real issue is that every major Linux distribution bought into it for no valid reason.
It's also going to have systemd throughout.
I can't wait to hear the howling when people upgrade and suddenly they can't even write to or read logs in any way. I'm dieing to see the reactions when their told that they have to rewrite every script and application that they've used fro the last few decades because some moron decide to freshen the init system.
Cheers!
FUD like this did a lot of damage to the free-software community a few years ago, when systemd was first being deployed by the major distros. Nowadays nobody believes it anymore.
I use Ubuntu MATE 15.10 with systemd, and I'm perfectly capable of reading my syslogs. My shell scripts all worked perfectly when I upgraded from 14.10. Never had any boot problems.
Diff AC here.
When I weigh the evidence, I have to put far more trust in the anti-systemd comments presenting real technical arguments, and no trust at all into the pro-systemd comments filled with insults, vitriol, and sometimes even gibberish.
I'm not exactly sure where you're getting this from. The "real technical arguments" are all lies (you can use syslogd with systemd, you can configure systemd to not use binary logs at all, there's still STDERR). Saying so is not "insults, vitriol," or "gibberish." Maybe if you actually tried it, you'd see so.
N.B. I'm not "pro-systemd" by any measure, it's just another set of tools I use, no different from the classic Unix utilities or X.org and what not. It's much more similar to launchd used in OS X than SysVinit was, so you'd likely feel right at home.
you can directly search turbotax phone number on there website
I've also found JFS to work best for me on a MythTV box. Aside from the file deletion issue, there's also streaming throughput during recording (especially if the storage is accessed via NFS). As much of a ZFS fan as I may be, I prefer using the best tool for the job, and MythTV is where JFS shines.
Oh, no! You have walked into the slavering fangs of a lurking grue!
I, for one, would absolutely love to have official ZFS modules in CentOS instead of relying on DKMS. DKMS on a CentOS box is a nightmare, because of the "weak-updates" shortcut that it likes to take (where it symlinks the modules from a previous kernel into /lib/modules/foo/weak-updates instead of, you know, actually rebuilding the modules). Sure, that's nice and fast, but it falls apart horribly once that old kernel gets deleted.
Oh, no! You have walked into the slavering fangs of a lurking grue!
I guess I better go buy a new computer then, because according the mob over on FreeNAS forums, I cant run ZFS with anything less than an Intel CPU and ECC RAM or else ZFS is not reliable.
I found something a while back that seems to work:
cp /bin/true /bin/true.bak /usr/sbin/weak-modules /usr/sbin/weak-modules.NONONONONO /bin/true /usr/sbin/weak-modules
mv
ln -s
Oh, no! You have walked into the slavering fangs of a lurking grue!
This is like those many yellow press "announcements". Only in the end can you get some "hint" of truth: "N.B. ext4 will still be the default file system due to the unresolved licensing conflict between Linux's GPLv2 and ZFS's CDDL.".
No comments of ZFS' problems: RAM requirements, fragmentation, not really suitable for "normal use case" SSDs. The fact that it's not really a replacement for ext4 because it is designed for multi-terabyte-highend-server-NAS. Ext4 is still the default for most cases as it is the best generic solution (specifically performance). Not because of licensing, but because of the many "not for your average Joe" limitations and Solaris toolchain requirements. The only "pro" concept of zfs is the checksum features, not its generic prowess.
This is really just another Canonical's attempt to reach the "big iron", nothing else. Lame.
What a bunch of FUD. ZFS is built up from the ground with a focus on data integrity. ZFS is the safest filesystem out there, according to several researchers. Read the research papers here, where they compare ZFS data integrity vs XFS, reiserfs, NTFS, ext4, etc - ZFS wins in every single scenario whereas the other dont:
https://en.wikipedia.org/wiki/ZFS#Data_integrity
The thing is, ZFS dont need a "fsck". First of all, "fsck" only checks metadata, it never checks the data. This means after a fsck, the data might still be corrupt. This can be proven by observing how much time fsck takes - a large 10 TB raid with fsck might complete in a few minutes. Assume each disk is capable of reading 100MB/sec. In a few minutes time you only can read, say 0.5 TB. This means all the 10TB data was never touched. Anything that claims to have examined and repaired all of 10 TB in a couple of minutes - you should realise it is not true. OTOH, ZFS "scrub" takes many hours as it touches all of 10 TB data. ZFS scrub checks metadata AND data. Another drawback of fsck, is that you can only use fsck on an unmounted pool. You need to wait. But ZFS scrub is designed to work on a live mounted pool: (scroll down to the next paragraph):
https://en.wikipedia.org/wiki/ZFS#RAID
Second, ZFS does not need "fsck" because of the ZFS COW nature. If the ZFS pool is corrupt and will not mount, you are able to roll back in time and mount the latest valid snapshot. This means you will loose the latest 30 seconds of writes, but that is often not a big problem. Every write to ZFS pool, is done in another place on the disk. The old data is never altered. So if you do 1000 edits of a file - ZFS writes 1000 new places and all the data is intact all the time. Say the latest 1000 edit corrupted the pool - then you roll back in time and mount the edit numbered 999. ZFS has automatic versioning because of COW, and you just roll back to the latest valid state. More information here on rollback:
http://www.c0t0d0s0.org/archives/6071-No,-ZFS-really-doesnt-need-a-fsck.html
Third, ZFS has been out there for ten years, and there has been no need for fsck. ZFS is enterprise, for high end storage. If the customers would have complained, ZFS would have got a fsck tool. But there has simple been no need for fsck during all these years. All problems has been possible to solve without fsck - because ZFS is designed to not use fsck.
I say TROLL and FUDer.