几天前,我的 btrfs raid56 文件系统突然以只读方式安装。 Smartctl -all 仅返回其中一个磁盘的错误,并且在更换SATA 电缆后,磁盘现在在 smartctl 中显示其数据。
但是,文件系统保持以只读方式安装。安装时-o ro,恢复在 dmesg 中得到以下日志。这维基百科建议btrfs 检查-修复仅作为最后的手段,并建议尝试BTRFS磨砂膏首先,但看来这个功能是破碎的,可能会损坏数据。
我不太确定如何从这里继续。这不是生产服务器,但如果可能的话我想保留我的数据。
Apr 16 14:17:36 koko kernel: [ 6878.450516] BTRFS info (device sdc1): enabling auto recovery
Apr 16 14:17:36 koko kernel: [ 6878.450521] BTRFS info (device sdc1): disk space caching is enabled
Apr 16 14:17:36 koko kernel: [ 6878.450522] BTRFS: has skinny extents
Apr 16 14:17:37 koko kernel: [ 6878.723995] BTRFS info (device sdc1): bdev /dev/sdd1 errs: wr 720, rd 24652, flush 352, corrupt 0, gen 0
Apr 16 14:17:38 koko kernel: [ 6880.269401] BTRFS error (device sdc1): parent transid verify failed on 16607578931200 wanted 503865 found 503287
Apr 16 14:17:47 koko kernel: [ 6889.021101] BTRFS error (device sdc1): parent transid verify failed on 16607602507776 wanted 503867 found 503290
Apr 16 14:17:47 koko kernel: [ 6889.059511] BTRFS error (device sdc1): parent transid verify failed on 16607620874240 wanted 503866 found 503292
Apr 16 14:17:56 koko kernel: [ 6897.737864] BTRFS error (device sdc1): parent transid verify failed on 16607646154752 wanted 503868 found 503289
Apr 16 14:17:58 koko kernel: [ 6899.606714] BTRFS error (device sdc1): parent transid verify failed on 16607295979520 wanted 503804 found 503267
Apr 16 14:17:58 koko kernel: [ 6900.474443] BTRFS error (device sdc1): parent transid verify failed on 16607651201024 wanted 503868 found 503294
Apr 16 14:17:58 koko kernel: [ 6900.536918] BTRFS error (device sdc1): parent transid verify failed on 16607652282368 wanted 503868 found 503295
Apr 16 14:17:59 koko kernel: [ 6900.868736] BTRFS error (device sdc1): parent transid verify failed on 17377018511360 wanted 503973 found 503336
Apr 16 14:17:59 koko kernel: [ 6900.962038] BTRFS error (device sdc1): parent transid verify failed on 16607295963136 wanted 503804 found 503267
Apr 16 14:18:02 koko kernel: [ 6904.225244] BTRFS error (device sdc1): parent transid verify failed on 16607294504960 wanted 503804 found 503267
Apr 16 14:18:02 koko kernel: [ 6904.256422] BTRFS error (device sdc1): parent transid verify failed on 16607227838464 wanted 503804 found 503800
Apr 16 14:18:07 koko kernel: [ 6909.483754] BTRFS error (device sdc1): parent transid verify failed on 17377217789952 wanted 503988 found 503357
Apr 16 14:18:10 koko kernel: [ 6912.488800] BTRFS error (device sdc1): parent transid verify failed on 17376771735552 wanted 503958 found 503317
Apr 16 14:18:12 koko kernel: [ 6913.713415] BTRFS error (device sdc1): parent transid verify failed on 16607348408320 wanted 503806 found 503270
Apr 16 14:18:17 koko kernel: [ 6919.070038] BTRFS error (device sdc1): parent transid verify failed on 16607767625728 wanted 503924 found 503297
Apr 16 14:18:21 koko kernel: [ 6922.703875] BTRFS error (device sdc1): parent transid verify failed on 16607588286464 wanted 503868 found 503289