3 ms·
Please explain?
by mhansen 16y ago
Please explain?
- bensummers 16y agoWould you like to be one of the first to discover a data-loss bug in brtfs? If not, you probably want the tried and trusted ZFS.
- spahl 16y agoI wouldn't really call this ZFS port "tried and trusted". :-D
- bensummers 16y agoI wouldn't use it on Linux! Obviously Solaris would be the 'best' place to use it. But even after a port, the underlying FS will have many more years of production use than brtfs. You might find bugs in the interface between the kernel and ZFS, but hopefully they wouldn't mess with any of the core fs code.
- sigil 16y agoFully agree there. FreeBSD has had ZFS for 3+ years, and I still see some serious issues once in a while. Beware all new filesystems.
- patrickgzill 16y agoIt makes a lot of the common sysadmin tasks a whole lot easier. For instance, creating raid sets - by default it works with whole disks, which is exactly what you want 99% of the time (but you can specify a partition if you really want to). Want to check whether there is a data corruption error? "zpool scrub poolname" and it will go through all the disks on that pool, using the built-in ECC to verify that the data on the disks is OK. If not, it will try to fix it. "zpool status -v" lists all the disks, which mirrors or RAID sets each is part of, and when the last scrub was performed, along with errors or ECC problems. The one suggestion I would make for the btrfs guys is to really work on making the CLI commands simple and intuitive.
- ssmoot 16y agoMinor correction, Scrub just rewrites all data. And since ZFS is copy-on-write and compares new blocks to old, you'll find corruption or bad blocks that way. Also, since ZFS doesn't dedupe (just don't use it) or compress at rest, a scrub is the practical way to apply changes to those settings to the existing blocks already on disk.
- patrickgzill 16y agoGood point, this post talks about their need to rewrite the scrub code to fix a bug and make it faster. http://blogs.sun.com/ahrens/entry/new_scrub_code http://blogs.sun.com/ahrens/entry/new_scrub_code