DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-12-13 17:12:36

Uriens
Member
Registered: 2008-05-17
Posts: 13

ffp 0.5 on USB-Stick with NTPd wakes up first disk every night...

Hi folks,

I'm totally confused and have no idea, why my ntpd from ffp 0.5 wakes up my first hard disk (HD_a2) every night at 01:30am when the cronjob is scheduled to sync the time.
My ffp runs from my USB-Stick and during the normal day without any spin up of the hdd. I don't see any correlation with ntp and the HD_a2.
The process is calles "stime"... may helps.

Any suggestions?

Thanks
Stefan


Attachments:
Attachment Icon Picture1.jpg, Size: 166,077 bytes, Downloads: 124

Offline

 

#2 2010-12-13 17:25:24

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: ffp 0.5 on USB-Stick with NTPd wakes up first disk every night...

You should remove the default stime and rtc entries from crontab. In combination with numerous other steps, here is how I remove the entries

Code:

  echo "Saving default crontab entries to $CRONFILE"
  /bin/crontab -l >$CRONFILE
  echo "Removing timezone related entries"
  sed -i "/daylight/d" $CRONFILE
  sed -i "/rtc/d" $CRONFILE
  sed -i "/stime/d" $CRONFILE
  cat $CRONFILE > $CRONTXT

Last edited by FunFiler (2010-12-13 17:26:59)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#3 2010-12-13 17:28:57

Uriens
Member
Registered: 2008-05-17
Posts: 13

Re: ffp 0.5 on USB-Stick with NTPd wakes up first disk every night...

Thanks for the quick reply!
Yes, this is the way to resolve the spin up each night. But solves not my problem. I want to sync also the time. Do you have an idea for a work-around? Do you have any idea, why the "stime" wakes up the disk even when ffp runs from usb?

Thanks

Offline

 

#4 2010-12-14 00:51:04

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: ffp 0.5 on USB-Stick with NTPd wakes up first disk every night...

If you are running ntp, then you should be using that to update. You should not run daylight, rtc or stime. I assume these wake the unit as they write to a temp directory as I recall.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB