fsck -N
fsck from util-linux 2.23.2
[/sbin/fsck.ext4 (1) — /] fsck.ext4 /dev/mapper/fedora-root
[/sbin/fsck.ext4 (1) — /boot] fsck.ext4 /dev/sda1
[/sbin/fsck.ext4 (1) — /home] fsck.ext4 /dev/mapper/fedora-home
fsck -N
fsck from util-linux 2.23.2
[/sbin/fsck.ext4 (1) — /] fsck.ext4 /dev/mapper/fedora-root
[/sbin/fsck.ext4 (1) — /boot] fsck.ext4 /dev/sda1
[/sbin/fsck.ext4 (1) — /home] fsck.ext4 /dev/mapper/fedora-home
create a /etc/e2fsck.conf
[scratch_files] directory = /var/cache/e2fsck
e2fsck is used to check the ext2/ext3/ext4 family of file systems.
sudo e2fsck -C0 -p -f -v /dev/sdb1
if errors:
sudo e2fsck -f -y -v /dev/sdb1
-C0 This option causes e2fsck to write completion information to the specified file descriptor
-p Automatically repair (“preen”) the file system.
-f Force checking even if the file system seems clean.
-v Verbose mode.