public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Theodore Ts'o <tytso@mit.edu>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: Eric Sandeen <sandeen@redhat.com>,
	Kamran Khan <krkhan@inspirated.com>,
	linux-ext4@vger.kernel.org
Subject: Re: Difference in jbd2 behavior between CentOS and Ubuntu while unmounting
Date: Wed, 18 May 2016 10:12:40 -0400	[thread overview]
Message-ID: <20160518141240.GB1710@thunk.org> (raw)
In-Reply-To: <20160518061834.GA4502@birch.djwong.org>

On Tue, May 17, 2016 at 11:18:34PM -0700, Darrick J. Wong wrote:
> Just to throw some gasoline on this fire, I hit the same set of symptoms
> a couple of weeks ago while trying to umount /home on 4.5.0 + Ubuntu 16.04.
> Ted mused that it could be some process running in a funny mount namespace.
> Or systemd dragons.  Or something.

Try the following to see if someone process is playing namespace games

find /proc -name mounts | xargs grep /dev/sda3

(replace /dev/sda3 with the device that you think is unmounted).

When you find the process, kill it.  (Or try doing a service XXX
restart assuming that the device has been unmounted in the "normal"
mount namespace.)

Another simple thing to try doing is to go into single user mode,
which will kill off all/most of your userspace processes, which may
also have the desired effect.  Much more of a blunt hammer, though.

     	      	      	       	    	 - Ted

  reply	other threads:[~2016-05-18 14:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-18  0:46 Difference in jbd2 behavior between CentOS and Ubuntu while unmounting Kamran Khan
2016-05-18  1:33 ` Kamran Khan
2016-05-18  2:14   ` Kamran Khan
2016-05-18  2:17 ` Eric Sandeen
2016-05-18  2:35   ` Kamran Khan
2016-05-18  2:41     ` Eric Sandeen
2016-05-18  2:55       ` Kamran Khan
2016-05-18  3:16         ` Eric Sandeen
2016-05-18  3:22           ` Kamran Khan
2016-05-18  6:18       ` Darrick J. Wong
2016-05-18 14:12         ` Theodore Ts'o [this message]
2016-05-18 19:01           ` Kamran Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160518141240.GB1710@thunk.org \
    --to=tytso@mit.edu \
    --cc=darrick.wong@oracle.com \
    --cc=krkhan@inspirated.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sandeen@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox