Linked by Thom Holwerda on Fri 6th Nov 2009 23:42 UTC, submitted by poundsmack
Sun Solaris, OpenSolaris "There is a discussion at osnews.com about a simple question: "Should ZFS Have a fsck Tool?". The answer is simple: No. I could stop now, as this answer is pretty obvious when you work a while with ZFS, but i want to explain my position. And i want to ask a different question at the end."
Thread beginning with comment 393401
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Contradictory post...
by Kebabbert on Sat 7th Nov 2009 17:14 UTC in reply to "RE: Contradictory post..."
Kebabbert
Member since:
2007-07-27

fsck only checks the metadata, but it doesnt check the actual data, right?

Reply Parent Bookmark Score: 3

RE[3]: Contradictory post...
by c0t0d0s0 on Sat 7th Nov 2009 18:07 in reply to "RE[2]: Contradictory post..."
c0t0d0s0 Member since:
2008-10-16

Exactly. The filesystem knowns about it's own structure, but a block of random noise is as valid data than a word document when it fits into the structures of the filesystem. As there is no additional metadata to check the contents of a block, you can't say if the data is valid or not. ZFS has its checksums for this task to check if a block in a filesystem or an emulated volume is correct.

A filesystem check just checks the filesystem ... not the data in the entities (files) managed by the filesystem.

Reply Parent Bookmark Score: 2