Skip to contentSkip to conversation

EXT3 system crash recovery

DISCUSSION Anil kumar 2 participants 2 messages Aug 18, 2010 – Aug 31, 2010 VFS

lore
Share & tools
lore

Anil kumar

author
#0 lore raw

Hi,

As I understand in case of EXT3 filesystem there is NO need of e2fsck when system is power pulled (or system crash). Are there any circumstances during power pull or system crash, where even in EXT3 upon boot, e2fsck maybe required.

B'coz what I see is that I have EXT3 and when system is power pulled, upon reboot it asks for e2fsck for consistency check. The hard disk drive cache is disabled in the setup.

Is it possible that something in journal may not have commited to the disk and hence fsck consistency is required?

Thanks in advance for your inputs.

With regards,
Anil

reviewer
#1 lore raw

Hi,

Quoted 2 lines · Anil kumar

As I understand in case of EXT3 filesystem there is NO need of e2fsck when system is power pulled (or system crash). Are there any

Yes.

Quoted 2 lines

circumstances during power pull or system crash, where even in EXT3 upon boot, e2fsck maybe required.

No, there shouldn't be.

Quoted 6 lines

B'coz what I see is that I have EXT3 and when system is power pulled, upon reboot it asks for e2fsck for consistency check. The hard disk drive cache is disabled in the setup.

Is it possible that something in journal may not have commited to the disk and hence fsck consistency is required?

Can you share more details? Like kernel version, logs from e2fsck, maybe
what happened to the machine before it got to this state...

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR