Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Mounted share recovery issues after target reboot

$
0
0

I have a share connected to a Windows shared folder. Everything normally works fine. Occasionally I need to reboot the Windows Box for different reasons. However once it comes back up, the share in Ubuntu is now broken. I can't figure out how to recover the mount gracefully.

When I go into the /mnt folder it is now displayed as empty and I get the following error:

This location could not be displayed.Sorry, could not display all the contents of "mnt": Error when getting information for file "/mnt/winshare": Host is down

If I try to umount the share "umount /mnt/winshare" I get:

umount: /mnt/winshare: no mount point specified.

If I try to remount all shares "mount -a", I don't get any messages or output but the share doesn't remount. and the /mnt folder still gives the same error.

If I try to remove the /winshare folder, "rmdir /mnt/winshare" I get:

rmdir: failed to remove '/mnt/winshare': Device or resource busy

The only way I can recover is to also reboot the Ubuntu box every time I reboot the Windows box, is there a better/easier way to recover from this situation?


Viewing all articles
Browse latest Browse all 699

Trending Articles