• April 26, 2024, 11:39:01 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Feature request: Scheduled Sleep and Scheduled Wakeup  (Read 6991 times)

vishnumrao

  • Level 2 Member
  • **
  • Posts: 39
Feature request: Scheduled Sleep and Scheduled Wakeup
« on: August 09, 2010, 11:25:58 AM »

This is intended as a feature request:

Can Dlink add a feature to have the DNS-323 go into a scheduled sleep or hibernate or shutdown and then power back up at a scheduled time.

Here is the idea: The NAS goes into a hibernate or sleep mode (not just disks spinning down but a full system sleep) at some time of users choice and then turns back ON at another user set time.

Here is the reason why I ask for this feature (I am sure many other might be in the same situation). My NAS sits in my bedroom. When I have torrents running on the NAS, the disks don't spin down. Thus, when I am sleeping, I can hear the occasional drive read/write happening and the fan running. Currently to avoid this noise, I have to manually turn OFF the NAS at night and then turn ON the NAS in the morning. If the system had a feature where the system goes into sleep, it would turn off the NAS without user intervention.

Hope Dlink implements this feature.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #1 on: August 09, 2010, 11:44:58 AM »

Why not just move the NAS to a place where you won't hear it?  It can be anywhere on the network.  I have some network disks in the basement in a cinder-block enclosure, better protection. :)
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

vishnumrao

  • Level 2 Member
  • **
  • Posts: 39
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #2 on: August 09, 2010, 01:55:25 PM »

Living in a 1 bedroom apartment has its space limitations!

The cable from my internet provider is in my bedroom and my router too sits there. So setting the NAS box next to the router is the easiest option rather than have CAT5 cables being routed all around my apartment.

When I buy a house, I will consider putting in my basement. Thanks!
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #3 on: August 09, 2010, 02:05:40 PM »

Put it in the closet. :D
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

vishnumrao

  • Level 2 Member
  • **
  • Posts: 39
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #4 on: August 09, 2010, 02:17:05 PM »

That won't work either. That will require CAT wires being route to the opposite corner of the room.

I think a software solution is the best solution, hence the feature request.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #5 on: August 09, 2010, 02:23:54 PM »

If you have a pretty new box, you can use a simple lamp timer to turn it off at night and back on in the morning.  The original hardware doesn't support this, but the new hardware does.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

jamieburchell

  • Level 6 Member
  • *
  • Posts: 947
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #6 on: August 09, 2010, 02:57:12 PM »

Is turning a hard drive off mid-write without unmounting the file system a good idea? If you have an iPod/iPhone there's a handy DNS-323 app that let's you turn it off/reset. You would need to turn it on again though. Not sure it really saves any effort. You could probably get the box to shutdown by using cron and FFP but good luck trying to get it to turn on again, and this would require a third party hack. Can you configure the torrents to start and stop at specific times? Or perhaps configure the router to switch off if yours supports that, or switch off the internet between those times. That may cause the NAS to give up downloading and hibernate.
Logged
If your little 323 is not working right,
You've racked your brains and been up all night
Take a deep breath and wipe away the sweat,
Login as web admin and try a factory reset!

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #7 on: August 09, 2010, 03:48:36 PM »

Actually, maybe CRON would work.  You turn the box off with CRON, then later you kill it's power and then start it up again with the timer.  Don't know if that would trigger the power fail recovery, never had the urge to try.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

vishnumrao

  • Level 2 Member
  • **
  • Posts: 39
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #8 on: August 09, 2010, 04:30:49 PM »

Turning OFF the power to a hard drive while its ON and spinning!!! I don't think its a good idea. I work in the HDD industry. I know how bad it is to the drive.

CRON is a good option. Don't have the linux coding skills for that.
Logged

dosborne

  • Level 5 Member
  • *****
  • Posts: 598
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #9 on: August 09, 2010, 09:09:47 PM »

I suspect that there is little demand for this and it will never get implemented.

Turning a device ON requires that it never really turns OFF to begin with as the internal processing still must run for the O/S, timer etc.

What about requesting that the BT torrent have a proper schedule and as such it would be possible to say that between x and y times the BT does not run? This would allow the unit to sleep, powering down the drives. The fan would only run if the temp required it to be on.

This is somewhat possible with the FFP hack, but it would be nice to have it implemented in the legit BT/FW.
Logged
3 x DNS-323 with 2 x 2TB WD Drives each for a total of 12 TB Storage and Backup. Running DLink Firmware v1.08 and Fonz Fun Plug (FFP) v0.5 for improved software support.

vishnumrao

  • Level 2 Member
  • **
  • Posts: 39
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #10 on: August 09, 2010, 11:30:48 PM »

Fully agree with you! Scheduling the BT to halt between specific times is a great idea. BT stops, hdds spindown and all's fine! Still there is idle power draw from the outlets (power draw at idle is not much, but still there is some draw). System sleep still is a good feature I believe.

Transmission 2.03 has the feature to limit download times. One more reason to install fun_plug. I already have, but have not managed to get transmission working. Gotta give it a shot again!
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #11 on: August 10, 2010, 05:24:02 AM »

Maybe you could use CRON to simply pause BT so the NAS would sleep during those hours.  It's not really necessary to power down the NAS, that introduces a number of complications.

A CRON line to kill the BT process and another to start it again should do the trick.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

vishnumrao

  • Level 2 Member
  • **
  • Posts: 39
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #12 on: August 10, 2010, 03:17:13 PM »

@jamieburchell. Thats what I meant. If power is turned off during a write operation, it could cause a bad write or an off track write, damaging data on the track or adjacent tracks.

When a hard drive is spinning and the heads are floating over the disks, the code goes through a planned sequence of events during power down. Consisting of unloading the heads and spinning down the heads. But in the case of power being cut off to the drive, the hardware on the drive, tries to retract the head back to its latch and spindown. But this process is ****e to errors and one could end up with a head sitting on the disk. This can cause a scratch on the disk, next time the drive powers up. This is disastrous because it damages the head totally.

@gunrunnerjohn, Transmission already provides the feature to stop BT downloads at specific times. I guess this is one more reason to install Transmission and fun_plug.

Thanks for all your replies.
« Last Edit: August 10, 2010, 03:34:00 PM by vishnumrao »
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Feature request: Scheduled Sleep and Scheduled Wakeup
« Reply #13 on: August 10, 2010, 03:25:03 PM »

In that case, I'd simply use Transmission. :)
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.