[Bug 904764] New: XFS issue -> directory suddenly gets inaccessible and an I/O error is reported when trying to read/modify/delete it
http://bugzilla.suse.com/show_bug.cgi?id=904764 Bug ID: 904764 Summary: XFS issue -> directory suddenly gets inaccessible and an I/O error is reported when trying to read/modify/delete it Classification: openSUSE Product: openSUSE 12.3 Version: Final Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jkalcic@novell.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 613082 --> http://bugzilla.suse.com/attachment.cgi?id=613082&action=edit xfs_repair -v /dev/mapper/system-home > xfs_repair.log 2>&1 I have a weird issue on my XFS file system. Suddenly I see a directory reported as ?????: # l [...] -rw-r--r-- 1 jkalcic users 360 Jan 3 2014 .gtkrc-2.0 -rw-r--r-- 1 jkalcic users 328 Jan 3 2014 .gtkrc-2.0-kde4 d????????? ? ? ? ? ? gwcache/ drwxr-xr-x 12 jkalcic users 4096 Oct 29 17:07 home/ drwxr-xr-x 4 jkalcic users 4096 Sep 22 23:24 .icedtea/ drwxr-xr-x 4 jkalcic users 4096 Jun 20 00:28 icu/ -rw-r--r-- 1 jkalcic users 861 Jan 3 2014 .inputrc [...] No problem, I can delete it, but.. # rm -rf gwcache rm: cannot remove ‘gwcache’: Input/output error Gave a couple of run of xfs_check and xfs_repair but nothing changed. Of course all the file system is less responsive in this situation (even listing directories take up to ten seconds) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kalcic <jkalcic@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkalcic@novell.com, | |lpechacek@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Libor Pecháček <lpechacek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Assignee|bnc-team-screening@forge.pr |jack@suse.com |ovo.novell.com | --- Comment #1 from Libor Pecháček <lpechacek@suse.com> --- Ah, openSUSE 12.3 is dead as to my knowledge. Anyway... @Jan, seeing the symptoms, does it ring bell? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #613082|text/x-log |text/plain mime type| | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED Flags| |needinfo?(jkalcic@novell.co | |m) --- Comment #2 from Jan Kara <jack@suse.com> --- So xfs_repair log doesn't show anything wrong. It might be interesting to see what the kernel says in it's log (output of dmesg command) - please attach that here. Ultimately the solution is going to be to get newer xfsprogs anyway. There have been quite a few fixes to xfs_repair since the version present in 12.3. If you don't want to update the whole distro (although I'd suggest to do so to get security fixes etc.), you can just install xfsprogs from the development repository at http://download.opensuse.org/repositories/filesystems/openSUSE_12.3/x86_64/. If you still see the problem with the newest xfsprogs, than I will look into it further. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kalcic <jkalcic@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jkalcic@novell.co | |m) | --- Comment #3 from Jan Kalcic <jkalcic@novell.com> --- I have installed the very latest package from the repo pointed out, this is: xfsprogs-3.2.1-43.1.x86_64 I have then re-run xfs_repair but unfortunately things do not change, I still get I/O error when I try to remove that directory. I will attach the new output plus dmesg as requested. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 --- Comment #4 from Jan Kalcic <jkalcic@novell.com> --- Created attachment 613191 --> http://bugzilla.suse.com/attachment.cgi?id=613191&action=edit xfs_repair -v /dev/mapper/system-home > xfs_repairNEW.log 2>&1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 --- Comment #5 from Jan Kalcic <jkalcic@novell.com> --- Created attachment 613192 --> http://bugzilla.suse.com/attachment.cgi?id=613192&action=edit dmesg > dmesg.log 2>&1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #613192|text/x-log |text/plain mime type| | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #613191|text/x-log |text/plain mime type| | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(jkalcic@novell.co | |m) --- Comment #6 from Jan Kara <jack@suse.com> --- Strange, the kernel log doesn't contain any error. Have you tried removing the problematic directory before gathering the kernel log? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 --- Comment #7 from Jan Kalcic <jkalcic@novell.com> --- Created attachment 613484 --> http://bugzilla.suse.com/attachment.cgi?id=613484&action=edit dmesg > dmesgNEW.out 2>&1 I am sorry Jan, I probably did not try to delete it before collecting dmesg. Please find a new version of it attached. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #613484|text/x-log |text/plain mime type| | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 --- Comment #8 from Jan Kara <jack@suse.com> --- So the kernel log shows that the file is actually in the ext4 filesystem, not XFS - can you clarify? Also it shows that the problem is actually in the disk itself - it's reporting medium errors. I'd verify smart data (smartctl -a), in particular number of relocated sectors. It may be that the drive is nearing end of life... Anyway there doesn't seem much I can do. I'm leaving this bug open for the XFS vs ext4 clarification. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 --- Comment #9 from Jan Kalcic <jkalcic@novell.com> --- That's probably where the issue is then as this is a XFS file system, indeed. # mount | grep home /dev/mapper/system-home on /home type xfs (rw,relatime,attr2,inode64,noquota) And to be honest, I doubt this is a drive issue, here we are missing somehow metadata information and file system is actually aware of it: # l [...] -rw-r--r-- 1 jkalcic users 360 Jan 3 2014 .gtkrc-2.0 -rw-r--r-- 1 jkalcic users 328 Jan 3 2014 .gtkrc-2.0-kde4 d????????? ? ? ? ? ? gwcache/ drwxr-xr-x 12 jkalcic users 4096 Oct 29 17:07 home/ drwxr-xr-x 4 jkalcic users 4096 Sep 22 23:24 .icedtea/ drwxr-xr-x 4 jkalcic users 4096 Jun 20 00:28 icu/ -rw-r--r-- 1 jkalcic users 861 Jan 3 2014 .inputrc [...] -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kalcic <jkalcic@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jkalcic@novell.co | |m) | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(jkalcic@novell.co | |m) --- Comment #10 from Jan Kara <jack@suse.com> --- Strange. Can you post your /proc/mounts file and output of 'dmsetup table'? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 --- Comment #11 from Jan Kara <jack@suse.com> --- Ping? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kalcic <jkalcic@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jkalcic@novell.co | |m) | --- Comment #12 from Jan Kalcic <jkalcic@novell.com> --- Here I am, sorry I was initially away for SUSECon then had to format my system. And of course the issue is not longer present now. We can close the bug. Thanks for your effort here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=904764 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #13 from Jan Kara <jack@suse.com> --- OK, closing the bug. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com