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...
carpii
Sep 03, 2012Tutor
JosephAE wrote:
How would you send the results of “smartctl” to a log file so that it could be reviewed later?
Create a file somewhere, and then set it to executable (chmod 755 <filename>)
Then in cron.daily create a symlink to your file
#!/bin/sh
smartctl smartctl -i -n standby /dev/sda >> /var/log/smartctl.log
But I dont think this is worthwhile.
I imagine as soon as you try writing to a log file, its going to spin the disks up anyway, so the log will contain nothing useful.
Have you thought of just using Frontview to schedule your NAS to shut down each night?
If you dont want the disks spinning at night, then it cant be doing much useful anyway
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!