Re: [PATCH 0/4] add super-recover tool to recover bad supers

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

 



On Wed, Sep 18, 2013 at 04:27:32PM +0800, Wang Shilong wrote:
> Until now if one of device's first superblock is corrupt,btrfs will
> fail to mount. Luckily, btrfs have at least two superblocks for
> every disk.
> 
> This little program will scan devices and find good superblocks
> (max generation, checksum matched). And use this superblock to
> recover bad superblocks.The process is:
> 
> Step1: scan btrfs devices
> Step2: find good supers
> Step3: open ctree
> Step4: writ all supers

Looks great! I'll pull that into integration even with the BUG_ON in the
4/4 patch and will replace it later.

david
--
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