Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know of a good way to mount Samba volumes so that you dont have to reboot your box to get them unmounted when the remote server gets reset?
This is utterly annoying.
I am using Suse 9.1 and fuser -k just hangs. It never worked for me anyway.
Maybe some kind of a loop mount or container fs that can be forcibly removed will do the job?
not sure what you mean by remote server being reset... I assume you are talking client side.
I use samba alot, but do not quite get what the problem is... however, you could cron samba mounts and umounts at regular intervals so that it is transparent to users.
However, sounds like samba is not configured right to me.
Browse it a little, copy and edit some files
Now turn off the server that had the shared files
And turn it back on
1) /mnt/c is no longer accessible on the linux box
2) you can't unmount it (filesystem busy)
(fuser -k hangs forever)
3) you can remount it, but only in a different subdirectory
4) listing /mnt takes forever and eventually gives an io error
This has happened on every single linux installation I have tried!!!
Please people! I would like to find a remedy!!!
Why doesnt unmount instantly return?! What is the big deal?
If I tell my computer to do something, I dont care who else is doing what,
it must do what I want, INSTANTLY.
you can run "umount -lf /mountpoint" and this will unmount it without a care in the world
If your smbmount is mounted via your "/etc/fstab" , you may also try using a soft mount for both NFS/SMB shares as it will make it easier to unmount / fix in the case your winbloz box goes down.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.