Re: should btrfsck fix a bad superblock?

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

 



On Tue, Dec 29, 2015 at 02:28:19AM +0000, Duncan wrote:
> Btrfs check's -s option simply lets you use a different superblock.  I 
> don't believe check is designed to actually fix superblocks, tho I guess 
> with --repair it fixes certain bad fields in them.

The superblock is a special type of metadata, 'btrfs check' works on the
the trees pointed by it. There's the super-recover command you mentioned
and also the (still) standaone btrfs-select-super tool that are supposed
to fix the superblock itself.

Similarly, check may find specific problems, will not attempt to fix all
of them and could suggest to use a specialized fix tool. The reasons are
to avoid overbloating the checker command line options. An example is
the b-tree key bitflip fix (code not merged yet).
--
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