-
-
Save eduarcor/11d16e9383426e065bef8d5628fa5175 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment