D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: Karrde on October 23, 2008, 05:32:33 PM

Title: Device resumes from standby without a reason
Post by: Karrde on October 23, 2008, 05:32:33 PM
I've had my DNS-323 for a few weeks now, and I'm quite impressed by it besides one annoying problem. I have it set to enter standby mode after 30 minutes of inactivity, which it does, but then it has a habit of resuming randomly for no apparent reason. It's especially noticeable at night when all our computers are off; the device will periodically resume from standby, do a quick seek, then shut down again after the designated 30 minutes. FTP, uPNP, iTunes, DHCP and LLTD are all turned off. Firmware is v1.05, and I'm running with two 500GB drives in RAID1. It can't be a computer on the network requesting information as they're all shut down, and I've turned off as many services as I can on the device itself. Does anyone know what could be causing this?

This is one situation where a log of all requests on the DNS-323 would be very useful in troubleshooting.
Title: Re: Device resumes from standby without a reason
Post by: D-Link Multimedia on October 23, 2008, 06:01:56 PM
Is it only a single harddrive spinning up or both when it does come back online?
Title: Re: Device resumes from standby without a reason
Post by: Karrde on October 23, 2008, 06:24:43 PM
I'll have to actually confirm that, but I believe it starts up both drives.
Title: Re: Device resumes from standby without a reason
Post by: MountainMan on October 23, 2008, 11:32:53 PM
I have a similar, perhaps identical problem.  I have 1.05 and 2 Seagate 1TB drives in RAID 1.  Mine is set for 15 minutes before going to standby but I don't think it ever makes it. Or if it does, its only briefly there.  I guess I should time it and see if it is briefly entering standby like the original poster reports.  I leave the FTP and UPnP servers enabled.

Like he says, all other network devices are off except for my network infrastructure (the NAS, switches, router, cable modem).  So I don't see how it can be a device on the network making a disk read request that wakes it up.

Note that it also seems to access the disks at random times when ALL computers on the network are off.  I'll see the lights blink and hear it access a disk in the middle of the night sometimes.

Maybe these two issues are related?  Maybe the random disk reads are causing it to continuously reset the sleep timer?

One other kinda scary theory - its hackers probing FTP port 21 from the external network and breaking into the NAS!  Yikes.  I wish there was a log so I could check to see if this was true.
Title: Re: Device resumes from standby without a reason
Post by: Sumdumphuc on October 24, 2008, 12:13:57 AM

One other kinda scary theory - its hackers probing FTP port 21 from the external network and breaking into the NAS!  Yikes.  I wish there was a log so I could check to see if this was true.


That should be built into the firmware for sure, might need to edit my wishlist, always good to see who has been where.


I just bought another DNS-323 and I have a feeling it is doing this too, have to wait till I finish setting it up to do a proper check. (I have these Toasters{DNS-323} in a locked PBX room not so easy just to have a look at it)

Same spec though 2x Seagate 1TB in RAID 1 with F\W 1.05
Title: Re: Device resumes from standby without a reason
Post by: fordem on October 24, 2008, 05:09:32 AM
One other kinda scary theory - its hackers probing FTP port 21 from the external network and breaking into the NAS!  Yikes.  I wish there was a log so I could check to see if this was true.

I log external ftp access at the firewall
Title: Re: Device resumes from standby without a reason
Post by: hilaireg on October 24, 2008, 06:31:05 AM
There's no wake-on-lan support in the DNS devices; I would be inclined to look for any scheduled activity (backup, copy, etc.).  Also, is the unit on a UPS or a power bar?

Cheers,
Title: Re: Device resumes from standby without a reason
Post by: ECF on October 24, 2008, 10:55:04 AM
If the UPnP AV media server is enabled try disabling it and see if the issue continues.
Title: Re: Device resumes from standby without a reason
Post by: hilaireg on October 24, 2008, 11:50:19 AM
Hi ECF,

'Karrde' indicated that FTP, uPNP, iTunes, DHCP and LLTD are all turned off.  I suspect it may have to do with a power fluctuation ... hence the inquiry about UPS and/or type of power bar.

Cheers,
Title: Re: Device resumes from standby without a reason
Post by: hilaireg on October 24, 2008, 11:51:42 AM
... I suppose it's possible that it's "haunted"  ;D
Title: Re: Device resumes from standby without a reason
Post by: ECF on October 24, 2008, 01:50:12 PM
Are you using the print server or have you ever or do you have any back software that backs up to this device?
Title: Re: Device resumes from standby without a reason
Post by: Karrde on October 24, 2008, 02:30:09 PM
As I stated before, uPNP is turned off.  There are no backup programs installed on any of my computers, and I have no UPS, just a power bar which seems to be functioning normally (it's a Belkin unit, if that helps).

MountainMan seems to have a similar issue, though my unit seems to go into standby for at least an hour usually before resuming (I haven't timed it yet to see if it's always the same length of time). Like I say, there seems to be no outside influence here, so it must be something in the device itself which makes it resume from standby. When it does resume, it only makes a very short seek, usually about 1 second of noticeable hard drive activity, then waits the set 30 minutes before going back into standby. Very strange...

edit: oh, and no, I'm not using the print server, my printer is hooked up to another computer.
Title: Re: Device resumes from standby without a reason
Post by: fordem on October 24, 2008, 06:05:27 PM
There's a very simple way to determine if it's an external cause - unplug the ethernet cable from the dns-323 - if it stays in standby, the problem is external.
Title: Re: Device resumes from standby without a reason
Post by: MountainMan on October 24, 2008, 08:40:22 PM
Yeah, I'll try the Ethernet cable removal test.  I agree that's a great way to isolate internal vs. external influence.  Although the fact that all my computers are powered off is almost as good so I think its internal.  And I also don't have any devices connected to the USB port and the print server is disabled.

My #1 theory is that its the UPnP media refresh service.  I noticed that I had it on and set at a shorter interval (5 minutes) than the standby timer (15 minutes).  Since the media refresh triggers disk access it explains the occasional drive access in the middle of the night when all computers are unpowered.  And it keeps resetting the standby timer so it never goes to sleep.

I'll try some different timer combinations to see if I can prove this theory.

Maybe the D-Link team can consider deconflicting these two timers since most people probably want the drives to go to standby after a period of no user activity but still want the UPnP media server enabled with periodic directory refreshes.  But those refreshes shouldn't happen when the drives are in standby causing the unit to wake up.  And the refreshes while the drive is awake shouldn't cause the standby timer to reset.
Title: Re: Device resumes from standby without a reason
Post by: hilaireg on October 25, 2008, 06:01:20 AM
Would be interested in hearing from Karrde regarding the Ethernet cable; according to the posts, the UPnP Media Refresh services are disabled ... and the problem occurs.
Title: Re: Device resumes from standby without a reason
Post by: Karrde on October 25, 2008, 11:28:10 AM
Well I took Fordem's advice, and unplugged the ethernet cable. The device went into standby as usual, then probably 2 or so hours later, I heard it start up again. Funny thing is though, it only starts up one hard drive from what I can hear. So it's definitely internal, for some reason it's starting just one hard drive, accessing it briefly, then shutting down again after the set 30 minutes. Very strange...
Title: Re: Device resumes from standby without a reason
Post by: hilaireg on October 25, 2008, 08:33:02 PM
Hi Karrde,

Curious, did you ever configure the scheduler or BitTorrent on the DNS? 

Cheers,
Title: Re: Device resumes from standby without a reason
Post by: Karrde on October 26, 2008, 12:07:13 AM
I did configure the Bittorrent client on the DNS, and I tried it with one torrent, but it didn't work so I stopped it and deleted it.
Title: Re: Device resumes from standby without a reason
Post by: hilaireg on October 26, 2008, 08:03:06 AM
Question for D-Link Engineering ... is it possible that the BitTorrent is somehow still enabled causing the out-of-standby issue?
Title: Re: Device resumes from standby without a reason
Post by: Karrde on October 28, 2008, 03:47:00 PM
bump... still looking for a solution here...
Title: Re: Device resumes from standby without a reason
Post by: ECF on October 30, 2008, 10:43:16 AM
I am able to us BT and when my torrents are done downloading or stopped the DNS-323 will go into stand by as set so I'm not sure it the BT client is the cause at this point.
Title: Re: Device resumes from standby without a reason
Post by: rocaddict on October 31, 2008, 11:21:54 AM
Yeah, I'll try the Ethernet cable removal test.  I agree that's a great way to isolate internal vs. external influence.  Although the fact that all my computers are powered off is almost as good so I think its internal.  And I also don't have any devices connected to the USB port and the print server is disabled.

My #1 theory is that its the UPnP media refresh service.  I noticed that I had it on and set at a shorter interval (5 minutes) than the standby timer (15 minutes).  Since the media refresh triggers disk access it explains the occasional drive access in the middle of the night when all computers are unpowered.  And it keeps resetting the standby timer so it never goes to sleep.

I'll try some different timer combinations to see if I can prove this theory.

Maybe the D-Link team can consider deconflicting these two timers since most people probably want the drives to go to standby after a period of no user activity but still want the UPnP media server enabled with periodic directory refreshes.  But those refreshes shouldn't happen when the drives are in standby causing the unit to wake up.  And the refreshes while the drive is awake shouldn't cause the standby timer to reset.

Title: Re: Device resumes from standby without a reason
Post by: conq on December 31, 2008, 11:16:04 AM
Just found this post. Have the same issue, but my drives wake up at a specific time interval, no matter when the drives goes into suspend or when the device is started up. It always wakes up when the clock hits :01 .i.e. 12:01, 12:11, 12:21, 12:31.

What drives do you guys have? I have 2 ST31000340AS Seagate 1TB drives is Raid 1. Did you guys try the new firmware upgrade? It seems to happen more frequently. I did notice with 1.05 they would wake up but with 1.06 it's more frequent.