Re: Unrecoverable corruption after loss of cache

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

 



> 1. des. 2019 kl. 18:27 skrev Gard Vaaler <gardv@xxxxxxxxxxxxx>:
> 
> Trying to recover a filesystem that was corrupted by losing writes due to a failing caching device, I get the following error:
>> ERROR: child eb corrupted: parent bytenr=2529690976256 item=0 parent level=2 child level=0
> 
> Trying to zero the journal or reinitialising the extent tree yields the same error. Is there any way to recover the filesystem?

Update: using 5.4, btrfs claims to have zeroed the journal:

> [liveuser@localhost-live btrfs-progs-5.4]$ sudo ./btrfs rescue zero-log /dev/bcache0
> Clearing log on /dev/bcache0, previous log_root 2529694416896, level 0

... but still complains about the journal on mount:

> [  703.964344] BTRFS info (device bcache1): disk space caching is enabled
> [  703.964347] BTRFS info (device bcache1): has skinny extents
> [  704.215748] BTRFS error (device bcache1): parent transid verify failed on 2529691090944 wanted 319147 found 310171
> [  704.216131] BTRFS error (device bcache1): parent transid verify failed on 2529691090944 wanted 319147 found 314912
> [  704.216137] BTRFS error (device bcache1): failed to read block groups: -5
> [  704.227110] BTRFS error (device bcache1): open_ctree failed

-- 
Gard




[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