here the dmesg output: ffff8802358f6200: 58 41 47 46 00 00 00 01 00 00 00 00 00 20 00 00 XAGF......... .. Filesystem "sda6": XFS internal error xfs_alloc_read_agf at line 2151 of file fs/xfs/xfs_alloc.c. Caller 0xffffffff81239a74 Pid: 11628, comm: autom4te-2.65 Tainted: P 2.6.33-gentoo-r1 #1 Call Trace: [<ffffffff8126365e>] xfs_error_report+0x3e/0x40 [<ffffffff81239a74>] ? xfs_alloc_read_agf+0x34/0xe0 [<ffffffff812636b5>] xfs_corruption_error+0x55/0x70 [<ffffffff812399a7>] xfs_read_agf+0xe7/0x180 [<ffffffff81239a74>] ? xfs_alloc_read_agf+0x34/0xe0 [<ffffffff81239a74>] xfs_alloc_read_agf+0x34/0xe0 [<ffffffff8123bf4f>] xfs_alloc_fix_freelist+0x3ef/0x460 [<ffffffff8151fc40>] ? _raw_spin_lock_irq+0x10/0x20 [<ffffffff8151fbb3>] ? __down_read+0xd3/0xde [<ffffffff8123c05d>] xfs_free_extent+0x9d/0xf0 [<ffffffff8124af0e>] xfs_bmap_finish+0x15e/0x1b0 [<ffffffff8126bb72>] xfs_itruncate_finish+0x172/0x370 [<ffffffff81287fc5>] xfs_setattr+0x9e5/0xab0 [<ffffffff810ceae2>] ? unlock_page+0x22/0x30 [<ffffffff8151fac5>] ? __down_write_nested+0xd5/0xe0 [<ffffffff81291626>] xfs_vn_setattr+0x16/0x20 [<ffffffff8112d723>] notify_change+0x163/0x340 [<ffffffff812f611b>] ? _atomic_dec_and_lock+0x6b/0xa0 [<ffffffff81114fbc>] do_truncate+0x5c/0x90 [<ffffffff811156bd>] sys_ftruncate+0xed/0x140 [<ffffffff8103b873>] sys32_ftruncate64+0x13/0x20 [<ffffffff8103a58f>] cstar_dispatch+0x7/0x2e xfs_force_shutdown(sda6,0x8) called from line 4010 of file fs/xfs/xfs_bmap.c. Return address = 0xffffffff8124af4c Filesystem "sda6": Corruption of in-memory data detected. Shutting down filesystem: sda6 Please umount the filesystem, and rectify the problem(s) Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. Filesystem "sda6": xfs_log_force: error 5 returned. .... /dev/sda6 - is 100GB XFS partition. The filesystem contains only data. It happened this night where only some cronjobs were running... umounting results in the following /var/log/messages entry Apr 14 21:10:36 treviso kernel: Filesystem "sda6": xfs_log_force: error 5 returned. Apr 14 21:11:06 treviso kernel: Filesystem "sda6": xfs_log_force: error 5 returned. Apr 14 21:11:36 treviso kernel: Filesystem "sda6": xfs_log_force: error 5 returned. Apr 14 21:12:06 treviso kernel: xfs_force_shutdown(sda6,0x1) called from line 334 of file fs/xfs/xfs_rw.c. Return address = 0xffffffff8128891b Apr 14 21:12:06 treviso kernel: xfs_force_shutdown(sda6,0x1) called from line 334 of file fs/xfs/xfs_rw.c. Return address = 0xffffffff8128891b Apr 14 21:12:06 treviso kernel: Filesystem "sda6": xfs_log_force: error 5 returned. Apr 14 21:12:37 treviso kernel: Filesystem "sda6": xfs_log_force: error 5 returned. Apr 14 21:12:37 treviso kernel: Filesystem "sda6": xfs_log_force: error 5 returned. I tried to mount it again - but again kernel ooops again Apr 14 21:17:03 treviso kernel: XFS mounting filesystem sda6 Apr 14 21:17:03 treviso kernel: Starting XFS recovery on filesystem: sda6 (logdev: internal) Apr 14 21:17:04 treviso kernel: ffff8801afb1d200: 58 41 47 46 00 00 00 01 00 00 00 00 00 20 00 00 XAGF......... .. Apr 14 21:17:04 treviso kernel: Filesystem "sda6": XFS internal error xfs_alloc_read_agf at line 2151 of file fs/xfs/xfs_alloc.c. Caller 0xffffffff81239a74 Apr 14 21:17:04 treviso kernel: Apr 14 21:17:04 treviso kernel: Pid: 2544, comm: mount Tainted: P 2.6.33-gentoo-r1 #1 Apr 14 21:17:04 treviso kernel: Call Trace: Apr 14 21:17:04 treviso kernel: [<ffffffff8126365e>] xfs_error_report+0x3e/0x40 Apr 14 21:17:04 treviso kernel: [<ffffffff81239a74>] ? xfs_alloc_read_agf+0x34/0xe0 Apr 14 21:17:04 treviso kernel: [<ffffffff812636b5>] xfs_corruption_error+0x55/0x70 Apr 14 21:17:04 treviso kernel: [<ffffffff812399a7>] xfs_read_agf+0xe7/0x180 Apr 14 21:17:04 treviso kernel: [<ffffffff81239a74>] ? xfs_alloc_read_agf+0x34/0xe0 Apr 14 21:17:04 treviso kernel: [<ffffffff81239a74>] xfs_alloc_read_agf+0x34/0xe0 Apr 14 21:17:04 treviso kernel: [<ffffffff8123be34>] xfs_alloc_fix_freelist+0x2d4/0x460 Apr 14 21:17:04 treviso kernel: [<ffffffff81288b11>] ? kmem_zone_alloc+0x91/0xe0 Apr 14 21:17:04 treviso kernel: [<ffffffff8151fc40>] ? _raw_spin_lock_irq+0x10/0x20 Apr 14 21:17:04 treviso kernel: [<ffffffff8151fbb3>] ? __down_read+0xd3/0xde Apr 14 21:17:04 treviso kernel: [<ffffffff81275b89>] ? xlog_grant_log_space+0x3e9/0x5b0 Apr 14 21:17:04 treviso kernel: [<ffffffff8123c05d>] xfs_free_extent+0x9d/0xf0 Apr 14 21:17:04 treviso kernel: [<ffffffff8127699f>] xlog_recover_process_efi+0x19f/0x1e0 Apr 14 21:17:04 treviso kernel: [<ffffffff81276a3b>] xlog_recover_process_efis+0x5b/0xb0 Apr 14 21:17:04 treviso kernel: [<ffffffff81276f1f>] xlog_recover_finish+0x1f/0xd0 Apr 14 21:17:04 treviso kernel: [<ffffffff81274924>] xfs_log_mount_finish+0x24/0x30 Apr 14 21:17:04 treviso kernel: [<ffffffff8127d855>] xfs_mountfs+0x415/0x6c0 Apr 14 21:17:04 treviso kernel: [<ffffffff81288d9e>] ? kmem_zalloc+0x2e/0x40 Apr 14 21:17:04 treviso kernel: [<ffffffff8127e762>] ? xfs_mru_cache_create+0x142/0x170 Apr 14 21:17:04 treviso kernel: [<ffffffff81295445>] xfs_fs_fill_super+0x215/0x3b0 Apr 14 21:17:04 treviso kernel: [<ffffffff81118d3c>] get_sb_bdev+0x16c/0x1b0 Apr 14 21:17:04 treviso kernel: [<ffffffff81295230>] ? xfs_fs_fill_super+0x0/0x3b0 Apr 14 21:17:04 treviso kernel: [<ffffffff81100d72>] ? alloc_pages_current+0x82/0xd0 Apr 14 21:17:04 treviso kernel: [<ffffffff81293423>] xfs_fs_get_sb+0x13/0x20 Apr 14 21:17:04 treviso kernel: [<ffffffff81118816>] vfs_kern_mount+0x76/0x190 Apr 14 21:17:04 treviso kernel: [<ffffffff8111899d>] do_kern_mount+0x4d/0x120 Apr 14 21:17:04 treviso kernel: [<ffffffff81520092>] ? _lock_kernel+0x52/0x9e Apr 14 21:17:04 treviso kernel: [<ffffffff81131e92>] do_mount+0x2d2/0x890 Apr 14 21:17:04 treviso kernel: [<ffffffff811324db>] sys_mount+0x8b/0xe0 Apr 14 21:17:04 treviso kernel: [<ffffffff81009ec2>] system_call_fastpath+0x16/0x1b Apr 14 21:17:04 treviso kernel: Failed to recover EFIs on filesystem: sda6 Apr 14 21:17:04 treviso kernel: XFS: log mount finish failed Reproducible: Didn't try
only xfs_repair -L /dev/sda6 helped.
Still an issue?
no - except that I got some files in lost+found of the xfs-partition. The data itself on the corrupted partition was not so important - one fedora and 2 opensuse kvm guests. After the repair I checked also the filesystems of these virtual machines and everything was ok. But I found it worth to mention - because this xfs-filesystem corruption happened during the night at 3o clock where only some cronjobs were running (far less than normal load during the day and there was no power failure, no info from smartd, and nothing in particular in /var/log/messages except the xfs error...
ok, feel free to reopen if this error reoccurs.