From: Josef Bacik <jbacik@fusionio.com>
To: anand jain <anand.jain@oracle.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: [bug] mount and /proc/mounts disagrees
Date: Tue, 26 Mar 2013 11:34:52 -0400 [thread overview]
Message-ID: <20130326153452.GO1955@localhost.localdomain> (raw)
In-Reply-To: <5151BD92.2010802@oracle.com>
On Tue, Mar 26, 2013 at 09:24:02AM -0600, anand jain wrote:
>
> 3.8.0+ #3
>
> This happened after 'umount /btrfs' was interrupted by ctl-C
>
> # mount | egrep btrfs
> /dev/mapper/mpathe on /btrfs type btrfs (rw,degraded)
>
> # cat /etc/mtab | egrep btrfs
> /dev/mapper/mpathe /btrfs btrfs rw,degraded 0 0
>
> # cat /proc/mounts | egrep btrfs
> # umount /btrfs
> umount: /btrfs: not mounted
> #
>
That's because your mount still uses /etc/mtab for some reason, I thought it had
stopped doing that and was using /proc/mounts? Anyway it's just because the
entry made it into mtab, if umount and /proc/mounts says its not there then its
not there. Thanks,
Josef
prev parent reply other threads:[~2013-03-26 15:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-26 15:24 [bug] mount and /proc/mounts disagrees anand jain
2013-03-26 15:34 ` Josef Bacik [this message]
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=20130326153452.GO1955@localhost.localdomain \
--to=jbacik@fusionio.com \
--cc=anand.jain@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.