-   Linux - Desktop (
-   -   Shutdown process stuck (

bbb13 06-19-2013 02:52 AM

Shutdown process stuck
Hello to everyone.

I'm using the Cinnamon version of manjaro (arch-based) and my shutdown process always stucks at "Unmounting file systems".

Here's some info:

uname -a :

Linux manjaro.pc #1 SMP PREEMPT Sun Jun 9 17:55:16 UTC 2013 x86_64 GNU/Linux
/etc/fstab :


# /etc/fstab: static file system information
# <file system>        <dir>        <type>        <options>        <dump>        <pass>
proc        /proc        proc        defaults        0        0
# /dev/sdb1
UUID=c9745a94-7652-4fd4-b907-5459be972aa6        /        ext4        rw,errors=remount-ro        0        0
# /dev/sdb2
UUID=507D720E6A8249F4        /run/media/savvas-manjaro/win7Gamer        ntfs        defaults        0        0
#/dev/sda1 /run/media/savvas-manjaro/PROJECTS-SAMPLES ntfs defaults 0 0
192.168.**.30:/media /run/media/savvas-manjaro/nfs nfs defaults,rsize=8192,wsize=8192,timeo=14,user,nofail 0 0
# /dev/sdb3
UUID=99dcf63f-d792-47aa-9051-2e434aaccdaf        swap        swap        sw        0        0

i think i narrowed down the problem to the nfs drives being unmounted AFTER ethernet was shutdown, and by manually unmounting nfs, shutdown was able to finish. so i need a way to make nfs unmount first because i don't want to manually unmount nfs before every restart or shutdown.

Any help would be much appreciated.

rtmistler 06-19-2013 10:16 AM

I don't have a solution, but the things I'd check for or try would be to issue:

poweroff --verbose
in order to see if that gave me any further information. I'd also check the system log for this, which you likely have to determine that your NFS mount is causing the problem. There are complaints about this, mainly in the forms where the NFS mount is inaccessible at the time of shutdown. For instance the connection or the server went to sleep and so when the shutdown tried to umount, it had a delay or didn't work by never finishing. In some cases people say it just took a lot longer to shutdown, and in some cases, people say it never completes and stays on. The next thing would be to research whether or not the NFS mount could be configured in some manner where it could be umounted without a lengthy delay or umounted without pause or complaint.

A final thing to do would be create a script in place of poweroff and redirect the likely, already existing symbolic link for poweroff to point to your script. And in your script see if you can force that umount to occur no matter what the case, or at least perform the umount as part of your script and then deal with the case of unable to umount if the network was detached.

All times are GMT -5. The time now is 04:14 PM.