xfs
[Top] [All Lists]

Re: XFS corruption on vanilla kernel.

To: Wenzel Jakob <wazlaf@xxxxxxxxx>
Subject: Re: XFS corruption on vanilla kernel.
From: Axel Thimm <Axel.Thimm@xxxxxxxxxx>
Date: Wed, 25 Aug 2004 23:35:49 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <208fc95204082512352ea7b9b9@mail.gmail.com>
References: <208fc95204082512352ea7b9b9@mail.gmail.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2i
On Wed, Aug 25, 2004 at 12:35:55PM -0700, Wenzel Jakob wrote:
> Hello,
> I am experiencing XFS file system corruption on a vanilla kernel.org
> kernel 2.6.7 (the only additional module is the nvidia driver which
> really shouldn't be the cause of the problems).
> 
> The problem is that, all of a sudden, files have the content of an
> entirely different file. For example one second I am editing a .cpp
> file, the next moment I open it up again, it is a jpeg file from a
> directory containing my digital camera pictures. The original .cpp
> file was lost, so the files were not exchanged.
> 
> This has happened to me before with previous kernels from 2.6 - what I
> usually did is run knoppix and fsck the filesystem which seemed to
> stop it for a while.
> 
> I cannot reproduce this behavior, it seems completely random and only
> happens every couple of weeks. Also, I have only noticed this with
> files on which I am actively working - who knows, maybe many more
> files have some wrong content by now.
> 
> I am very certain that this is not a virus or an intrusion and is
> caused by the filesystem. If anyone has some advice, I am open to
> every suggestion.

umount the file system (if it's your root then move the harddisk to
another system for forensics or use a live CD with xfs utilities) and
use xfs_check(8) and xfs_repair(8). If any output/diagnostics looks
suspicious ask again on the list.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpV6KGonJabW.pgp
Description: PGP signature

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