Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Endless loop after shutting down with Windos volume still mounted

  1. #1
    Join Date
    Jan 2007
    Location
    England and Australia
    Beans
    359
    Distro
    Ubuntu 10.04 Lucid Lynx

    Endless loop after shutting down with Windos volume still mounted

    Hi
    Ubuntu 10.04 64-bit
    Samba shared with Windows folders

    I shut down Ubuntu without unmounting a Windows volume. Now on my desktop there is a file:
    "database (f) on study-raid.volume"
    with the location: x-nautilus-desktop:///

    I can not not delete it. Using gksudo nautilus, I can not see the file on the desktop yet it is there.

    I can mount any volume from any computer on the network - except for "DATABASE (F)", location smb://study-raid/ - which is what this file refers to.

    If I try to mount that drive, the desktop clears of anything I have put there and Ubuntu goes into an endless loop with folders 'Starting File Manager' opening all along the bottom panel - so rapidly that 'Starting File Manager' is the best guess I can make of the name of all the identical folders opening. I can not stop it and have to switch off the computer.

    Any help would be appreciated.

    Many thanks
    David
    Attached Images Attached Images

  2. #2
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Endless loop after shutting down with Windos volume still mounted

    Go to Applications > Accessories > Terminal and type each of the following commands, pressing Enter after each one:
    Code:
    sudo umount ~/.gvfs
    rm -rf ~/.gvfs
    Hopefully your icon will disappear. You should also now be able to access the Windows share again. If not, you might need to reboot to regain access.

  3. #3
    Join Date
    Jan 2007
    Location
    England and Australia
    Beans
    359
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Endless loop after shutting down with Windos volume still mounted

    Thanks for replying PatchesTheCaveman.

    Unfortunately it made no difference.

    I am enclosing a jpg of the file on the desktop (with my mouse pointer) and the highlighted windows volume I am trying to re-enable mounting.

    I don't understand why 'database (f) on study-raid.volume' exists on my david/Desktop but can not be seen using gksudo nautilus. Nor is it anywhere else that I can find. If I open office, it is not even listed as a file in the Open menu (all file types selected).

    Thanks for any help,
    David
    Attached Images Attached Images
    Last edited by dryder; January 11th, 2011 at 09:22 AM. Reason: Added last sentence

  4. #4
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Endless loop after shutting down with Windos volume still mounted

    Installing the gnome-volume-manager package from the Ubuntu Software Center, Synaptic, or by running this command on a terminal:
    Code:
    sudo apt-get install gnome-volume-manager
    Then see if that program can get rid of that file.

  5. #5
    Join Date
    Jan 2007
    Location
    England and Australia
    Beans
    359
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Endless loop after shutting down with Windos volume still mounted

    Hi,

    gnome-volume-manager is not in synaptic nor is it available via terminal. Sourceforge says it is obsolete now. gvfs/nautilus do that now but that isn't that what you suggested in your first reply? I can't find any nautilus gui that might make it easier for me.

    I really appreciate your help - thanks. It is an important volume to be able to mount for me.

    David

  6. #6
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Endless loop after shutting down with Windos volume still mounted

    Sorry about that. I should have looked deeper. Let's try something else.

    Install gvfs-bin (this one really exists!):
    Code:
    sudo apt-get install gvfs-bin
    Now try to unmount it:
    Code:
    gnome-mount -u "//study-raid/database (f)/"

  7. #7
    Join Date
    Jan 2007
    Location
    England and Australia
    Beans
    359
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Endless loop after shutting down with Windos volume still mounted

    Hi,

    command not found ...

    David
    PS - didn't mean to be cryptic - somebody came to door ...
    Last edited by dryder; January 12th, 2011 at 11:37 AM. Reason: PS

  8. #8
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Endless loop after shutting down with Windos volume still mounted

    Every so often I get in a thread where I can't get a command right to save my life.

    The correct command is
    Code:
    gvfs-mount -u "//study-raid/database (f)/"
    Last edited by PatchesTheCaveman; January 12th, 2011 at 11:40 AM.

  9. #9
    Join Date
    Jan 2007
    Location
    England and Australia
    Beans
    359
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Endless loop after shutting down with Windos volume still mounted

    Tried
    gvfs-mount -u "//study-raid/database (f)/"
    and received
    Error finding enclosing mount: Containing mount does not exist
    David

  10. #10
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Endless loop after shutting down with Windos volume still mounted

    It can't be easy, can it? I'm going to look into this further.

    In the meantime, since I believe you said you can't access this share at all, here's a workaround that will get you into it until we can get rid of that rogue desktop file:
    Code:
    sudo mkdir /mnt/dbf
    sudo smbmount -o user=<username> "//study-raid/database (f)/" /mnt/dbf
    If the file share does not require you to login in you can replace user=username with guest.

    You can then run:
    Code:
    nautilus /mnt/dbf
    to see it in the file manager and you can access it in that location in all programs.

Page 1 of 3 123 LastLast

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
  •