Hi pals<br><br>Got this problem and I am just seeking help here in case someone has a quick solution that can get us out of the problem.<br><br>We have a mysql database that run on xfs. About noon today, the database died and a quick digging pointed to an issue with the file system. We have tried file system check, but the restarting the database causes the problem to reappear again. Now, I am not sure whether this is a bug in xfs,  dmks or data, and thats where I am seeking some assistance.<br>
<br>Here is the tech details<br>- Linux database 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:42:41 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux<br>- kmod-xfs-0.4-1.2.6.18_92.1.10.el5<br>- xfsprogs-2.9.4-1.el5.centos<br><br>Below are the logs. What would the most advisable way to go about it if it were in you in facing this problem:<br>
<br>Thannks for any assistance: <br><br>Regards,<br><br>William <br><br>Feb 19 12:08:22 database kernel: Filesystem "dm-0": XFS internal error xfs_alloc_read_agf at line 2190 of file /home/buildsvn/rpmbuild/BUILD/xfs-kmod-0.4/_kmod_build_/xfs_alloc.c.  Caller 0xffffffff8858d0f4<br>
Feb 19 12:08:22 database kernel:  [<ffffffff885af0ec>] :xfs:xfs_corruption_error+0xe4/0xf6<br>Feb 19 12:08:22 database kernel:  [<ffffffff885d1ef5>] :xfs:kmem_zone_zalloc+0x1e/0x2f<br>Feb 19 12:08:22 database kernel:  [<ffffffff885a3287>] :xfs:xfs_buf_item_init+0x56/0xc8<br>
Feb 19 12:08:22 database kernel:  [<ffffffff885c8cd4>] :xfs:xfs_trans_read_buf+0x27a/0x2c7<br>Feb 19 12:08:22 database kernel:  [<ffffffff8858b675>] :xfs:xfs_alloc_read_agf+0x110/0x189<br>Feb 19 12:08:22 database kernel:  [<ffffffff8858d0f4>] :xfs:xfs_alloc_fix_freelist+0x45/0x413<br>
Feb 19 12:08:22 database kernel:  [<ffffffff8858d0f4>] :xfs:xfs_alloc_fix_freelist+0x45/0x413<br>Feb 19 12:08:22 database kernel:  [<ffffffff8858d54a>] :xfs:xfs_free_extent+0x88/0xc9<br>Feb 19 12:08:22 database kernel:  [<ffffffff885c20e5>] :xfs:xlog_recover_finish+0x15a/0x244<br>
Feb 19 12:08:22 database kernel:  [<ffffffff885c5b00>] :xfs:xfs_mountfs+0xa24/0xc30<br>Feb 19 12:08:22 database kernel:  [<ffffffff885cb748>] :xfs:xfs_mount+0x762/0x83b<br>Feb 19 12:08:22 database kernel:  [<ffffffff885dac79>] :xfs:xfs_fs_fill_super+0x0/0x1e3<br>
Feb 19 12:08:22 database kernel:  [<ffffffff885dacf7>] :xfs:xfs_fs_fill_super+0x7e/0x1e3<br>Feb 19 12:24:35 database kernel: Filesystem "dm-0": XFS internal error xfs_alloc_read_agf at line 2190 of file /home/buildsvn/rpmbuild/BUILD/xfs-kmod-0.4/_kmod_build_/xfs_alloc.c.  Caller 0xffffffff8858d0f4<br>
Feb 19 12:24:35 database kernel:  [<ffffffff885af0ec>] :xfs:xfs_corruption_error+0xe4/0xf6<br>Feb 19 12:24:35 database kernel:  [<ffffffff885d1ef5>] :xfs:kmem_zone_zalloc+0x1e/0x2f<br>Feb 19 12:24:35 database kernel:  [<ffffffff885a3287>] :xfs:xfs_buf_item_init+0x56/0xc8<br>
Feb 19 12:24:35 database kernel:  [<ffffffff885c8cd4>] :xfs:xfs_trans_read_buf+0x27a/0x2c7<br>Feb 19 12:24:35 database kernel:  [<ffffffff8858b675>] :xfs:xfs_alloc_read_agf+0x110/0x189<br>Feb 19 12:24:35 database kernel:  [<ffffffff8858d0f4>] :xfs:xfs_alloc_fix_freelist+0x45/0x413<br>
Feb 19 12:24:35 database kernel:  [<ffffffff8858d0f4>] :xfs:xfs_alloc_fix_freelist+0x45/0x413<br>Feb 19 12:24:35 database kernel:  [<ffffffff8858d54a>] :xfs:xfs_free_extent+0x88/0xc9<br>Feb 19 12:24:35 database kernel:  [<ffffffff8859a2ad>] :xfs:xfs_bmap_finish+0xf0/0x169<br>
Feb 19 12:24:35 database kernel:  [<ffffffff885b7e46>] :xfs:xfs_itruncate_finish+0x172/0x2b3<br>Feb 19 12:24:35 database kernel:  [<ffffffff885cc479>] :xfs:xfs_inactive_free_eofblocks+0x190/0x1d6<br>Feb 19 12:24:35 database kernel:  [<ffffffff885cf5b3>] :xfs:xfs_release+0x94/0xc5<br>
Feb 19 12:24:35 database kernel:  [<ffffffff885d5f3d>] :xfs:xfs_file_release+0x1a/0x1e<br>Feb 19 12:24:35 database kernel: xfs_force_shutdown(dm-0,0x8) called from line 4267 of file /home/buildsvn/rpmbuild/BUILD/xfs-kmod-0.4/_kmod_build_/xfs_bmap.c.  Return address = 0xffffffff8859a2ea<br>
Feb 19 12:26:55 database kernel: xfs_force_shutdown(dm-0,0x1) called from line 424 of file /home/buildsvn/rpmbuild/BUILD/xfs-kmod-0.4/_kmod_build_/xfs_rw.c.  Return address = 0xffffffff885d17f1<br>Feb 19 12:26:55 database kernel: xfs_force_shutdown(dm-0,0x1) called from line 424 of file /home/buildsvn/rpmbuild/BUILD/xfs-kmod-0.4/_kmod_build_/xfs_rw.c.  Return address = 0xffffffff885d17f1<br>
<br clear="all"><br>-- <br>For a list of all the ways technology has failed to improve the quality of life, please press three.<br>—Alice Kahn<br><br>