xfs
[Top] [All Lists]

trying to diagnose cause of xfs filesystem corruption

To: linux-xfs@xxxxxxxxxxx
Subject: trying to diagnose cause of xfs filesystem corruption
From: Steve Wray <stevew@xxxxxxxxxxxxxxx>
Date: Thu, 25 Mar 2004 09:47:34 +1200
Reply-to: stevew@xxxxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.5
We have a machine with;
SATA, software raid, LVM2 and XFS filesystems.
LVM2 is appropriately configured to work on software raid.

We see corruption on XFS filesystems on real partitions on normal IDE drives 
(not SATA and no software RAID or LVM)  as well as on LVM volumes on SATA
drives.

Corruption occurs during normal use, there have been no power or kernel panic
problems.

The kernel is 2.6.4

We are seeing problems with the XFS filesystems like this for example;

Mar 21 07:00:05 plato kernel: Filesystem "dm-0": corrupt dinode 21214761, 
extent total = 1025, nblocks = 2.  Unmount and run xfs_repair.
Mar 21 07:00:05 plato kernel: 0x0: 49 4e 81 b4 01 02 00 01 00 00 04 10 00 00 00 
64
Mar 21 07:00:05 plato kernel: Filesystem "dm-0": XFS internal error 
xfs_iformat(1) at line 475 of file fs/xfs/xfs_inode.c.  Caller 0xc0240\
c0a
Mar 21 07:00:05 plato kernel: Call Trace:
Mar 21 07:00:05 plato kernel:  [xfs_error_report+58/60] 
xfs_error_report+0x3a/0x3c
Mar 21 07:00:05 plato kernel:  [xfs_corruption_error+59/72] 
xfs_corruption_error+0x3b/0x48
Mar 21 07:00:05 plato kernel:  [xfs_iread+302/568] xfs_iread+0x12e/0x238
Mar 21 07:00:05 plato kernel:  [xfs_iformat+486/1368] xfs_iformat+0x1e6/0x558
Mar 21 07:00:05 plato kernel:  [xfs_iread+302/568] xfs_iread+0x12e/0x238
Mar 21 07:00:05 plato kernel:  [xfs_iread+302/568] xfs_iread+0x12e/0x238
Mar 21 07:00:05 plato kernel:  [xfs_iget_core+541/1272] 
xfs_iget_core+0x21d/0x4f8
Mar 21 07:00:05 plato kernel:  [xfs_iget+140/348] xfs_iget+0x8c/0x15c
Mar 21 07:00:05 plato kernel:  [xfs_dir_lookup_int+99/200] 
xfs_dir_lookup_int+0x63/0xc8
Mar 21 07:00:05 plato kernel:  [xfs_lookup+62/104] xfs_lookup+0x3e/0x68
Mar 21 07:00:05 plato kernel:  [linvfs_lookup+63/124] linvfs_lookup+0x3f/0x7c
Mar 21 07:00:05 plato kernel:  [real_lookup+89/208] real_lookup+0x59/0xd0
Mar 21 07:00:05 plato kernel:  [do_lookup+69/128] do_lookup+0x45/0x80
Mar 21 07:00:05 plato kernel:  [link_path_walk+1419/2148] 
link_path_walk+0x58b/0x864
Mar 21 07:00:05 plato kernel:  [path_lookup+341/348] path_lookup+0x155/0x15c
Mar 21 07:00:05 plato kernel:  [__user_walk+40/64] __user_walk+0x28/0x40
Mar 21 07:00:05 plato kernel:  [vfs_lstat+22/68] vfs_lstat+0x16/0x44
Mar 21 07:00:05 plato kernel:  [sys_lstat64+19/48] sys_lstat64+0x13/0x30
Mar 21 07:00:05 plato kernel:  [sys_setfsuid+111/120] sys_setfsuid+0x6f/0x78
Mar 21 07:00:05 plato kernel:  [syscall_call+7/11] syscall_call+0x7/0xb


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