며칠 전 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