You are not logged in.
This has been happening for some weeks now trying to track down what might be causing this issue...
Everytime I shutdown or reboot... It hangs for 10 seconds or in some cases... just hangs and I have to force reboot ( reset button on my case )
Following the instructions from here which I was referred to by arch wiki systemd
http://freedesktop.org/wiki/Software/sy … eventually
rebooted a couple of times and noticed this at the end of my shutdown-log.txt
[ 122.747570] systemd-journald[182]: Received SIGTERM
[ 132.797909] EXT4-fs (sdb5): re-mounted. Opts: (null)
thats the 10 second hang I was talking about...
and on my screen it outputs
Failed umounting Temporary Directory
Failed umounting /home
looking back at the log for those 2 failed unmounts... one is at
[ 122.719495] systemd[1]: Failed unmounting Temporary Directory.
and other is at
[ 122.719830] systemd[1]: Failed unmounting /home.
which of course are both before
[ 122.747570] systemd-journald[182]: Received SIGTERM
I'm using Arch Linux on a desktop computer
Thanks
edit1: Just noticed... I'm now wondering why sdb5 is being remounted...
this is my layout
sdb 8:16 0 119.2G 0 disk
├─sdb1 8:17 0 1G 0 part /boot/efi
├─sdb2 8:18 0 48G 0 part /
├─sdb3 8:19 0 2G 0 part /boot
├─sdb4 8:20 0 8G 0 part [SWAP]
└─sdb5 8:21 0 60.2G 0 part /home
Last edited by sinatosk (2013-10-25 18:28:07)
Offline
I have the very same problem with a similar configuration. I'll follow this thread since the first one has been marked as solved, while it's not actually ( https://bbs.archlinux.org/viewtopic.php … 1#p1341151 ).
Offline
I had a somewhat similar issue (the umount of /home and /tmp failed, though shutdown did not hang). Maybe something in that thread can help you.
Offline
I too am experiencing this problem. I'm not using any form of encryption on my file systems.
Offline
I recently moved my home user folder to it's own block device
/home/user -> points to it's own block device
and now it's saying to me this
Failed unmounting Temporary Directory
Failed unmounting /home/user
Failed unmounting /home
and this is what's in my fstab for that part ( both are SSD's )
/dev/sdb5 /home ext4 defaults,noatime,discard,exec 0 2
/dev/sdc1 /home/user ext4 defaults,noatime,discard,exec 0 2
I have 3 other mounts... 1 block, 2 nfs inside my /home/user and they seem to unmount fine...
something ain't right and I don't know what it is and nothing but "Failed unmounting..." is showing in my logs
I have a total of 8 entries in my fstab "tmp" is not one of them... systemd is doing that for me automatically... same with "swap"
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
└─sda1 8:1 0 119.2G 0 part /home/user/Steam
sdb 8:16 0 119.2G 0 disk
├─sdb1 8:17 0 1G 0 part /boot/efi
├─sdb2 8:18 0 48G 0 part /
├─sdb3 8:19 0 2G 0 part /boot
├─sdb4 8:20 0 8G 0 part [SWAP]
└─sdb5 8:21 0 60.2G 0 part /home
sdc 8:32 0 238.5G 0 disk
└─sdc1 8:33 0 238.5G 0 part /home/user
and this is my fstab
/dev/sdb2 / ext4 defaults,noatime,discard 0 1
/dev/sdb3 /boot ext2 rw,relatime 0 2
/dev/sdb1 /boot/efi vfat defaults 0 2
/dev/sdb5 /home ext4 defaults,noatime,discard,exec 0 2
/dev/sdc1 /home/user ext4 defaults,noatime,discard,exec 0 2
/dev/sda1 /home/user/Steam ext4 defaults,noatime,discard,exec 0 2
#nfs mounts
s1:/nfse1/d1 /home/user/d1 nfs4 rsize=65536,wsize=65536,soft,bg,timeo=1,intr,_netdev,noauto,x-systemd.automount 0 0s1:/nfse1/d2 /home/user/d2 nfs4 rsize=65336,wsize=65536,soft,bg,timeo=1,intr,_netdev,noauto,x-systemd.automount 0 0
for reasons I have changed the content of these files... just the names... nothing more
can't see anything wrong here... so I don't know why systemd is unmounting things in the wrong order ( my assumption so far )
Last edited by sinatosk (2013-10-31 19:22:44)
Offline
Same for me. systemd fails to unmount /home (ext4 on an SSD) and Temporary Directory.
anyone figure this out yet?
no place like /home
github
Offline
I hoped it would be fixed anytime soon automagically by upgrading the system like it did several times with other similar issues but it keeps happening on my two laptops.
I just don't get what's wrong with those, except that they are laptops (my desktop PC is fine on the other hand).
Offline
I'm a desktop... ( both of them )
Offline
I hoped it would be fixed anytime soon automagically by upgrading the system like it did several times with other similar issues but it keeps happening on my two laptops.
I just don't get what's wrong with those, except that they are laptops (my desktop PC is fine on the other hand).
Same here - fails on laptops but desktops are okay.
Offline
Same thing here. I couldn't find a bug report on this, has anyone submitted one?
Offline
To shutdown archlinux, I run from the home directory of a plain user (in a vt console
and after X has terminated), the command:
systemctl poweroff
see
https://wiki.archlinux.org/index.php/Al … o_Shutdown
https://wiki.archlinux.org/index.php/sy … management
In that case, the systemd journal says on the next boot, that the /home partition has not
been unmounted correctly:
home.mount mount process exited, code=exited status=32
Failed unmounting /home.
Instead, when I run the following command, everything is fine and /home unmounted correctly:
cd /; systemctl poweroff
The reason why the unmount fails in the first case and not in the second one seems to be
that the cwd (current working directory) of the systemctl process in the first case is the
home user directory and so the linux VFS inode reference count of this directory is not zero,
and therefore /home cannot be unmounted.
Offline
I did a reboot today noticing unmounting failure of tmpfs /tmp and a bind-mounted /var:
systemd[1]: Stopping Local File Systems.
systemd[1]: Stopped target Local File Systems.
systemd[1]: Unmounting /var...
systemd[1]: Unmounting /boot...
systemd[1]: Unmounting Temporary Directory...
umount[16260]: umount: /var: target is busy
umount[16260]: (In some cases useful info about processes that
umount[16260]: use the device is found by lsof(8) or fuser(1).)
systemd[1]: var.mount mount process exited, code=exited status=32
systemd[1]: Failed unmounting /var.
systemd[1]: Unmounting /hdd...
umount[16263]: umount: /tmp: target is busy
umount[16263]: (In some cases useful info about processes that
umount[16263]: use the device is found by lsof(8) or fuser(1).)
systemd[1]: tmp.mount mount process exited, code=exited status=32
systemd[1]: Failed unmounting Temporary Directory.
systemd[1]: Unmounted /hdd.
systemd[1]: Unmounted /boot.
systemd[1]: Stopping EFI System Partition Automount.
systemd[1]: Unset automount EFI System Partition Automount.
systemd[1]: Starting Unmount All Filesystems.
systemd[1]: Reached target Unmount All Filesystems.
systemd[1]: Stopping Local File Systems (Pre).
systemd[1]: Stopped target Local File Systems (Pre).
systemd[1]: Stopping Remount Root and Kernel File Systems...
systemd[1]: Stopped Remount Root and Kernel File Systems.
systemd[1]: Starting Shutdown.
systemd[1]: Reached target Shutdown.
systemd[1]: Starting Final Step.
systemd[1]: Reached target Final Step.
systemd[1]: Starting Reboot...
systemd[1]: Shutting down.
Where /hdd is the mount point of /dev/sdb1, and /var /dev/sdb1[/var] (bind-mount).
This silver ladybug at line 28...
Offline
Offline
I might be wrong but I don't think it's relevant here, is it? Personally I don't have any SSD.
Offline
I have same issue for past few months, im using 16gb usb thumbdrive with arch installed,aybe its only happening with non spinning disks
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
Try adding the shutdown hook to your mkinitcpio.conf and don't bump old threads.
Offline
Please don't bump multiple old threads just to +1 them
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline