Results 1 to 6 of 6

Thread: force unmount /opt

  1. #1
    Join Date
    Oct 2005
    Beans
    9

    Talking force unmount /opt

    i need to unmount /opt but i keep getting this:

    poobah@ds9:~$ sudo umount /opt
    umount: /opt: device is busy
    umount: /opt: device is busy

    so i closed all applications except for the terminal and i still got the same result.

    how do i force unmount?

  2. #2
    Join Date
    May 2005
    Location
    Potsdam, NY
    Beans
    1,310
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: force unmount /opt

    1) Reccommend that this be moved to one of the Support Forums

    2) Is /opt on the same partition as the rest of the / file system? If so then you won't be able to unmount it
    ArchLinux 0.8.0
    Associate Member of the Free Software Foundation

  3. #3
    Join Date
    Oct 2005
    Beans
    9

    Re: force unmount /opt

    thanks kyral!

    it's not in the same partition.

    i tried to force unmount it again

    sudo umount -f /opt

    again, it gave me a service is busy reply or something like that
    i then rebooted it.
    and ... voila! ... /opt is already unmounted after booting.

    i don't get it.

  4. #4
    Join Date
    Jul 2005
    Beans
    31

    Re: force unmount /opt

    you could have umount withount rebooting with the following

    Code:
    umount -l /opt
    man umount (search for lazy)
    perhaps with a sudo

  5. #5
    Join Date
    Feb 2009
    Location
    Sintra, Portugal
    Beans
    65
    Distro
    Xubuntu Development Release

    Re: force unmount /opt

    that -l option was useful for me, thanks!
    All the best

    Antonio

  6. #6
    Join Date
    Jul 2011
    Beans
    6

    Re: force unmount /opt

    "umount -l /opt" it works for me

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •