-
-
Save dldinternet/a78527890243c52a3c2ed78917a11698 to your computer and use it in GitHub Desktop.
Synology BTRFS repair
This file contains 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 | |
Label: '2019.02.19-20:17:48 v23824' uuid: 7c19084c-9c53-4cea-b287-0e1a43e6860b | |
Total devices 1 FS bytes used 13.95TiB | |
devid 1 size 29.07TiB used 23.18TiB path /dev/md2 | |
syno_poweroff_task -d | |
(Interrupt this after a while to prevent losing SSH completely) | |
(or: umount /volume1) | |
(or: umount /volume1 -f -k) | |
Check to see if all us unmounted: | |
df -h | |
mdadm --stop /dev/md2 (Don't do this for /dev/md* devices) | |
btrfsck /dev/md2 | |
btrfs check --repair /dev/md2 | |
btrfs rescue super-recover -v /dev/md2 | |
fsck.hfsplus -dfl /dev/md2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment