Synology diskstation – diskcheck

30. maj 2017 - Hardware, Notater

Courtesy of https://://

The Synology does not have a facility to check the file-system during boot up, and the following instructions will allow you to run a file-system repair (if possible, make a backup of critical files before):

1 Make sure that you have SSH enabled and log into the Synology via SSH
2 Shutdown all services except SSH (this will unmount the volume):

syno_poweroff_task -d

3 Enable the volume:

vgchange -ay

4 Check for errors, but do not fix:

e2fsck -nvf -C 0 /dev/vg1/lv

5 Try to fix the file-system errors

e2fsck -pvf -C 0 /dev/vg1/lv

6 If -pvf can’t work, use -yvf instead.

e2fsck -yvf -C 0 /dev/vg1/lv

7 Reboot the Synology