On Mon, Mar 16, 2020 at 01:03:42PM +1100, Dave Chinner wrote: > On Sat, Mar 14, 2020 at 06:31:10AM -0700, Andi Kleen wrote: > > > > Hi, > > > > I had a cable problem on a USB connected XFS file system, triggering > > some IO errors, and the result was that any access to the mount point > > resulted in EIO. This prevented unmounting the file system to recover > > from the problem. > > Full dmesg output, please. http://www.firstfloor.org/~andi/dmesg-xfs-umount > > > > XFS (...): log I/O error -5 > > > > scsi 7:0:0:0: rejecting I/O to dead device > > Where is unmount stuck? 'echo w > /proc/sysrq-trigger' output if it > is hung, 'echo l > /proc/sysrq-trigger' if it is spinning, please? It's not stuck. It always errored out with EIO. -Andi