What is the difference between fsck during boot and the normal fsck done manually?
Issue
-
As a test, the flesystem is broken by overwriting the primary superblock:
dd if=/dev/zero of=/dev/vda3 bs=4096 count=1 seek=0 -
The system is rebooted.
-
During boot-up, fsck is run and as soon as it detects that the filesystem /dev/vd3 is corrupted, it drops the system into a maintenance shell.
-
After providing the root password to login to the maintenance shell, a normal fsck fixes the filesystem.
fsck /dev/vda3
- What is the difference between the fsck run in Step-3 and the one run in Step-4.
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.