[Bug 428129] Re: fstab mounted CIFS share causes stalls when offline
sparrowt
428129 at bugs.launchpad.net
Sat Jan 3 00:47:51 UTC 2015
Actually moving to cifs-utils under Ubuntu because cifs-utils itself
doesn't seem active or the correct place.
Notes: this is not an fstab problem, if you do this command manually it still hangs if the server is turned off:
mount -t cifs //server/share /media/share
** Project changed: cifs-utils => cifs-utils (Ubuntu)
** Summary changed:
- fstab mounted CIFS share causes stalls when offline
+ Mounting CIFS share hangs when server is offline
** Description changed:
- Hello, I mounted an OS X Samba share on Linux Mint 7 using smbfs.
+ Hello, I mounted an OS X Samba share on Linux Mint 7 using smbfs.
I added to the fstab-
//server/share /media/share cifs credentials=credentialsfile,file_mode=0777,dir_mode=0777 0 0
This works, and is the preferred method in Ubuntu (as GNOME doesn't
mount shares as a filesystem for other programs to access and it doesn't
automount). However, if the server goes offline for any reason (restart,
shutdown, router unplugged, etc.), programs in Mint gradually stall
(stop responding). I had a WINE program stall, then Firefox, then
Nautilus. I tried to reproduce it by shutting down the server again, and
only nautilus stalled. They come back to life when the server boots back
up. There may be an eventual timeout, but I didn't reach it. CIFS does
not have a timeout option listed in the manual.
I realize it's expected that a fstab-listed filesystem will respond all the time, but network shares don't. I realize this won't be a Mint-only issue, but I wouldn't know who to submit it to (gnome nautilus, smbfs, CIFS-VFS, or all of them). I think this behaviour is too fragile. Please forward this bug wherever it's supposed to go. I did find this old mailinglist email, but it does not mention other programs stalling-
http://lists.samba.org/archive/linux-cifs-client/2005-February/000686.html
Thanks for the help!
+
+ EDIT: note this hangs even if run from a normal mount command, not just
+ from fstab.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cifs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/428129
Title:
Mounting CIFS share hangs when server is offline
Status in cifs-utils package in Ubuntu:
Confirmed
Bug description:
Hello, I mounted an OS X Samba share on Linux Mint 7 using smbfs.
I added to the fstab-
//server/share /media/share cifs credentials=credentialsfile,file_mode=0777,dir_mode=0777 0 0
This works, and is the preferred method in Ubuntu (as GNOME doesn't
mount shares as a filesystem for other programs to access and it
doesn't automount). However, if the server goes offline for any reason
(restart, shutdown, router unplugged, etc.), programs in Mint
gradually stall (stop responding). I had a WINE program stall, then
Firefox, then Nautilus. I tried to reproduce it by shutting down the
server again, and only nautilus stalled. They come back to life when
the server boots back up. There may be an eventual timeout, but I
didn't reach it. CIFS does not have a timeout option listed in the
manual.
I realize it's expected that a fstab-listed filesystem will respond all the time, but network shares don't. I realize this won't be a Mint-only issue, but I wouldn't know who to submit it to (gnome nautilus, smbfs, CIFS-VFS, or all of them). I think this behaviour is too fragile. Please forward this bug wherever it's supposed to go. I did find this old mailinglist email, but it does not mention other programs stalling-
http://lists.samba.org/archive/linux-cifs-client/2005-February/000686.html
Thanks for the help!
EDIT: note this hangs even if run from a normal mount command, not
just from fstab.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/428129/+subscriptions
More information about the foundations-bugs
mailing list