What is the difference between fsck during boot and the normal fsck done manually?

Solution Verified - Updated -

Issue

  1. 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
    
  2. The system is rebooted.

  3. 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.

  4. 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.