wintermute000
Explorer
- Joined
- Aug 8, 2014
- Messages
- 83
After playing around with Freenas, I've come to the conclusion that I would like to spindown in evening only i.e. when people are also asleep. So I thought I'd just put a script in cron to kick the drives into spindown say midnight or something like that. I don't think spinning down once a day is going to reduce the life too much (as opposed to setting a timer, and having it do it a many times a day).
However I realise I can do it via ataidle or smartctl. Is there any difference or recommendation?
ataidle -o /dev/adaX at midnight,
ataidle -i /dev/adaX at 8AM
vs
smartctl --set=standby,now /dev/adaX at midnight,
smartctl --set=standby,off /dev/adaX at 8AM
All my drives are via onboard SATA. Note my system dataset is on separate ssd.
Also another n00b question, these commands will force the drive to sleep but will NOT set a standby timer correct? i.e. any activity will wake it and leave it woken even if I don't run a wakeup script.
Finally, another possibly stupid question - the act itself of setting standby commands / APM levels does not damage drives right? like for example writing to some kind of flash memory that has limited cycles lol
Freenas 9.2.1.7
Asrock C2550D4I, 6xHGST 4Gb NAS drives in RAIDZ2, 2xSandisk SSDs (1 scratch/jail, 1 iSCSI zvol), 16Gb ECC RAM
However I realise I can do it via ataidle or smartctl. Is there any difference or recommendation?
ataidle -o /dev/adaX at midnight,
ataidle -i /dev/adaX at 8AM
vs
smartctl --set=standby,now /dev/adaX at midnight,
smartctl --set=standby,off /dev/adaX at 8AM
All my drives are via onboard SATA. Note my system dataset is on separate ssd.
Also another n00b question, these commands will force the drive to sleep but will NOT set a standby timer correct? i.e. any activity will wake it and leave it woken even if I don't run a wakeup script.
Finally, another possibly stupid question - the act itself of setting standby commands / APM levels does not damage drives right? like for example writing to some kind of flash memory that has limited cycles lol
Freenas 9.2.1.7
Asrock C2550D4I, 6xHGST 4Gb NAS drives in RAIDZ2, 2xSandisk SSDs (1 scratch/jail, 1 iSCSI zvol), 16Gb ECC RAM
Last edited: