Page 1 of 2
Scheduled Auto Shutdown a graceful one?
Posted: 22 Feb 2025, 20:12
by rfbjr
I ask because I have both (F2-223/F4-223) auto shutdown on Fri/Sat/Sun nights and start back up early the next day. Once they power back up I can hear/see the disk activity for ~2hrs (less on F2). The GUI shows no sync/check active when looking at Volume/Storage Pool. I ran the capture logs but stupid GMAIL won't let me send it. I'll deal with that later. Does this sound (no pun) normal?
Thanks
Re: Scheduled Auto Shutdown a graceful one?
Posted: 22 Feb 2025, 22:32
by Gremlin
It's alot more graceful than pulling the power plug or hitting the power button

If you attach a monitor you can see the raid assembly/check for md8 and md9 (basically the o/s) early in the boot process but it can spin by very quickly.
Re: Scheduled Auto Shutdown a graceful one?
Posted: 23 Feb 2025, 04:59
by rfbjr
Found this: Feb 22 04:32:39 Forge kernel: [ 68.285990] FAT-fs (sde1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
But sde1 is my attached USB drive.
Still looking at the logs
Re: Scheduled Auto Shutdown a graceful one?
Posted: 23 Feb 2025, 05:07
by rfbjr
Oh yeah, tonight I will just shutdown the system from the GUI a few minutes before the scheduled shutdown and see tomorrow morning if the startup and disk activity is different. Got to rule out something.
Re: Scheduled Auto Shutdown a graceful one?
Posted: 23 Feb 2025, 19:49
by rfbjr
Well shutting down the NAS via phone app, no difference. When auto-power on happens, two hours of disk activity. Next test will be shutdown via web gui and last test via ssh.
I'm guessing the answer will be don't shutdown the NAS.
Re: Scheduled Auto Shutdown a graceful one?
Posted: 23 Feb 2025, 22:28
by Gremlin
Is your issue just related to attached USB drive? Is this being used for USB Copy? or something else? USB Copy allows usb driive to be disconnected/reconnected after/before a scheduled copy.
Re: Scheduled Auto Shutdown a graceful one?
Posted: 24 Feb 2025, 06:00
by rfbjr
Well that will be one of my tests. Right now autoshutdown, mobile app shutdown and web gui shutdown all seem to generate some sort of raid activity on power up. Current test now is ssh doing a shutdown -h 0
I will try disconnecting the USB drive and give that a shot.
Re: Scheduled Auto Shutdown a graceful one?
Posted: 24 Feb 2025, 21:44
by rfbjr
Ok final test was disconnecting the external USB drive. Scheduled a shutdown, then 15min later power up.
Still ~2 hours of disk activity. Something is wrong. Either the service file/init scripts are not stopping everything in the correct order or something else is wrong. Also why isn't there any indication of what's going on during the RAID activity? Is there a specific log to look, the logs accessible via the GUI aren't helpful.
TerraMaster: Is there an FTP site to upload files for tech support? Since gmail is being a pain (probably rightfully so) about security.
Re: Scheduled Auto Shutdown a graceful one?
Posted: 24 Feb 2025, 22:04
by Gremlin
rfbjr wrote: ↑24 Feb 2025, 21:44
Have you tried uploading your logs to 'Google Drive" (or similar), making them shareable and providing shared link to TM support so they can access them. That was the preferred route for large log files previously. (Yes, Gmail can be a pain but it can be overcome and then is usually size of attachments that can defeat users attempts.)
Re: Scheduled Auto Shutdown a graceful one?
Posted: 24 Feb 2025, 22:43
by rfbjr
Gremlin wrote: ↑24 Feb 2025, 22:04
rfbjr wrote: ↑24 Feb 2025, 21:44
Have you tried uploading your logs to 'Google Drive" (or similar), making them shareable and providing shared link to TM support so they can access them. That was the preferred route for large log files previously. (Yes, Gmail can be a pain but it can be overcome and then is usually size of attachments that can defeat users attempts.)
Oh yeah, duh. Will do. I have OneDrive, same idea though.