Another no spin down issue

Discussion about hard drive spin down (standby) feature of NAS.
Post Reply
marct
Starting out
Posts: 26
Joined: Thu Sep 06, 2007 9:25 pm

Another no spin down issue

Post by marct » Sat Sep 22, 2007 4:59 am

Hi,

Please help. One of the main reasons for purchasing this product was it's power saving capabilities.

I have two drives 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0) in Linear Disk Volume mode.

I have tried unplugging the NAS from the network to prove that there is no external influence from Routers, PCs or anything that would cause the drives to continue spinning.

This is a list of my processes running.

PID Uid VmSize Stat Command
1 admin 540 S init
2 admin SWN [ksoftirqd/0]
3 admin SW< [events/0]
4 admin SW< [khelper]
5 admin SW< [kthread]
11 admin SW< [kblockd/0]
51 admin SW [pdflush]
52 admin SW [pdflush]
54 admin SW< [aio/0]
184 admin SW [scsi_eh_0]
185 admin SW [scsi_eh_1]
14 admin SW [khubd]
53 admin SW [kswapd0]
56 admin SW [cifsoplockd]
198 admin SW [mtdblockd]
279 admin SW [md9_raid1]
320 admin SW [md13_raid1]
374 admin 624 S /sbin/daemon_mgr
437 admin SW [kjournald]
459 admin SW [md5_raid1]
516 admin SW [kjournald]
521 admin 712 S /sbin/hotswap
525 admin 868 S /sbin/hd_util
534 admin 868 S /sbin/hd_util
535 admin 868 S /sbin/hd_util
543 admin 868 S /sbin/hd_util
620 admin 484 S /sbin/dhcpcd -t 30 eth0
639 admin 1032 S /usr/local/sbin/thttpd -p 8080 -nor -nos -u admin -d /home/httpd -c **.*
666 admin 1056 S /usr/local/sbin/Qthttpd -p 80 -nor -nos -u admin -d /home/Qhttpd -c **.*
680 admin 2844 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
681 admin 2840 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
684 admin 2280 S /usr/local/samba/sbin/nmbd -l /var/log -D -s /etc/config/smb.conf
690 guest 2572 S proftpd: (accepting connections)
703 guest 772 S /sbin/ImRd -d
713 admin 640 S /usr/sbin/crond -l 9
736 admin 664 S /usr/sbin/ntpdated
744 admin 1504 S /usr/sbin/stunnel /etc/stunnel/stunnel.conf
787 admin 1412 S /usr/sbin/sshd -f /etc/ssh/sshd_config -p 22
806 admin 1036 S /sbin/bcclient
807 admin 1036 S /sbin/bcclient
808 admin 1036 S /sbin/bcclient
821 admin 1036 S /sbin/bcclient
837 admin 784 S /sbin/picd
840 admin 716 S /sbin/gpiod
850 admin 892 S /usr/bin/rsync --daemon
950 admin 504 S /sbin/getty 115200 ttyS0
990 admin 1736 S /usr/sbin/sshd -f /etc/ssh/sshd_config -p 22 -R
993 admin 1236 S -sh
1000 admin 628 R ps

Why do the drives not spin down? Even if I take out the Maxtor drive, reboot the NAS with the network cable unplugged it still doesn't go into power saving mode.

Kind Regards
Marc
NAS: TS-209
Firmware: Version 1.1.1 build 0831T
Raid: Off
HDD: 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0)
SlimServer Installed
USB Drive: 1 x 500Gb NTFS
OS: Windows Vista

pingu
Starting out
Posts: 33
Joined: Tue Sep 04, 2007 4:35 pm

Post by pingu » Tue Sep 25, 2007 3:53 pm

Hi marct,

I noticed that you've got SlimServer installed. I just swapped from Western Digital to Seagates (same model as yours) and so far it seems to work (although I haven't fully tested it yet). I have seen discussions on the slimdevices forums about SlimServer preventing standby - have you tried shutting down SlimServer?

Cheers,
pingu.

marct
Starting out
Posts: 26
Joined: Thu Sep 06, 2007 9:25 pm

Post by marct » Tue Sep 25, 2007 4:23 pm

My signature might say that I have SlimServer installed but the process list doesn't have it running does it?

I have tried un-installing SlimServer, rebooting the device, then unplugging the network cable and the drive still didn't go into power saving mode. I set the timer to 5 minutes and after 30 minutes it was still spinning.

What timer did you set for spin down on your setup?

Thanks
Marc
NAS: TS-209
Firmware: Version 1.1.1 build 0831T
Raid: Off
HDD: 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0)
SlimServer Installed
USB Drive: 1 x 500Gb NTFS
OS: Windows Vista

marct
Starting out
Posts: 26
Joined: Thu Sep 06, 2007 9:25 pm

Post by marct » Tue Sep 25, 2007 5:44 pm

Pingu,

Can you please copy and paste a "ps" of your processes so I can compare. If you are running an identical Harddisk then this gives me some hope. Also, can you please let me know what your spindown settings are, what other services you have enabled on your box this will help me a lot.

Thanks
Marc
NAS: TS-209
Firmware: Version 1.1.1 build 0831T
Raid: Off
HDD: 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0)
SlimServer Installed
USB Drive: 1 x 500Gb NTFS
OS: Windows Vista

pingu
Starting out
Posts: 33
Joined: Tue Sep 04, 2007 4:35 pm

Post by pingu » Tue Sep 25, 2007 5:47 pm

I've set it to 5 mins.

I'll grab a process list tonight to compare with yours, plus I'll be doing more tests (I daren't believe it's working perfectly just yet).

Cheers,
pingu.

pingu
Starting out
Posts: 33
Joined: Tue Sep 04, 2007 4:35 pm

Post by pingu » Wed Sep 26, 2007 3:47 pm

Morning Marc,

Did a ps and the only process you're running that I'm not is "/sbin/dhcpcd -t 30 eth0 ".

Have you tried giving it a static IP address?

Cheers,
pingu.

marct
Starting out
Posts: 26
Joined: Thu Sep 06, 2007 9:25 pm

Post by marct » Wed Sep 26, 2007 4:09 pm

Pingu,

Does your drive spin down after 5 minutes or does it take longer than that?

How is your general testing going?

Thanks
Marc
NAS: TS-209
Firmware: Version 1.1.1 build 0831T
Raid: Off
HDD: 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0)
SlimServer Installed
USB Drive: 1 x 500Gb NTFS
OS: Windows Vista

pingu
Starting out
Posts: 33
Joined: Tue Sep 04, 2007 4:35 pm

Post by pingu » Wed Sep 26, 2007 4:22 pm

Hi Marc,

It takes a bit longer - I don't know exactly, I can't be bothered to watch it.
There is a sticky thread on this forum that says that because of caching etc., it make take a bit longer than you specify. I'd say no more than about 10 mins though.

Testing has gone well. However, woke up to find it on this morning - aaaargh, I thought. But, I think that it's the thumbnailer process (ImR_all) that gets kicked off via the cron job at 3 in the morning. I added 1700 photos last night and I think it is crunching through them. I have read that it is not always reliable (see multimedia station forum) and can take a long time. I think I might comment out this cron job as I'm not bothered about having the thumbnails instantly available.

Didn't manage to test the streaming - watched the footy instead (Torres is a class act!), but twonky is running and has indexed photos, music and video.
Actually, this is OT but you don't happen to know of a good way to convert mpg files to wmv do you (xbox 360 will only stream WMVs)? I tried Windows Media Encoder and it was hopeless - quoting several days to do the job for a 200Mb mpg. Movie Maker made a complete hash of it.

Back on topic, are you running without your Maxtor at the moment just to eliminate it as the culprit?

Cheers,
Steve.

marct
Starting out
Posts: 26
Joined: Thu Sep 06, 2007 9:25 pm

Post by marct » Wed Sep 26, 2007 6:34 pm

Hi,

Sorry I can't help with the MPG to WMV conversion. I have tried a few trials of tools but none of them were particularly fantastic. There are so many out there too!

I have removed my Maxtor drive for the moment but still no joy. It's tempting to start from scratch again with a clean disk but it took sooooo long to copy the files from the USB drive to the NAS and that was using the "cp" command from the SSH session!

I'm sure the spindown did work before I upgraded to the latest firmware, but if it works for you with identical hardware it should be fine for me.

One last question. When the drives have spundown (is that a word?!?!?) if you SSH into the box does that start them up again?

I'll try and statically assign the IP and try again but that really must be a long shot. :(

Thanks for your help.
Marc
NAS: TS-209
Firmware: Version 1.1.1 build 0831T
Raid: Off
HDD: 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0)
SlimServer Installed
USB Drive: 1 x 500Gb NTFS
OS: Windows Vista

pingu
Starting out
Posts: 33
Joined: Tue Sep 04, 2007 4:35 pm

Post by pingu » Wed Sep 26, 2007 7:30 pm

Yes, SSHing in will start the disks up again.

Yeah, the DHCP thing is a long shot. My theory being that maybe your dhcp lease time is really short (< 5 mins) so it keeps asking for a new lease before it can spin down?

But, if this was not a prob with the old firmware, then this is probably a red herring.

Good luck.

marct
Starting out
Posts: 26
Joined: Thu Sep 06, 2007 9:25 pm

Post by marct » Thu Sep 27, 2007 8:40 pm

Well, using a statically assigned IP address made no difference, but I thought I'd check anyway. I'm now going through the process of starting from scratch. Format the disks and hope that whatever is stopping it will not be there after the format. :(

Marc
NAS: TS-209
Firmware: Version 1.1.1 build 0831T
Raid: Off
HDD: 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0)
SlimServer Installed
USB Drive: 1 x 500Gb NTFS
OS: Windows Vista

marct
Starting out
Posts: 26
Joined: Thu Sep 06, 2007 9:25 pm

Post by marct » Fri Sep 28, 2007 8:20 pm

So, I have formatted the drives and reset the NAS back to factory defaults and with both drives reformatted as a linear system HDD Spin Down works.

Now time to go through everything step by step to see what was stopping it from spinning down. Starting with SlimServer....

I'm hoping it isn't slimserver since I want the power saving and also I have a squeeze box now!

So, in short the two different disks I have do support spin down for anyone that wants to know.

Marc
NAS: TS-209
Firmware: Version 1.1.1 build 0831T
Raid: Off
HDD: 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0)
SlimServer Installed
USB Drive: 1 x 500Gb NTFS
OS: Windows Vista

User avatar
Ryssen
Know my way around
Posts: 165
Joined: Fri Oct 12, 2007 8:22 am
Location: Sweden

Post by Ryssen » Sat Oct 13, 2007 5:20 am

marct,did you find a solution?

Code: Select all

- have you tried shutting down SlimServer? 

How do I do that?

marct
Starting out
Posts: 26
Joined: Thu Sep 06, 2007 9:25 pm

Post by marct » Sat Oct 13, 2007 3:54 pm

I don't know how you shutdown slimserver. What I originally tried was to uninstall it but that didn't work. What I ended up doing was resetting the entire box, reformatting and starting from scratch. I have successfully got the same software on this time and spin down works! Slimserver is installed but the only way I can get the disk to spindown with it installed is by unplugging (powering off) the squeezebox that I have on my network.

I hope this helps.
Marc
NAS: TS-209
Firmware: Version 1.1.1 build 0831T
Raid: Off
HDD: 1 x 500Gb Seagate (ST3500630AS 3.AA) & 1 x 300Gb Maxtor (6V300F0)
SlimServer Installed
USB Drive: 1 x 500Gb NTFS
OS: Windows Vista

Post Reply

Return to “HDD Spin Down (HDD Standby)”