[opensuse] OS 13.1 very long shutdown with cifs share mounted
(This may be a duplicate of a message I sent a few hours ago but fails to appear on the mailing list) I just installed openSUSE 13.1 with no major problem. However the shutdown process takes ~2-3 minutes. I identified that the problem is related to a cifs share that I mount in fstab with the following line: //server/storage /mnt/storage cifs auto,username=user,password=pass,uid=jeancf,gid=users,file_mode=0664,dir_mode=0775,iocharset=utf8,rw 0 0 Without this line in fstab the shutdown takes ~5 seconds. My hunch is that the network is disconnected before the share is unmounted and therefore unmount has to time out before shutdown can continue. But I do not know how to verify / fix this problem. Please help. /~JC -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 26/11/13 13:25, JC Francois wrote:
I just installed openSUSE 13.1 with no major problem. However the shutdown process takes ~2-3 minutes.
For reference, here's the solution I found to my problem. To make sure that systemd handles an fstab mount, add "comment=systemd.automount" (without the quote marks) to the options on the fstab line: //server/storage /mnt/storage cifs auto,username=user,password=password,comment=systemd.automount,uid=jeancf,gid=users,file_mode=0664,dir_mode=0775,iocharset=utf8,rw 0 0 No openSUSE shuts down in ~5 seconds. /~JC -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Tue, 26 Nov 2013 13:25:05 +0100 JC Francois <jc.francois@gmail.com> пишет:
(This may be a duplicate of a message I sent a few hours ago but fails to appear on the mailing list)
I just installed openSUSE 13.1 with no major problem. However the shutdown process takes ~2-3 minutes.
I identified that the problem is related to a cifs share that I mount in fstab with the following line:
//server/storage /mnt/storage cifs auto,username=user,password=pass,uid=jeancf,gid=users,file_mode=0664,dir_mode=0775,iocharset=utf8,rw 0 0
Without this line in fstab the shutdown takes ~5 seconds.
My hunch is that the network is disconnected before the share is unmounted and therefore unmount has to time out before shutdown can continue. But I do not know how to verify / fix this problem.
Are you using NetworkManager or traditional network script (ifup)? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrey Borzenkov
-
JC Francois