You are not logged in.

#1 2012-12-09 23:43:16

Kilzool
Member
From: Ireland
Registered: 2010-08-04
Posts: 232

[SOLVED] a filesystem can't be unmounted at shutdown/reboot?

For days now, I've been getting a console message on shutdown or reboot
"giving up on unmounting a filesystem. 1 filesystem could not be unmounted".

The message goes by so fast, that perhaps it's been going on for a longer period of time.

Now the puzzle is, I can't find the exact filesystem it is trying to unmount.
I can't find any more detail in the logs on this issue.

It doesn't appear to be any of my HDD partitions..
and even the tmpfs seems to be unmounted.
Though I have a feeling it is gvfs-fuse perhaps - not sure.

Any suggestions on where to look - or something to run to show
even more detail at the shutdown?

Last edited by Kilzool (2012-12-10 18:15:38)

Offline

#2 2012-12-10 00:51:21

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED] a filesystem can't be unmounted at shutdown/reboot?

One way to debug this is to enable the "shutdown" hook in /etc/mkinitcpio.conf. After rebooting, edit /run/initramfs/shutdown and add a call to /bin/ash (not bash) somewhere at the top of the script.

That means you will jump back into your initramfs at shutdown and will give you a shell to poke around. You should then be able to figure what (if anything) is still mounted.

That said, most likely the error is completely harmless, and everything is actually unmounted ok. I fixed something like this recently in git: http://cgit.freedesktop.org/systemd/sys … 04f97e4a98

Offline

#3 2012-12-10 18:15:21

Kilzool
Member
From: Ireland
Registered: 2010-08-04
Posts: 232

Re: [SOLVED] a filesystem can't be unmounted at shutdown/reboot?

Thanks tomegun.

Offline

Board footer

Powered by FluxBB