btrfs recovery: What do the commands actually do?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux