Linked by Pobrecito Hablador on Mon 2nd Nov 2009 21:19 UTC
Sun Solaris, OpenSolaris One of the advantages of ZFS is that it doesn't need a fsck. Replication, self-healing and scrubbing are a much better alternative. After a few years of ZFS life, can we say it was the correct decision? The reports in the mailing list are a good indicator of what happens in the real world, and it appears that once again, reality beats theory. The author of the article analyzes the implications of not having a fsck tool and tries to explain why he thinks Sun will add one at some point.
Permalink for comment 392536
To read all comments associated with this story, please click here.
ZFS needs real openness and Linux
by TheRealNelson on Tue 3rd Nov 2009 15:45 UTC
TheRealNelson
Member since:
2009-11-03

Lot's of filesystems do a great job of maintaining their own consistency. It's really external errors that bother a lot of us, say you drop a backup drive on the floor, I'm going to fsck it before I even attempt to mount it. It sounds like ZFS has a fsck or scrub that can run. If it can guarantee that it's mountable then you should be able to boot up a drive enough to run a fsck and verify the integrity of the filesystem from external errors. This likely pushes some of the problems elsewhere, it's a background process on a live system so you could probably have other software failures if they touch broken parts of the filesystem since it was assumed valid, other filesystems have similar problems with data being damaged though. Fscking just makes you stop everything else when you do it, when you find problems you find them in fsck and not when you database crashes for some unknown reason because the blocks on the disk were screwed up.

What ZFS really needs is to run under Linux and probably Windows and to do that it probably requires some license changes and probably some substantial attitude changes within Sun. Until that happens, its at best a bit player. The "bad hardware" problems are pretty weak as well, I can't recall hearing NTFS devs or Ext3 devs complaining about it. Part of that is Sun's management needed each and every home-run they could get as they shopped the company around and for some reason they chose to roll a filesystem out with the kind of visibility that they did. Actual support will always trump hype, if it's so perfect then give it to the rest of the world and the rest of the world will adopt it.

Reply Score: 1