On Sun, 2003-10-26 at 05:13, Soumen Chakrabarti wrote:
> Repeatable bug, here's how to create the situation:
> 1. Start with a fresh install of stock RedHat 9.
> 2. Download kernel 2.4.22.
> 3. Patch in XFS 1.3.1 and build new kernel.
> 4. Create an XFS file system and mount it on (say) /mnt/xfs.
> 5. Download and build bonnie++-1.03a
> 6. Run bonnie++ with these flags
> bonnie++ -d /mnt/xfs -u 0:0 -s 0 -n 16
> Everything goes fine. This is a test that creates, stats, and
> deletes 16*1024 empty files.
> 7. Now up the number of files to 500*1024
> bonnie++ -d /mnt/xfs -u 0:0 -s 0 -n 500
> Here are the syslog entries.
>
> Filesystem "sd(8,17)": xfs_log_write: reservation ran out. Need to up
> reservation
> xfs_force_shutdown(sd(8,17),0x8) called from line 1739 of file xfs_log.c.
> Return address = 0xc01f4cdb
> Filesystem "sd(8,17)": Corruption of in-memory data detected. Shutting down
> filesystem: sd(8,17)
> Please umount the filesystem, and rectify the problem(s)
> xfs_force_shutdown(sd(8,17),0x2) called from line 747 of file xfs_log.c.
> Return address = 0xc01f4cdb
I also can verify this forced shutdown here on a debian/woody box (PIII, IDE)
with XFS CVS of 20031015. After umount/mount, the forced shutdown occures
again,
if I try to delete the directory created by bonnie++. An xfs_repair after
umount/mount/umount fixes this.
However, with plain 2.4.21 + xfs-1.3.1 the bonnie++-tests complete
without any errors.
output of xfs_info:
meta-data=/mnt/testxfs isize=256 agcount=11, agsize=262144
blks
= sectsz=512
data = bsize=4096 blocks=2725017, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=0
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=1200, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
Christian
|