There's ad-hoc comment for various commands to recover from filesystem
errors.

But what do they actually do and when should what command be used?

(The wiki gives scant indication other than to 'blindly' try things...)


There's:

mount "-o recovery,noatime"

btrfsck:
    --repair                    try to repair the filesystem
    --init-csum-tree            create a new CRC tree
    --init-extent-tree          create a new extent tree

And there is "scrub"...


What do they do exactly and what are the indicators to try using them?

Or when should you 'give up' on a filsystem and just retrieve whatever
data can be read and start again?


All that lot sounds good for a wiki page ;-)

Thanks,
Martin


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to