Frequent HD spin down/up

Just started testing NextCloudPi (latest) running on an ODroid HC2 with a WD Red hard disk. I am loving NCP so far, but I’ve noticed the drive spins down and spins up quite regularly even when no one is accessing it. So I’m wondering:

  1. Is this potentially bad for the drive? Anecdotally I’ve seen suggestions it could reduce the drive’s lifetime.
  2. Would you recommend either A) keeping the disk spinning 24/7, or B) disabling whatever event (cron job?) is causing the spin ups?

If anyone has recommendations on approach A or B I’d appreciate it!

The cronjobs can be the culprit. You can adapt them to your personal needs (every hour during the day and less frequent at night).

I didn’t see anything in the crontab that should cause the drive to spin up (or down). So I’m not sure what the culprit was, but I decided I would rather keep the drive spinning. Putting this in the crontab seemed to do the trick:

* * * * * root /bin/touch /dev/sda &>/dev/null