News for hackers. Stuff that matters.
Re:Native ZFS for Linux by patrickgzill on Thursday September 23, 2010 @08:22AM (#1719334)
It 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.

Re:Native ZFS for Linux by ssmoot on Thursday September 23, 2010 @09:28AM (#1719524)
Minor 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.

Re:Native ZFS for Linux by patrickgzill on Thursday September 23, 2010 @06:00PM (#1721677)
Good 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