thatnovaguy Posted July 9, 2023 Share Posted July 9, 2023 (edited) I'm running into an issue where /mnt/cache can't be unmounted during array stop. When poking around with losetup I found that /dev/loop1 is hanging. root@HTPC:/# lsof /dev/loop1 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sh 5078 root cwd DIR 0,25 100 98 /usr/local/emhttp sh 5080 root cwd DIR 0,25 100 98 /usr/local/emhttp inotifywa 5081 root cwd DIR 0,25 100 98 /usr/local/emhttp sleep 6891 root cwd DIR 0,25 100 98 /usr/local/emhttp sleep 8080 root cwd DIR 0,25 100 98 /usr/local/emhttp notify_po 8828 root cwd DIR 0,25 100 98 /usr/local/emhttp session_c 8830 root cwd DIR 0,25 100 98 /usr/local/emhttp system_te 8832 root cwd DIR 0,25 100 98 /usr/local/emhttp device_li 9114 root cwd DIR 0,25 100 98 /usr/local/emhttp disk_load 9116 root cwd DIR 0,25 100 98 /usr/local/emhttp parity_li 9118 root cwd DIR 0,25 100 98 /usr/local/emhttp php-fpm 13024 root cwd DIR 0,25 100 98 /usr/local/emhttp php-fpm 14051 root cwd DIR 0,25 100 98 /usr/local/emhttp php-fpm 15734 root cwd DIR 0,25 100 98 /usr/local/emhttp php-fpm 17750 root cwd DIR 0,25 100 98 /usr/local/emhttp autofan 20735 root cwd DIR 0,25 100 98 /usr/local/emhttp ttyd 26217 root cwd DIR 0,25 100 98 /usr/local/emhttp Just guessing by the "autofan" in the list I'm assuming this is happening because of plugins. Is this a known bug since 6.12.2? EDIT: umount -l /dev/loop1 doesn't work either root@HTPC:/# umount -l /dev/loop1 umount: /dev/loop1: umount failed: Invalid argument. Edited July 9, 2023 by thatnovaguy Quote Link to comment
ljm42 Posted July 10, 2023 Share Posted July 10, 2023 Please see if this applies: https://forums.unraid.net/topic/141479-6122-array-stop-stuck-on-retry-unmounting-disk-shares/#comment-1281063 1 Quote Link to comment
Solution thatnovaguy Posted July 10, 2023 Author Solution Share Posted July 10, 2023 14 hours ago, ljm42 said: Please see if this applies: https://forums.unraid.net/topic/141479-6122-array-stop-stuck-on-retry-unmounting-disk-shares/#comment-1281063 Thank you I'll keep an eye on it. I wasn't able to use umount the last time it happened, though. Quote Link to comment
ljm42 Posted July 10, 2023 Share Posted July 10, 2023 When you run losetup, does /dev/loop1 point to /boot/bzfirmware? If so, that does *not* need to be unmounted to stop the array (and it shouldn't be). Same with /boot/bzmodules. The one loopback that does need to be unmounted is docker.img Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.