You are not logged in.

#1 2012-10-27 05:17:38

bachtiar
Member
Registered: 2005-02-08
Posts: 66

Painfully slow "Unmounting file systems" at shutdown

I am using autofs to mount a CIFS share over a network. When I shutdown/reboot, the system hangs with "Unmounting file system" for a very long time (e.g. 2 minutes) before doing so.

My situation requires that the mountpoint might be in use when shutdown is commenced. It looks to me as if umount is waiting for something which is not happening.

I am using pure-systemd setup.

Offline

#2 2012-11-07 09:26:12

thesilentboatman
Member
From: Sweden
Registered: 2012-11-04
Posts: 18

Re: Painfully slow "Unmounting file systems" at shutdown

I have almost the same problem. I got a NFS share in fstab and it also hangs for around 2 minutes on shutdown/reboot.

fstab

192.168.0.10:/media/heddson /home/maxim/pogo-heddson nfs rsize=8192,wsize=8192,timeo=14,noauto,x-systemd.automount,x-systemd.device-timeout=2min 0 0

Don't know exactly how autofs works, but for me I beleve the problem was that my user didn't have the rights to unmount that share. Since root is running fstab, then only root can unmount it. My solution was to shutdown/reboot as root or add users in fstab (which allows every user to unmount it).

Hope some of this can help. I should also point out that sometimes my regular user is able to reboot without it hanging.. So it's possible I missed something.

Offline

#3 2015-08-23 03:44:11

bachtiar
Member
Registered: 2005-02-08
Posts: 66

Re: Painfully slow "Unmounting file systems" at shutdown

Offline

#4 2015-08-23 03:46:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Painfully slow "Unmounting file systems" at shutdown


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB