public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* found an error that e2fsck does not fix
@ 2015-11-27 19:11 Bo Branten
  2015-11-28 12:27 ` Theodore Ts'o
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Branten @ 2015-11-27 19:11 UTC (permalink / raw)
  To: linux-ext4


Hello,

I am debugging an Windows driver for ext4 and when creating an zero length 
file the error below shows up on Linux, while this ofcause is an bug in 
the Windows driver (looks like it forgets to flush some metadata) I wanted 
to report here that every time I run fsck on this test volume it will mark 
it as clean again but without fixing the error, so if I mount and unmount 
the filesystem again it is again in need of fsck wich in turn will mark it 
clean witout fixing the problem.

Test case, testa and testb is created from Windows and only testb gets one 
character written to with notepad:

bo@ubuntu:~$ cd /mnt2/src
bo@ubuntu:/mnt2/src$ ls -l
ls: cannot access testa: Input/output error
total 4
drwxr-xr-x 15 bo bo 1024 Mar 13  1994 linux-1.0
drwxr-xr-x 13 bo bo 1024 Mar  7  1995 linux-1.2.0
drwxr-xr-x 15 bo bo 1024 Jun  9  1996 linux-2.0
-?????????  ? ?  ?     ?            ? testa
-rw-r--r--  1 bo bo    1 Nov 27 18:21 testb
bo@ubuntu:/mnt2/src$ dmesg|tail
[ 1657.016023] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 
failed to flush
[ 1773.388021] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 
failed to flush
[ 1774.908022] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 
failed to flush
[ 2254.276023] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 
failed to flush
[ 3064.029061] EXT4-fs (sdb5): mounted filesystem with ordered data mode. 
Opts: (null)
[ 3081.376794] EXT4-fs error (device sdb5): ext4_ext_check_inode:464: 
inode #3641: comm ls: bad header/extent: invalid magic - magic 0, entries 
0, max 0(0), depth 0(0)
[ 4097.233826] EXT4-fs (sdb5): mounted filesystem with ordered data mode. 
Opts: (null)
[ 4108.835169] EXT4-fs error (device sdb5): ext4_ext_check_inode:464: 
inode #3641: comm ls: bad header/extent: invalid magic - magic 0, entries 
0, max 0(0), depth 0(0)
[ 6333.410987] EXT4-fs (sdb5): mounted filesystem with ordered data mode. 
Opts: (null)
[ 6338.997450] EXT4-fs error (device sdb5): ext4_ext_check_inode:464: 
inode #3641: comm ls: bad header/extent: invalid magic - magic 0, entries 
0, max 0(0), depth 0(0)
bo@ubuntu:/mnt2/src$


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

end of thread, other threads:[~2015-11-28 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27 19:11 found an error that e2fsck does not fix Bo Branten
2015-11-28 12:27 ` Theodore Ts'o
2015-11-28 18:08   ` Bo Branten
2015-11-28 21:49     ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox