All of lore.kernel.org
 help / color / mirror / Atom feed
* Is btrfsck really required?
@ 2012-03-25 16:36 Waxhead
  0 siblings, 0 replies; only message in thread
From: Waxhead @ 2012-03-25 16:36 UTC (permalink / raw)
  To: linux-btrfs

After playing around with btrfs for a while, reading about it and also 
watching Avi Miller's presentation on youtube I am starting to wonder 
why one would need btrfsck at all. I am no expert in filesystems so I 
apologize if any of these questions may sound a bit stupid.

1. How "self-healing" is btrfs really?! According to Miller's talk btrfs 
is making a (circular?) backup of the root tree every 30 seconds.
If I remember correctly the root tree is also mirrored several places on 
disk and on rotational media all those are updated in tandem. This is 
leading me to believe that there should be no problem in recovering from 
a corruption.

2. Also in addition to question 1. Is there some sanity checking when 
writing the root tree? e.g. if you write garbage to the root tree by 
accident will there be some recovery mechanism there to protect you as well?

3. What is the point with the mount -o recovery ? If there already is a 
corruption there is there any reason btrfs should not recover 
automatically by itself?

4. If a disk responds slowly, Will btrfs throw it out of a raid 
configuration and if so will a btrfsck be less strict about timeouts and 
will it automatically rebalance the data from the bad disk over to other 
good disks?!


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-25 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-25 16:36 Is btrfsck really required? Waxhead

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.