Ubuntu – Force fix errors on a mounted drive – fschk
You cannot repair sda because it is mounted. # fsck -nf /dev/sda1 fsck from util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) Warning! /dev/sda1 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts … Read more