Results 1 to 7 of 7

Thread: OpenWRT and hdd spindown

  1. #1
    Join Date
    Jan 2007
    Location
    Cph, Denmark
    Posts
    38

    Question OpenWRT and hdd spindown

    When i issue the hdparm command, the drive spins down as it should, but only for about 5-20 seconds, then it starts spinning again. Anybody knows what program that causes the hdd to spin up again?
    Last edited by clausbruun; 07-03-2007 at 08:36.

  2. #2
    You could try a command like this to identify possible culprits:
    Code:
    lsof |grep /opt/|grep -v ' mem'
    (assuming your external drive is mounted under /opt/).

  3. #3
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    190
    Quote Originally Posted by wirespot View Post
    You could try a command like this to identify possible culprits:
    Code:
    lsof |grep /opt/|grep -v ' mem'
    (assuming your external drive is mounted under /opt/).
    it isn't external our root filesystem is the build in hdd I think that is the reason

    Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net

    My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)

  4. #4
    Anything that touches a log file in /var/log or drops something in /tmp will make it spin back up again. Without mounting / read only, I don't think there's a practical way to make the HDD spin down and stay that way.

    - K.C.

  5. #5
    Join Date
    Jan 2007
    Location
    Cph, Denmark
    Posts
    38
    So only solution will be to move /tmp and /var/log to for example an usb stick ?

  6. #6
    Quote Originally Posted by clausbruun View Post
    So only solution will be to move /tmp and /var/log to for example an usb stick ?
    That's a possibility, but I think it would die rather quickly from all of the writes and you never know when it's going fail.

    I think a better alternative is to leave a fluid dynamic bearing HDD on and idling at low RPM. With proper thermal management, it should run virtually forever.

    - K.C.

    http://www.wdc.com/en/library/eide/2579-001052.pdf

  7. #7
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    190
    A new openwrt image is created that is able to boot from a usb device
    Then the hdd can be put into sleep



    http://www.wl700g.homelinux.net/drupal/?q=node/98 for more info
    Last edited by back2basic; 04-04-2007 at 16:58.

    Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net

    My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)

Similar Threads

  1. Using HDD drive for Root on OpenWRT
    By MoD in forum WL-700g Firmware Discussion
    Replies: 74
    Last Post: 02-02-2007, 15:11
  2. openWRT is working on 700 g :-)
    By Gregoire.Favre in forum WL-700g Firmware Discussion
    Replies: 10
    Last Post: 19-01-2007, 15:05

Posting Permissions

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