NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
JosephAE
Aug 29, 2012Aspirant
Cron.daily Spinning Up Disks
My disks are spinning up after sleeping even though no one was accessing my ReadyNAS Pro. Looking at the log files I came across the following. C:\System_log-nas-AB-12-34-20120829-094628\cron.l...
JosephAE
Aug 30, 2012Aspirant
To find which process was waking my disks I was thinking about adding a file between each of the files in the “cron.daily” directory. Each new file would have the same commands but the file names would be such that they would be executed following each of the existing files in the “cron.daily” directory.
The contents of this new file would have the following command:
This would tell be whether the drive was sleeping or spinning prior to and after each process in the “cron.daily” directory.
The problem I still have is how to send this information out to one of the many log file on the ReadyNAS.
How would you send the results of “smartctl” to a log file so that it could be reviewed later?
Again thanks for your help.
Edit: Could the “logger” command somehow be used with "smartctl"?
The contents of this new file would have the following command:
smartctl -i -n standby /dev/sda
This would tell be whether the drive was sleeping or spinning prior to and after each process in the “cron.daily” directory.
The problem I still have is how to send this information out to one of the many log file on the ReadyNAS.
How would you send the results of “smartctl” to a log file so that it could be reviewed later?
Again thanks for your help.
Edit: Could the “logger” command somehow be used with "smartctl"?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!