Synology Nas: Run Fsck To Check and Repair a Linux File System

h‮tt‬ps://www.lautturi.com
Synology Nas: Run Fsck To Check and Repair a Linux File System

To run the fsck utility to check and repair a Linux file system on a Synology NAS, follow these steps:

  1. SSH into your Synology NAS using a terminal program like PuTTY.

  2. Run the mount command to view the currently mounted file systems:

mount
  1. Identify the file system that you want to check and repair. This will typically be a file system with the ext3 or ext4 type.

  2. Unmount the file system using the umount command. For example:

umount /volume1/myfiles
  1. Run the fsck utility on the file system. For example:
fsck -y /dev/md0p1

Replace /dev/md0p1 with the device name of the file system that you want to check and repair. The -y option tells fsck to automatically repair any errors that it finds.

  1. Once fsck has finished running, you can remount the file system using the mount command. For example:
mount /dev/md0p1 /volume1/myfiles

This will remount the file system at the specified mount point.

Note: These steps assume that you have root access to your Synology NAS and that you are familiar with using the terminal. If you are not comfortable using the command line, it is recommended that you use the Synology DiskStation Manager (DSM) web interface to check and repair file systems.

Created Time:2017-10-30 14:27:21  Author:lautturi