HDD always spinning up at same time each day
-
- Starting out
- Posts: 24
- Joined: Wed Aug 03, 2016 2:52 am
HDD always spinning up at same time each day
I've bought a HS-251+ chiefly because of its fanless design. Unfortunately, I'm having trouble getting the two WD Red drives to remain in standby when I'm not using the NAS.
Even when disabling every possible app and service or disconnecting the LAN cable altogether, the NAS still spins up the two drives. Since this always seems to happen at around the same time every day and it follows a pattern, I'm guessing that there's still some kind of service running which I've yet to find.
I've attached the hdd standby log and a log dump.
Maybe someone can point me in the right direction? Would love to have the drives remain in standby all day or at least postpone the regular wake-ups into the night time.
Even when disabling every possible app and service or disconnecting the LAN cable altogether, the NAS still spins up the two drives. Since this always seems to happen at around the same time every day and it follows a pattern, I'm guessing that there's still some kind of service running which I've yet to find.
I've attached the hdd standby log and a log dump.
Maybe someone can point me in the right direction? Would love to have the drives remain in standby all day or at least postpone the regular wake-ups into the night time.
You do not have the required permissions to view the files attached to this post.
- Don
- Guru
- Posts: 12289
- Joined: Thu Jan 03, 2008 4:56 am
- Location: Long Island, New York
Re: HDD always spinning up at same time each day
Probably a scheduled task. Check your chrontab.
Use the forum search feature before posting.
Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.
NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.
NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
-
- Starting out
- Posts: 24
- Joined: Wed Aug 03, 2016 2:52 am
Re: HDD always spinning up at same time each day
Thanks for the quick response.
Might be a stupid question: But how do I get at the cbrontab file? Do I have to ssh onto the device or is there a way to go through the web interface?
Might be a stupid question: But how do I get at the cbrontab file? Do I have to ssh onto the device or is there a way to go through the web interface?
- Don
- Guru
- Posts: 12289
- Joined: Thu Jan 03, 2008 4:56 am
- Location: Long Island, New York
Re: HDD always spinning up at same time each day
Need to use ssh.
Use the forum search feature before posting.
Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.
NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.
NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
-
- Starting out
- Posts: 24
- Joined: Wed Aug 03, 2016 2:52 am
Re: HDD always spinning up at same time each day
Here's how the crontab looks like on my HS-251+
Code: Select all
# m h dom m dow cmd
0 2 * * * /sbin/qfstrim
0 3 * * 0 /etc/init.d/idmap.sh dump
0 4 * * * /sbin/hwclock -s
0 3 * * * /sbin/vs_refresh
0 3 * * * /sbin/clean_reset_pwd
0-59/15 * * * * /etc/init.d/nss2_dusg.sh
30 7 * * * /sbin/clean_upload_file
30 3 * * * /sbin/notice_log_tool -v -R
10 15 * * * /usr/bin/power_clean -c 2>/dev/null
*/10 * * * * /sbin/config_cache_util 0
0 9,21 * * * /sbin/notify_update -m -s -p 1>/dev/null 2>&1
* * * * * /var/cache/netmgr/lock_timer.sh
* * * * * /var/cache/netmgr/detect_defaultgw_internet.sh
4 3 * * 3 /etc/init.d/backup_conf.sh
53 21 * * * /mnt/ext/opt/QcloudSSLCertificate/bin/ssl_agent_cli
~
~
~
~
~
~
crontab [100%] 16,01
"crontab" 16L, 627C
-
- Guru
- Posts: 13190
- Joined: Sat Dec 29, 2007 1:39 am
- Location: Stockholm, Sweden (UTC+01:00)
Re: HDD always spinning up at same time each day
And what time of day is it that you have a problem with?
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
-
- Starting out
- Posts: 24
- Joined: Wed Aug 03, 2016 2:52 am
Re: HDD always spinning up at same time each day
I've noticed that the hard drives are always running around 20:00 (8pm) and 21:00 (9pm).
In general, I'd prefer to have the HDDs remain in standby (=silent) mode as long as possible. Scheduled task which must absolutely be running should do so at night or early morning if that is possible.
---------
Just so that I learn something from looking at those entries of the crontab:
For example, the line given above would run "backup_conf.sh" every Wednesday at 4:30 in the morning, right?
But how about syntax like this those?
In general, I'd prefer to have the HDDs remain in standby (=silent) mode as long as possible. Scheduled task which must absolutely be running should do so at night or early morning if that is possible.
---------
Just so that I learn something from looking at those entries of the crontab:
Code: Select all
4 3 * * 3 /etc/init.d/backup_conf.sh
But how about syntax like this those?
Code: Select all
* * * * * /var/cache/netmgr/lock_timer.sh
- OneCD
- Guru
- Posts: 12039
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: HDD always spinning up at same time each day
Nope, it's minutes then hours.TOMillr wrote:For example, the line given above would run "backup_conf.sh" every Wednesday at 4:30 in the morning, right?Code: Select all
4 3 * * 3 /etc/init.d/backup_conf.sh
The first line in your crontab (which is commented-out) lets you know what each column means:
Code: Select all
# m h dom m dow cmd
- minutes (0-59),
hours (0-23),
day number of the month (1-31),
month (1-12),
day number of the week (0-6),
the command to run.
That means "run the lock_timer.sh script every minute".TOMillr wrote:But how about syntax like this those?Code: Select all
* * * * * /var/cache/netmgr/lock_timer.sh
-
- Guru
- Posts: 13190
- Joined: Sat Dec 29, 2007 1:39 am
- Location: Stockholm, Sweden (UTC+01:00)
Re: HDD always spinning up at same time each day
Maybe you have some client computers, TVs or media players powered on at that time that go check the server regularly?TOMillr wrote:I've noticed that the hard drives are always running around 20:00 (8pm) and 21:00 (9pm).
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
-
- New here
- Posts: 2
- Joined: Sun May 28, 2017 10:16 pm
Re: HDD always spinning up at same time each day
I have the same issue with you
My NAS is spinning up at the same time (00minute of) every hour with the latest 4.3.3. Firmware, I do not change any setting since 4.2.0, it just happened...
In fact I did report the not spin down issue with the last version 4.3.2, it's finally got fix but now... issue again and again
My NAS is spinning up at the same time (00minute of) every hour with the latest 4.3.3. Firmware, I do not change any setting since 4.2.0, it just happened...
In fact I did report the not spin down issue with the last version 4.3.2, it's finally got fix but now... issue again and again
-
- Starting out
- Posts: 24
- Joined: Wed Aug 03, 2016 2:52 am
Re: HDD always spinning up at same time each day
I've already excluded that possibility since this still happens when I have the LAN cable disconnected.P3R wrote:Maybe you have some client computers, TVs or media players powered on at that time that go check the server regularly?
The NAS isn't connected to my router at the moment, yet the HDD woke up at around 8pm right on schedule. So whatever is triggering this behavior, must come from within the device and not the network.
-
- Guru
- Posts: 13190
- Joined: Sat Dec 29, 2007 1:39 am
- Location: Stockholm, Sweden (UTC+01:00)
Re: HDD always spinning up at same time each day
Having the LAN cable disconnected is a problem in itself as that may lead to that something need to be written to the system log, which in turn will wake the disks up.TOMillr wrote:I've already excluded that possibility since this still happens when I have the LAN cable disconnected.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.
All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
-
- Starting out
- Posts: 24
- Joined: Wed Aug 03, 2016 2:52 am
Re: HDD always spinning up at same time each day
I'm aware that the system wakes up when I disconnect the lan cable. But the hdd goes into standby mode again 10 minutes later and stays that way until around 8pm.
EDIT: Just was able to watch is again in person. The NAS has been disconnected from the router since yesterday and the HDD have been in standby the whole time.
At around 8:02pm the HDDs just woke up and went back to sleep at around 8:17pm. The NAS is configured to put the HDDs into standby after 10 minutes. So some process is waking the drives and keeps them active for about 5 minutes.
This than repeats at around 8:32 and 9:52. After that the drives remain silent until the next evening.
I just can't figure this out... there can't be an external trigger waking the HDDs because the lan cable hasn't been connected. Yet, as far as I can tell by looking at it, the crontab doesn't list any entry that would point to a task running at precisely that time every single day.
EDIT: Just was able to watch is again in person. The NAS has been disconnected from the router since yesterday and the HDD have been in standby the whole time.
At around 8:02pm the HDDs just woke up and went back to sleep at around 8:17pm. The NAS is configured to put the HDDs into standby after 10 minutes. So some process is waking the drives and keeps them active for about 5 minutes.
This than repeats at around 8:32 and 9:52. After that the drives remain silent until the next evening.
I just can't figure this out... there can't be an external trigger waking the HDDs because the lan cable hasn't been connected. Yet, as far as I can tell by looking at it, the crontab doesn't list any entry that would point to a task running at precisely that time every single day.
-
- Starting out
- Posts: 24
- Joined: Wed Aug 03, 2016 2:52 am
Re: HDD always spinning up at same time each day
This happens every evening. I can set my clocks to it. :-/
- OneCD
- Guru
- Posts: 12039
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: HDD always spinning up at same time each day
Have to ask: have you confirmed the NAS time is correct?