Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219318

Re: Modern automounters and umount

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Modern automounters and umount
Date 2020-02-22 09:50 +0100
Message-ID <zCyE1-6MF-9@gated-at.bofh.it> (permalink)
References <zCc0N-1Bb-13@gated-at.bofh.it> <zCipB-5uS-21@gated-at.bofh.it> <zCu7n-41J-1@gated-at.bofh.it> <zCuTL-4vH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Feb 21, 2020 at 11:47:22PM -0500, Gene Heskett wrote:
> On Friday 21 February 2020 22:58:10 Mark Allums wrote:

[...]

> > Explain this, then:
> >
> > george@martha:~$ udisksctl unmount -b /dev/sdb1
> > Unmounted /dev/sdb1.
> > george@martha:~$ sudo e2fsck -c -c -k -p -f -C 0 /dev/sdb1
> > /dev/sdb1 is in use.
> > e2fsck: Cannot continue, aborting.
> >
> > Thnx,
> >
> > Mark
> Is there a user cd'd into it?  That locks it up.

You are confusing device file with (mounted) file system.
You can't "cd" into a device file (/dev/sb1), only into
a directory, which is part of a mounted file system. Then,
this directory is "in use". But then you can't umount the
corresponding file system.

So either "udisksctl" is lying or something else is happening
behind the scenes (e.g. an over-eager automounter remounting
the file system again).

I'd watch the logs for more info.

Cheers
-- t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Modern automounters and umount "Thomas Schmitt" <scdbackup@gmx.net> - 2020-02-21 09:40 +0100
  Re: Modern automounters and umount Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-02-21 09:50 +0100
    Re: Modern automounters and umount Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-21 15:00 +0100
      Re: Modern automounters and umount Jonathan Dowland <jon+debian-user@dow.land> - 2020-02-21 16:30 +0100
        Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-22 05:00 +0100
          Re: Modern automounters and umount Gene Heskett <gheskett@shentel.net> - 2020-02-22 05:50 +0100
            Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-22 09:50 +0100
            Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 09:50 +0100
              Re: Modern automounters and umount Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-22 15:40 +0100
                Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 17:10 +0100
                Re: Modern automounters and umount "Thomas Schmitt" <scdbackup@gmx.net> - 2020-02-22 17:40 +0100
                Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 17:50 +0100
                Re: Modern automounters and umount "Thomas Schmitt" <scdbackup@gmx.net> - 2020-02-22 18:00 +0100
                Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 18:10 +0100
                Re: Modern automounters and umount Gene Heskett <gheskett@shentel.net> - 2020-02-22 19:30 +0100
                Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 21:00 +0100
                Re: Modern automounters and umount Gene Heskett <gheskett@shentel.net> - 2020-02-22 23:50 +0100
          Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-22 15:40 +0100
            Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-23 10:40 +0100
              Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-23 12:10 +0100
                Re: Modern automounters and umount Mark Allums <maa@allums.com> - 2020-02-24 09:00 +0100
                Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-24 12:00 +0100
                Re: Modern automounters and umount David Wright <deblis@lionunicorn.co.uk> - 2020-02-24 17:10 +0100
                Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-24 18:20 +0100
                Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-25 08:20 +0100
                Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-25 10:50 +0100
                Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-25 11:40 +0100
                Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-25 15:40 +0100
                Re: Modern automounters and umount songbird <songbird@anthive.com> - 2020-02-25 19:40 +0100
          Re: Modern automounters and umount Jonathan Dowland <jon+debian-user@dow.land> - 2020-02-23 22:10 +0100
            Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-24 11:40 +0100
              Re: Modern automounters and umount Jonathan Dowland <jon+debian-user@dow.land> - 2020-02-25 12:00 +0100
        Re: Modern automounters and umount "Thomas Schmitt" <scdbackup@gmx.net> - 2020-02-23 22:40 +0100
  Re: Modern automounters and umount songbird <songbird@anthive.com> - 2020-02-21 22:50 +0100

csiph-web