Results 1 to 3 of 3

Thread: Spinning down the internal HDD

  1. #1
    Join Date
    Apr 2007
    Location
    Great White North
    Posts
    28

    Spinning down the internal HDD

    I have been having a lot of fun with this little brick. I had made a decision to buy it, then the supplier couldn't get me one, so I gave up. I found this site and did some reading, so when my local shop called me up with one available I jumped at the chance. Thank you for all the information on this site (and others referenced here). It has been very helpful.

    I have managed to install WL700gE_1.0.4.6_kc_02a.nas following the instructions on kfurge's site. I added the following rc.local entries:

    Code:
    #!/bin/sh
    
    pool=`nvram get apps_pool`
    share=`nvram get apps_share`
    internal_hdd=/dev/ide/host2/bus0/target0/lun0/disc
    
    if [ \! -f /tmp/rc.local.done ]; then
    
    # Indicate we've already done this
    touch /tmp/rc.local.done
    
    #
    # Mount /opt and connect in various system files
    #
    if [ -e /shares/${pool}/opt ]; then
     mount -o bind /shares/${pool}/opt /opt
     
     cat /proc/mounts > /opt/etc/fstab
     
     ln -s /opt/etc/shells /tmp/shells
     ln -s /opt/etc/fstab /tmp/fstab
     
     export PATH=/opt/bin:/opt/sbin:${PATH}
     export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
     
     # Start dropbear ssh server
     if [ -x /opt/etc/init.d/S51dropbear ]; then
       /opt/etc/init.d/S51dropbear
     fi
    fi
    
    # Start utelnetd on local interface only!
    /apps/bin/utelnetd -i br0 &
    
    # Sleep for a little bit to not interfere with normal system startup
    # before we kill a bunch of Asus processes.
    sleep 5
    
    # Kill processes I don't use.  The killing of watchdog is necessary
    # to allow the disk to spin down (watchdog is a horribly written hack
    # anyway!)
    killall -q -9 watchdog
    
    # Do the necessary steps so the internal HDD will spin down
    mount -o remount,noatime,nodiratime /shares/${pool}
    hdparm -S 60 ${internal_hdd}
    smartctl -dT ${internal_hdd}
    
    fi
    Can anyone tell me why my HDD is not spinning down? I set it to 5 minutes so I could verify it was actually spinning down, but after leaving it standalone (wireless off, no Ethernet connections) for 15 minutes it was still going. I left it on all night and it was still spinning when I woke up in the morning. Damn this is warm as well.

    Thank you for any insight you may be able to provide.

    Hacksaw.

  2. #2
    Turn off the media server and other things you aren't using in the router's configuration. Mostly I've found the media server seems to access the hard drive on a constant basis, which would keep it from spinning it down.

  3. #3
    Join Date
    Apr 2007
    Location
    Great White North
    Posts
    28
    Quote Originally Posted by fireflash View Post
    Turn off the media server and other things you aren't using in the router's configuration. Mostly I've found the media server seems to access the hard drive on a constant basis, which would keep it from spinning it down.
    That was it!

    Thanks,
    Hacksaw.

Similar Threads

  1. Downloaden van usb-connected hdd op WL-500gP extreem langzaam.
    By Phrea in forum Dutch Discussion - Nederlands
    Replies: 23
    Last Post: 08-03-2007, 22:45
  2. cant change internal HDD
    By webhoffi in forum WL-700g Q&A
    Replies: 0
    Last Post: 24-11-2006, 18:58
  3. Ftp on internal HDD
    By galmiche in forum WL-HDD Q&A
    Replies: 0
    Last Post: 08-08-2005, 11:22
  4. Flashing Oleg's Firmware in WL HDD
    By hugo in forum WL-HDD Custom Development
    Replies: 29
    Last Post: 21-10-2004, 14:55
  5. USB HDD connects as Webcam
    By Oldchatterman in forum WL-500g Q&A
    Replies: 12
    Last Post: 19-10-2004, 17:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •