Created
December 6, 2019 18:12
-
-
Save bruvv/d9edd4ad6d5548b724d44896abfd9f3f to your computer and use it in GitHub Desktop.
Synology BTRFS repair
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
btrfs fi show -d | |
(/dev/mapper/vg1000-lv) | |
syno_poweroff_task -d | |
(or: umount /volume1) | |
(or2: umount /volume1 -f -k) | |
Check to see if all us unmounted: | |
df -h | |
mdadm --stop /dev/vg1000/lv | |
btrfsck /dev/vg1000/lv | |
btrfs check --repair /dev/vg1000/lv | |
btrfs rescue super-recover -v /dev/vg1000/lv | |
vgchange -ay | |
e2fsck -nvf -C 0 /dev/vg1000/lv | |
fsck.ext4 -pvf -C 0 /dev/vg1000/lv | |
(or: e2fsck -pvf -C 0 /dev/vg1000/lv -C O) | |
(do not do this: -C fd) |
I don’t have any snapshot. I am not using snapshots
Tried again:
> btrfs scrub status -d /volume1
scrub status for 98dcebd8-a24e-4d16-b7d1-90917471e437
scrub device /dev/mapper/cachedev_0 (id 1) history
scrub started at Tue Jun 10 23:36:50 2025 and was aborted after 03:57:18
total bytes scrubbed: 13.32TiB with 1 errors
error details: csum=1
corrected errors: 0, uncorrectable errors: 1, unverified errors: 0
> btrfs scrub status -d -R /volume1
scrub status for 98dcebd8-a24e-4d16-b7d1-90917471e437
scrub device /dev/mapper/cachedev_0 (id 1) history
scrub started at Tue Jun 10 23:36:50 2025 and was aborted after 03:57:18
data_extents_scrubbed: 223444115
tree_extents_scrubbed: 3395356
data_bytes_scrubbed: 14590691647488
tree_bytes_scrubbed: 55629512704
read_errors: 0
csum_errors: 1
verify_errors: 0
no_csum: 2450
csum_discards: 0
super_errors: 0
malloc_errors: 0
uncorrectable_errors: 1
unverified_errors: 0
corrected_errors: 0
last_physical: 15662894481408
And again,
> btrfs scrub status -d /volume1
scrub status for 98dcebd8-a24e-4d16-b7d1-90917471e437
scrub device /dev/mapper/cachedev_0 (id 1) history
scrub started at Wed Jun 11 03:56:46 2025 and was aborted after 03:40:22
total bytes scrubbed: 13.32TiB with 1 errors
error details: csum=1
corrected errors: 0, uncorrectable errors: 1, unverified errors: 0
> btrfs scrub status -d -R /volume1
scrub status for 98dcebd8-a24e-4d16-b7d1-90917471e437
scrub device /dev/mapper/cachedev_0 (id 1) history
scrub started at Wed Jun 11 03:56:46 2025 and was aborted after 03:40:22
data_extents_scrubbed: 223443880
tree_extents_scrubbed: 3395228
data_bytes_scrubbed: 14590688092160
tree_bytes_scrubbed: 55627415552
read_errors: 0
csum_errors: 1
verify_errors: 0
no_csum: 2450
csum_discards: 0
super_errors: 0
malloc_errors: 0
uncorrectable_errors: 1
unverified_errors: 0
corrected_errors: 0
last_physical: 15662894481408
Sadly, same thing. No logs in the log center. No info. No help. Nothing.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@eduarcor do you have snapshots enabled on those two files? Might be that the snapshots are interfering?