You are not logged in.

#1 2019-10-08 18:18:38

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 321

[Solved] Failed unmounting /home on shutdown

Hi, on my Arch system when I shutdown systemd tells that it can't unmount the /home and /tmp partition (see the screen here https://i.imgur.com/QsBppu3.jpg).
I've discovered that the systemd-fsck@ service failed too and this is the output of systemctl:

systemd-fsck@dev-disk-by\x2dpartuuid-.service
   Loaded: bad-setting (Reason: Unit systemd-fsck@dev-disk-by\x2dpartuuid-.service has a bad unit file setting.)
   Active: inactive (dead)
     Docs: man:systemd-fsck@.service(8)

ott 08 19:19:43 archthink systemd[1]: /usr/lib/systemd/system/systemd-fsck@.service:3: Failed to resolve unit specifiers in 'File System Check on %f', ignoring: Invalid >
ott 08 19:19:43 archthink systemd[1]: /usr/lib/systemd/system/systemd-fsck@.service:14: Failed to resolve unit specifiers in %f: Invalid argument
ott 08 19:19:43 archthink systemd[1]: systemd-fsck@dev-disk-by\x2dpartuuid-.service: Unit configuration has fatal error, unit will not be started.

I've already tried to run an fsck using a live, but it didn't get me any block error.

Last edited by toketin (2019-10-14 17:41:14)

Offline

#2 2019-10-08 19:22:17

loqs
Member
Registered: 2014-03-06
Posts: 9,074

Re: [Solved] Failed unmounting /home on shutdown

Please post the journal for a boot instead of a picture.
systemd-fsck@dev-disk-by\x2dpartuuid-.service is not started but the system starts so it may be a related issue but I do not see how it could be the cause of the unmount issue.

Offline

#3 2019-10-08 20:35:00

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 321

Re: [Solved] Failed unmounting /home on shutdown

Ok sorry, this is the journalctl output:

ott 08 22:21:22 archthink umount[204012]: umount: /tmp: target is busy.
ott 08 22:21:22 archthink umount[204011]: umount: /home: target is busy.
ott 08 22:21:22 archthink systemd[1]: home.mount: Mount process exited, code=exited, status=32/n/a
ott 08 22:21:22 archthink systemd[1]: Failed unmounting /home.
ott 08 22:21:22 archthink systemd[1]: tmp.mount: Mount process exited, code=exited, status=32/n/a
ott 08 22:21:22 archthink systemd[1]: Failed unmounting Temporary Directory (/tmp).
ott 08 22:21:22 archthink systemd[1]: home.automount: Succeeded.
ott 08 22:21:22 archthink systemd[1]: Unset automount home.automount.
ott 08 22:21:22 archthink systemd[1]: Stopped target Swap.
ott 08 22:21:22 archthink systemd[1]: Deactivating swap /dev/disk/by-id/ata-WDC_WD10JPVX-08JC3T2_WD-WXJ1A6372881-part4...
ott 08 22:21:22 archthink systemd[1]: systemd-fsck@dev-disk-by\x2dpartuuid-7ac9ec1b\x2d62be\x2d499e\x2d85fa\x2d4d3d6db65a07.service: Succeeded.
ott 08 22:21:22 archthink systemd[1]: Stopped File System Check on /dev/disk/by-partuuid/7ac9ec1b-62be-499e-85fa-4d3d6db65a07. 

Offline

#4 2019-10-08 22:38:35

loqs
Member
Registered: 2014-03-06
Posts: 9,074

Re: [Solved] Failed unmounting /home on shutdown

As you are already working through the issue on reddit I will leave that community to resolve it to avoid duplicated effort.
Edit:
diagnostics that may prove useful to those assisting you

systemctl cat systemd-fsck@dev-disk-by\x2dpartuuid-.service #to show the service contents and how it was generated
journalctl -b #the excerpt you posted does not show the ordering of the failed shutdown relative to the rest of the shutdown process or from the start of the journal if the filesystems were mounted cleanly meaning previously they were unmounted correctly at a later point in the shutdown process

Last edited by loqs (2019-10-08 23:50:29)

Offline

#5 2019-10-14 17:40:01

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 321

Re: [Solved] Failed unmounting /home on shutdown

Hi, I fixed the unmounting issue on shutdown by disabling resilio sync service, since I didn't use it anymore and it wasn't updated. Maybe this service took the home and tmp in someway directory busied.

Offline

Board footer

Powered by FluxBB