August 26, 20169 yr ACPI shutdown is taking longer than anticipated... tailing into /var/log/syslog shows: Aug 26 15:25:45 unraid2 emhttp: Unmounting disks... Aug 26 15:25:45 unraid2 emhttp: shcmd (2594): umount /mnt/disk1 |& logger Aug 26 15:25:45 unraid2 root: umount: /mnt/disk1: mountpoint not found Aug 26 15:25:45 unraid2 emhttp: shcmd (2595): rmdir /mnt/disk1 |& logger Aug 26 15:25:45 unraid2 root: rmdir: failed to remove '/mnt/disk1': No such file or directory Aug 26 15:25:45 unraid2 emhttp: shcmd (2596): umount /mnt/disk2 |& logger Aug 26 15:25:45 unraid2 root: umount: /mnt/disk2: mountpoint not found Aug 26 15:25:45 unraid2 emhttp: shcmd (2597): rmdir /mnt/disk2 |& logger Aug 26 15:25:45 unraid2 root: rmdir: failed to remove '/mnt/disk2': No such file or directory Aug 26 15:25:45 unraid2 emhttp: shcmd (2598): umount /mnt/disk3 |& logger Aug 26 15:25:45 unraid2 root: umount: /mnt/disk3: mountpoint not found Aug 26 15:25:45 unraid2 emhttp: shcmd (2599): rmdir /mnt/disk3 |& logger Aug 26 15:25:45 unraid2 root: rmdir: failed to remove '/mnt/disk3': No such file or directory Aug 26 15:25:45 unraid2 emhttp: shcmd (2600): umount /mnt/disk4 |& logger Aug 26 15:25:45 unraid2 root: umount: /mnt/disk4: mountpoint not found Aug 26 15:25:45 unraid2 emhttp: shcmd (2601): rmdir /mnt/disk4 |& logger Aug 26 15:25:45 unraid2 root: rmdir: failed to remove '/mnt/disk4': No such file or directory Aug 26 15:25:45 unraid2 emhttp: shcmd (2602): umount /mnt/disk5 |& logger Aug 26 15:25:45 unraid2 root: umount: /mnt/disk5: mountpoint not found Aug 26 15:25:45 unraid2 emhttp: shcmd (2603): rmdir /mnt/disk5 |& logger Aug 26 15:25:45 unraid2 root: rmdir: failed to remove '/mnt/disk5': No such file or directory Aug 26 15:25:45 unraid2 emhttp: shcmd (2604): umount /mnt/disk6 |& logger Aug 26 15:25:45 unraid2 root: umount: /mnt/disk6: mountpoint not found Aug 26 15:25:45 unraid2 emhttp: shcmd (2605): rmdir /mnt/disk6 |& logger Aug 26 15:25:45 unraid2 root: rmdir: failed to remove '/mnt/disk6': No such file or directory Aug 26 15:25:45 unraid2 emhttp: shcmd (2606): umount /mnt/cache |& logger Aug 26 15:25:45 unraid2 root: umount: /mnt/cache: target is busy Aug 26 15:25:45 unraid2 root: (In some cases useful info about processes that Aug 26 15:25:45 unraid2 root: use the device is found by lsof( or fuser(1).) Aug 26 15:25:45 unraid2 emhttp: Retry unmounting disk share(s)...
August 26, 20169 yr Author Alright so stopping the array is spamming the above message in syslog... Over and over and over again...
August 26, 20169 yr Author It eventually shuts down, just takes a *really* long time and my UPS won't hold the charge for that long. ~ 5-8 minutes to shut down. Array of total 10 drives: 2 parity 6 storage 2 SSDs for Cache.
August 27, 20169 yr Community Expert It eventually shuts down, just takes a *really* long time and my UPS won't hold the charge for that long. ~ 5-8 minutes to shut down. Array of total 10 drives: 2 parity 6 storage 2 SSDs for Cache. There is an advanced powerdown plugin that can handle many situations such as you are experiencing. You can find it here: https://lime-technology.com/forum/index.php?topic=31735.0 Just be sure you read the entire first post in the thread so you get the right plugin for version 6.
August 27, 20169 yr ...so you get the right plugin for version 6. Just install it via CA and you don't need to worry about it.
August 27, 20169 yr Author It eventually shuts down, just takes a *really* long time and my UPS won't hold the charge for that long. ~ 5-8 minutes to shut down. Array of total 10 drives: 2 parity 6 storage 2 SSDs for Cache. There is an advanced powerdown plugin that can handle many situations such as you are experiencing. You can find it here: https://lime-technology.com/forum/index.php?topic=31735.0 Just be sure you read the entire first post in the thread so you get the right plugin for version 6. Why should we even need a plugin for this? The server shouldn't take more than 30 seconds to shut down...
August 27, 20169 yr Community Expert It eventually shuts down, just takes a *really* long time and my UPS won't hold the charge for that long. ~ 5-8 minutes to shut down. Array of total 10 drives: 2 parity 6 storage 2 SSDs for Cache. There is an advanced powerdown plugin that can handle many situations such as you are experiencing. You can find it here: https://lime-technology.com/forum/index.php?topic=31735.0 Just be sure you read the entire first post in the thread so you get the right plugin for version 6. Why should we even need a plugin for this? The server shouldn't take more than 30 seconds to shut down... Basically, if some plugin or Docker has a file opened for some reason, the array can not be stopped until that process releases the file and the shutdown process is hung up until that happens.
August 28, 20169 yr Author That's very odd. I have to similar setups, one shuts down before the other. And the second server actually does more work... Can we get some debug logging on what is preventing it from the shutdown?
August 28, 20169 yr Community Expert That's very odd. I have to similar setups, one shuts down before the other. And the second server actually does more work... Can we get some debug logging on what is preventing it from the shutdown? As I recall, the powerdown script that I pointed you to actually does write the syslog to the flash drive on all normal shutdowns. That log might provide a clue. (You are actually in a better position then most folks who have shutdown problems as your system does eventually shutdown!)
Archived
This topic is now archived and is closed to further replies.