What's new

Spin down problem?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Sabbath81

Regular Contributor
Hello,

Im noticing a strange problem with my rt-n66u trying to spin down the attached external hdd WD Elements 2.5".

The drive is mounted as sda, but sd-idle gets the following error:

Aug 17 23:31:38 sd-idle-2.6[878]: spinning down /dev/sdb
Aug 17 23:31:38 sd-idle-2.6[878]: Failure to open /dev/sdb for spinning down: No medium found

The hdd is not going down anyway.

Im using 380.58 version of merlinwrt.

Any ideas how to solve this?
 
Disable spinning down of sdb, since your disk is mounted as sda.
 
Disable spinning down of sdb, since your disk is mounted as sda.

I've already tried this. In such case - there is no log for sd-idle activity, besides its initialization.

This problem occured recently, as it have been working flawless until then. The router was upgraded up to ver.380.61, but i decided that it might have caused it. Yesterday i reverted back using Recovery mode to 380.58, hoping that it will be resolved, but unfortunately it has not.

Im using dlna, aicloud, samba and ftp since day 1.
 
Last edited:
I've already tried this. In such case - there is no log for sd-idle activity, besides its initialization.

This problem occured recently, as it have been working flawless until then. The router was upgraded up to ver.380.61, but i decided that it might have caused it. Yesterday i reverted back using Recovery mode to 380.58, hoping that it will be resolved, but unfortunately it has not.

Im using dlna, aicloud, samba and ftp since day 1.

If the log tells you it's trying to spindown sdb, then it means you have sdb selected for spindown under Tools -> Other Settings. This will cause such warnings if there is no disk plugged as sdb - this is normal.
 
If the log tells you it's trying to spindown sdb, then it means you have sdb selected for spindown under Tools -> Other Settings. This will cause such warnings if there is no disk plugged as sdb - this is normal.

Hello,

i have not check boxes activated under Tools/Other Settings - i let all disks to be spun down. I have tried to check especially sdb, since the checkbox prevents sdb from spin down, and the result is - no activity from sd-idle. Isnt the check box there exactly for prevention of spinning down?
 
What value do have here?: Disk spindown idle time (in seconds) 0 = disable feature
 
What value do have here?: Disk spindown idle time (in seconds) 0 = disable feature

600 = 10 mins.

Here is the log from today after reboot

13:31:38 sd-idle-2.6: spinning down /dev/sdb
13:31:38 sd-idle-2.6: Failure to open /dev/sdb for spinning down: No medium found

The df command from ssh shows no sdb at all:(
 
If you can find your hdd in df then it's probably not mounted.
 
it could be under sdb after a reboot or after umount/mount. Only way to avoid that it set a "mount name" then you have same always.
 
Try with other name as label, not sda.
 
who knows just test. I thinking wide here.
 
If you would make available your full system log immediately following a boot, we may be able to see what's going on as the router tries to mount the drive.
 
See link for the complete log:

https://we.tl/mKy2zixwme
OK....a couple things I see.
- Is this an older N66? The code is seeing what I believe is the internal flash card reader and assigning it sdb.....but nothing is plugged in. I suspect this was always there, but you may not have noticed it before.
- I see you are also running transmission (is this something recent?). It's setting up a 1GB swap file on opt/swap, which must be on sda. In this case, sda probably can't be spun down.
 
OK....a couple things I see.
- Is this an older N66? The code is seeing what I believe is the internal flash card reader and assigning it sdb.....but nothing is plugged in. I suspect this was always there, but you may not have noticed it before.
- I see you are also running transmission (is this something recent?). It's setting up a 1GB swap file on opt/swap, which must be on sda. In this case, sda probably can't be spun down.

Hello,

Yes its n66u model. I dont know much about its internal flash and if its assigned.
Transmission is not new, the new is the 1gb swap which is an option during optware-ng installation to the partition sda.
 
Hello,

Yes its n66u model. I dont know much about its internal flash and if its assigned.
Transmission is not new, the new is the 1gb swap which is an option during optware-ng installation to the partition sda.
I think some of the early N66s actually have a sd slot on the main board....again, I think it was removed at some point. Looks like yours has it. And checking the no-spindown box under tools correctly keeps it from trying .

I'm fairly certain it's the swap that's keeping sda from spinning down.
 
I think some of the early N66s actually have a sd slot on the main board....again, I think it was removed at some point. Looks like yours has it. And checking the no-spindown box under tools correctly keeps it from trying .

I'm fairly certain it's the swap that's keeping sda from spinning down.


Do you suggest to remove the swap in such case?

Is there a way to move it to another part without complete reinstallation? And change its size down to 512 mb?

Thanks
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top