Synology WARNINGS
Although the Synology is a superbe box (mainly because it allows us full control), there are some miss-habits. You'll probably find this page when it's to late, but hey.. maybe there is something you haven't walked into and it saves you a day...
ROOT fs will be wiped during DSM upgrade
I have lost 10's of hours of nice scripting, because I had put them in /root. Found the explanation here.
Perform filesystem check using e2fsck
Find the volumes (like /dev/vg1/volume_1)
df -h
Set syno in debug mode to close usage of the volume
sudo syno_poweroff_task -d
Enable the volume
sudo vgchange -ay
Perform the file system check
sudo fsck.ext4 -pvf -C 0 /dev/vg1/volume_1
ORe2fsck -p -y -f -v /dev/vg1/volume_1
If you get the message "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY", try: fsck.ext4 -yvf -C 0 /dev/vg1/volume_1
Reboot the server:
reboot