I just started having this problem not to long ago, usually I'd just restart and things would be fine for a while. So tonight I got bored and started looking into what was going on.... I'll try to be thorough here...
I tried create a shared folder named "Test" and get this error.
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl restart 'sharedfolders-Containers.mount' 2>&1' with exit code '1': Job for sharedfolders-Containers.mount failed. See "systemctl status sharedfolders-Containers.mount" and "journalctl -xe" for details.
output of systemctl status sharedfolders-Containers.mount
root@openmediavault:~# systemctl status sharedfolders-Containers.mount
● sharedfolders-Containers.mount - Mount shared folder Containers to /sharedfolders/Containers
Loaded: loaded (/etc/systemd/system/sharedfolders-Containers.mount; enabled; vendor preset: enabled)
Active: active (mounted) (Result: exit-code) since Mon 2019-03-18 04:01:28 EDT; 2min 41s ago
Where: /sharedfolders/Containers
What: /dev/sda1
Process: 18101 ExecUnmount=/bin/umount /sharedfolders/Containers (code=exited, status=32)
Tasks: 0 (limit: 4915)
Memory: 128.0K
CPU: 3ms
CGroup: /system.slice/sharedfolders-Containers.mount
Mar 18 04:00:01 openmediavault systemd[1]: Unmounted Mount shared folder Containers to /sharedfolders/Containers.
Mar 18 04:00:01 openmediavault systemd[1]: sharedfolders-Containers.mount: Unit entered failed state.
Mar 18 04:00:01 openmediavault systemd[1]: Mounting Mount shared folder Containers to /sharedfolders/Containers...
Mar 18 04:00:01 openmediavault systemd[1]: Mounted Mount shared folder Containers to /sharedfolders/Containers.
Mar 18 04:01:28 openmediavault systemd[1]: Unmounting Mount shared folder Containers to /sharedfolders/Containers...
Mar 18 04:01:28 openmediavault systemd[1]: sharedfolders-Containers.mount: Mount process exited, code=exited status=32
Mar 18 04:01:28 openmediavault systemd[1]: Failed unmounting Mount shared folder Containers to /sharedfolders/Containers.
root@openmediavault:~#
Alles anzeigen
Output of journalctl -xe (if it helps any, line 149 in the below is in red, wasn't sure how to format in the code box)
root@openmediavault:/var/log# journalctl -xe
-- Logs begin at Mon 2019-03-18 04:27:57 EDT, end at Mon 2019-03-18 04:27:57 EDT. --
Mar 18 04:27:57 openmediavault systemd-journald[287]: Runtime journal (/run/log/journal/446094e8a60f4ee4aec23060b0d4d935) is 8.0M, max
76.7M, 68.7M free.
-- Subject: Disk space used by the journal
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Runtime journal (/run/log/journal/446094e8a60f4ee4aec23060b0d4d935) is currently using 8.0M.
-- Maximum allowed usage is set to 76.7M.
-- Leaving at least 115.0M free (of currently available 756.7M of disk space).
-- Enforced usage limit is thus 76.7M, of which 68.7M are still available.
--
-- The limits controlling how much disk space is used by the journal may
-- be configured with SystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=,
-- RuntimeMaxUse=, RuntimeKeepFree=, RuntimeMaxFileSize= settings in
-- /etc/systemd/journald.conf. See journald.conf(5) for details.
root@openmediavault:/var/log# journalctl -xe
-- Logs begin at Mon 2019-03-18 04:27:57 EDT, end at Mon 2019-03-18 04:28:59 EDT. --
Mar 18 04:27:57 openmediavault systemd-journald[287]: Runtime journal (/run/log/journal/446094e8a60f4ee4aec23060b0d4d935) is 8.0M, max
76.7M, 68.7M free.
-- Subject: Disk space used by the journal
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Runtime journal (/run/log/journal/446094e8a60f4ee4aec23060b0d4d935) is currently using 8.0M.
-- Maximum allowed usage is set to 76.7M.
-- Leaving at least 115.0M free (of currently available 756.7M of disk space).
-- Enforced usage limit is thus 76.7M, of which 68.7M are still available.
--
-- The limits controlling how much disk space is used by the journal may
-- be configured with SystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=,
-- RuntimeMaxUse=, RuntimeKeepFree=, RuntimeMaxFileSize= settings in
-- /etc/systemd/journald.conf. See journald.conf(5) for details.
Mar 18 04:28:58 openmediavault systemd[1]: Reloading.
Mar 18 04:28:59 openmediavault systemd[1]: apt-daily.timer: Adding 3h 53min 16.857255s random time.
Mar 18 04:28:59 openmediavault systemd[1]: apt-daily-upgrade.timer: Adding 11min 47.925937s random time.
Mar 18 04:28:59 openmediavault systemd[1]: anacron.timer: Adding 48.109648s random time.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounting Mount shared folder Disk_1 to /sharedfolders/Disk_1...
-- Subject: Unit sharedfolders-Disk_1.mount has begun shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Disk_1.mount has begun shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounted Mount shared folder Disk_1 to /sharedfolders/Disk_1.
-- Subject: Unit sharedfolders-Disk_1.mount has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Disk_1.mount has finished shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: Mounting Mount shared folder Disk_1 to /sharedfolders/Disk_1...
-- Subject: Unit sharedfolders-Disk_1.mount has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Disk_1.mount has begun starting up.
Mar 18 04:28:59 openmediavault systemd[1]: Mounted Mount shared folder Disk_1 to /sharedfolders/Disk_1.
-- Subject: Unit sharedfolders-Disk_1.mount has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Disk_1.mount has finished starting up.
--
-- The start-up result is done.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounting Mount shared folder AppConfig to /sharedfolders/AppConfig...
-- Subject: Unit sharedfolders-AppConfig.mount has begun shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-AppConfig.mount has begun shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounted Mount shared folder AppConfig to /sharedfolders/AppConfig.
-- Subject: Unit sharedfolders-AppConfig.mount has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-AppConfig.mount has finished shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: Mounting Mount shared folder AppConfig to /sharedfolders/AppConfig...
-- Subject: Unit sharedfolders-AppConfig.mount has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-AppConfig.mount has begun starting up.
Mar 18 04:28:59 openmediavault systemd[1]: Mounted Mount shared folder AppConfig to /sharedfolders/AppConfig.
-- Subject: Unit sharedfolders-AppConfig.mount has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-AppConfig.mount has finished starting up.
--
-- The start-up result is done.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounting Mount shared folder Torrents to /sharedfolders/Torrents...
-- Subject: Unit sharedfolders-Torrents.mount has begun shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Torrents.mount has begun shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounted Mount shared folder Torrents to /sharedfolders/Torrents.
-- Subject: Unit sharedfolders-Torrents.mount has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Torrents.mount has finished shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: Mounting Mount shared folder Torrents to /sharedfolders/Torrents...
-- Subject: Unit sharedfolders-Torrents.mount has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Torrents.mount has begun starting up.
Mar 18 04:28:59 openmediavault systemd[1]: Mounted Mount shared folder Torrents to /sharedfolders/Torrents.
-- Subject: Unit sharedfolders-Torrents.mount has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Torrents.mount has finished starting up.
--
-- The start-up result is done.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounting Mount shared folder Disk_2 to /sharedfolders/Disk_2...
-- Subject: Unit sharedfolders-Disk_2.mount has begun shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Disk_2.mount has begun shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounted Mount shared folder Disk_2 to /sharedfolders/Disk_2.
-- Subject: Unit sharedfolders-Disk_2.mount has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Disk_2.mount has finished shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: Mounting Mount shared folder Disk_2 to /sharedfolders/Disk_2...
-- Subject: Unit sharedfolders-Disk_2.mount has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Disk_2.mount has begun starting up.
Mar 18 04:28:59 openmediavault systemd[1]: Mounted Mount shared folder Disk_2 to /sharedfolders/Disk_2.
-- Subject: Unit sharedfolders-Disk_2.mount has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Disk_2.mount has finished starting up.
--
-- The start-up result is done.
Mar 18 04:28:59 openmediavault systemd[1]: Unmounting Mount shared folder Containers to /sharedfolders/Containers...
-- Subject: Unit sharedfolders-Containers.mount has begun shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Containers.mount has begun shutting down.
Mar 18 04:28:59 openmediavault systemd[1]: sharedfolders-Containers.mount: Mount process exited, code=exited status=32
Mar 18 04:28:59 openmediavault systemd[1]: Failed unmounting Mount shared folder Containers to /sharedfolders/Containers.
-- Subject: Unit sharedfolders-Containers.mount has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Containers.mount has finished shutting down.
root@openmediavault:/var/log#
Alles anzeigen
Obviously "Containers" is where I store my docker containers on one of my storage drives. I go to a command prompt and stop all my docker services w/o error...
root@openmediavault:~# docker stop $(docker ps -aq)
4808601e5a7d
3c5dff193708
d538cc6f006d
691c78216a17
5d0ebf29b72a
1ad87afdcd37
bc2a07cdacde
root@openmediavault:~#
I can then create/delete folders under the shared folders section w/o issue. In this case, I just created a folder called 'Test' and then restarted all docker services w/o error (same as above, just everything is starting instead).
Now I try to delete 'Test', and I get the exact same errors... I stop all docker services, and can delete the share, add a new share, etc. Then I restart docker from the command line.
I don't think I've set up anything wrong, and I never noticed this problem before... so I'm not really sure what is going on here.