xfs
[Top] [All Lists]

Re: Large file I/O error

To: Wessel Dankers <wsl@xxxxxxxxxxxx>
Subject: Re: Large file I/O error
From: Steve Lord <lord@xxxxxxx>
Date: 17 Jan 2002 13:13:04 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020117200844.A25522@fruit.eu.org>
References: <20020117200844.A25522@fruit.eu.org>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, 2002-01-17 at 13:08, Wessel Dankers wrote:
> oi!
> 
> I think tripped over a nice, juicy bug here. I used ftruncate64() to create
> a sparse file of 2^63 bytes. Then I run mkfs.xfs on it (without any options).
> 
> The filesystem on which the large file resides goes belly-up and refuses
> to perform any operation at all, returning EIO on even an ls.
> 
> I can umount it (although running a sync hangs for a while) but xfs_check
> fails because the superblock is overwritten (!). After xfs_repair, mount,
> xfs_repair -L, everything is OK again and I don't seem to have lost any
> files (I didn't look very closely though, it was just my /tmp). This is
> in dmesg:
> 
> xfs_force_shutdown(ide0(3,6),0x8) called from line 1020 of file xfs_trans.c.  
> Return address = 0xc01bdfc7
> Corruption of in-memory data detected.  Shutting down filesystem: ide0(3,6) 
> Please umount the filesystem, and rectify the problem(s)
> 
> I hope it's not a known bug, I'd hate to waste your time.

Someone else just pointed out that forced shutdown is overwriting the
super block - which is not good. There appear to be a bunch of dirty
buffers with a zero disk address in them left behind. It is being
worked on.

Steve

> 
> Regards,
> 
> --
> Wessel Dankers <wsl@xxxxxxxxxxxx>
> 
> Telecommunications is downshifting.
-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>