https://bugzilla.kernel.org/show_bug.cgi?id=102211
Bug ID: 102211
Summary: XFS filesystem on an offlined drive hangs with the
message "metadata I/O error"
Product: File System
Version: 2.5
Kernel Version: 4.0.5
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: XFS
Assignee: xfs-masters@xxxxxxxxxxx
Reporter: newchief@xxxxxxxxxxx
Regression: No
I've installed XFS on USB HDD. Usually I remember to unmount it safely before I
disconnect it. But there were several cases when I forgotten about it. It never
caused a problem before as I could mount it again and everything could be
repaired at mount time.
Recently I updated kernel to version 4.0.5 on my Gentoo machine. Everything was
fine until today. I've forgotten to unmount filesystem when I disconnected my
USB HDD. So I connected it again hoping that what I did will be fixed during
mount. Unfortunately, mount did not work.
What I found is that drive which was usually /dev/sdf now was reported
/dev/sdg. It is certain that /dev/sdf entry was still in use. And indeed in
dmesg I've found that kernel is still fighting with suddenly disconnected XFS
on /dev/sdf1.
I entered errror message in a google and found that it occured to others too,
see RedHat bugzilla ticket with the same error message:
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1103792
'sync' command couldn't complete, I couldn't reboot my machine, I couldn't
shutdown it gracefully, I could only pull the plug! Dmesg was growing due to
XFS metadata error on /dev/sdf1 messages repeated again and again. That wasn't
nice, so I don't plan to reproduce it.
--
You are receiving this mail because:
You are the assignee for the bug.
|