Re: Can't umount when busy

From: Alexey Fadyushin (fab_at_s-tunnel.com)
Date: 05/31/04

  • Next message: Bob Smith: "Re: Java server won't run after reboot"
    Date: Mon, 31 May 2004 21:17:15 +0400
    To: frank@bio-con.com, General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    You can use command 'fuser -mv' with the mount point as its argument.'
    For example, if you need to know what processes are using /var
    filesystem
    so it cannot be umounted, you should give the following command:

    fuser -mv /var

    It will give you the list of all processes which use files and
    directories
    in the mounted filesystem. Filesystem can not be umounted while any of
    files/directories on it are used (for example, opened).

    Alexey Fadyushin
    Brainbench MVP for Linux.
    http://www.brainbench.com

    Frank Reichenbacher wrote:
    >
    > I'm trying to get mirrordir to work on a new second hard drive. I
    > created the partitions, set up the filesystems as needed, and then made
    > the directories for the mount points. I'm having a hard time testing and
    > troubleshooting, however, because I can't get umount to work on the
    > mirrored drive partitions because no matter what stuff I
    > close/stop/delete I can't get them 'unbusy' unless I reboot. How do I
    > find out what processes are tying up the mount point? Man umount says it
    > might even be the umount command, if so, what on earth would one do to
    > get around that?
    >
    > Frank
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Bob Smith: "Re: Java server won't run after reboot"

    Relevant Pages

    • Re: [SLE] Still cannot update beyond original KDE3.3--Exhausted and Depressed
      ... Open Yast, Click on Software, ... to attach the contents of the disks to the existing filesystem. ... mount point is the directory in the filesystem you will attach those ... > Like perhaps give the the exact command and where to ...
      (SuSE)
    • Re: Unable to unmount idle filesystem on 6.2
      ... devfs on /dev ... # umount -f /usr/ports ... # mount -o ro /usr/ports ... The filesystem was mounted read-only, then upgraded to rw so I could update the ports tree. ...
      (freebsd-questions)
    • Re: How to set /etc/fstab again after system has started
      ... Is there another file besides /etc/fstab that I can use for the mount ... want a filesystem automatically mounted when the system boots. ... at boot time to indicate which filesystems were to be mounted. ... It listed data needed for a "mount -a" command. ...
      (comp.os.linux.misc)
    • Re: fstab and scsi
      ... You can label your filesystem using the e2label command: ... In case of duplicate filesystem labels, the first one found by the ... Strictly speaking the mount point directory is not required to be ...
      (linux.redhat)
    • Re: ext3 journaling questionhi aLL,
      ... Just wondering if anyone knows of some kind of command that displays how ... my ext3 filesystem is doing it's journal? ... It's a mount option. ... if there was a command that would give information about how the journaling ...
      (RedHat)