[Top] [All Lists]

Re: XFS appears to cause strange hang with md raid1 on reboot

To: Tom <storm9c1@xxxxxxxxxxxx>
Subject: Re: XFS appears to cause strange hang with md raid1 on reboot
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 6 Feb 2013 08:32:06 +1100
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <11083.>
References: <32271.> <20130129151833.GF27055@xxxxxxx> <42720.> <20130130234650.GE32297@xxxxxxxxxxxxxxxxxx> <45702.> <20130204125510.GL2667@dastard> <11083.>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Feb 05, 2013 at 01:22:42PM -0500, Tom wrote:
> In a previous message, Dave Chinner wrote:
> >
> > Which doesn't tell us why the filesystem was not unmounted. We need to
> > know why/how the unmount failed to solve the problem, so you'll need to
> > do some debugging of the unmount to try to work that out...
> >
> Thanks Dave.
> I can work on that tonight.
> Oddly, since the problem is kernel related (308 doesn't do it, 348 does),
> the system shuts down the same way no matter what kernel I'm using.  So
> what would be the difference?  The umounts and running processes shouldn't
> change.  Just seems to me that some resource isn't being released.  And
> only with kernel 348 and XFS.  Quite puzzling..........
> Any suggestions on how I would debug this?

Find out if the unmount is returning an error first. If there is no
error, then you need to find what is doing bind mounts on your
system and make sure they are unmounted properly before the final
unmount is done. If lazy unmount is being done, make it a normal
unmount an see where the unmount is getting stcuk or taking time to
complete by using sysrq-w if it gets delayed for any length of time.

FWIW, because this is a old, old kernel, event tracing is not
available, so the single most useful tool for tracking this down is
not available...


Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>