[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180320014427.GB21416@thunk.org>
Date: Mon, 19 Mar 2018 21:44:27 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: Jidong Xiao <0121167@...an.edu.cn>
Cc: Andreas Dilger <adilger@...ger.ca>, linux-ext4@...r.kernel.org,
jidong.xiao@...il.com
Subject: Re: No data blocks at all in my ext4 journal
Are you sure you correctly determined the start of the journal?
Note that logdump can display the contents of the journalled block,
using the -c option to logdump. (See the debugfs man page). For
example:
debugfs -R "logdump -ac" /dev/cwcc/test-4k > /tmp/logdump.outu
Note that we have regression tests which make sure we can recover from
a power-off scenario. These tests pass on 4.4 and 4.14, so I'm pretty
sure you are doing something wrong, and the kernel is working correctly.
- Ted
Powered by blists - more mailing lists