All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfs recovery: What do the commands actually do?
@ 2013-10-04 15:47 Martin
  2013-10-04 18:32 ` Duncan
  0 siblings, 1 reply; 3+ messages in thread
From: Martin @ 2013-10-04 15:47 UTC (permalink / raw)
  To: linux-btrfs

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-04 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 15:47 btrfs recovery: What do the commands actually do? Martin
2013-10-04 18:32 ` Duncan
2013-10-04 18:54   ` Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.