linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Recovery and Journalling
@ 2013-03-17 12:07 Subranshu Patel
  2013-03-18 16:00 ` Eric Sandeen
  0 siblings, 1 reply; 2+ messages in thread
From: Subranshu Patel @ 2013-03-17 12:07 UTC (permalink / raw)
  To: linux-ext4

This question is related to recovery (fsck and xfs_repair) and journalling.

I powered off (improper shut down) the system when the IO was
undergoing on mounted EXT4 filesystem.

After that I powered on my machine and then used fsck on the unmounted
filesystem. fsck recovered it.

There are 2 things which I want to confirm:
1. Firstly fsck replays the journal for any unfinished inconsistent writes.
2. Secondly it checks/repairs the other filesystem corruption.

Correct my understanding if wrong.

Consider the above scenario for XFS as well. In XFS, i need to mount
the filesystem, and this automatically replays the journal. After this
I again unmount the filesystem and run xfs_repair.

But in EXT4, i have to run fsck mandatorily before mounting my
filesystem. Please confirm my understanding.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-18 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17 12:07 Recovery and Journalling Subranshu Patel
2013-03-18 16:00 ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).