Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: HDPARM Disk spin down

  1. #1

    Question HDPARM Disk spin down

    Hello!

    i'm trying to set sleep mode for a USB -HDD mounted with Oleg's firmware

    [admin@ASUS root]$ hdparm -S 120 /dev/discs/disc0/part1

    /dev/discs/disc0/part1:
    setting standby to 120 (10 minutes)
    HDIO_DRIVE_CMD(setidle1) failed: Invalid argument

    anybody has an idea what am i doing wrong?????????? ?????

  2. #2

    re:

    Hdparm -k1 -K1 -S120 /dev/hdX works fine with Seagate Barracuda ATA4.
    Power supply on the drive must be allways on !!!

    Regards

  3. #3

    re1:

    I forgot:

    Hdparm works only with IDE not USB.
    Use host with Linux installation (FC4 in my case);
    switch on USB drive PWR Supply;
    disconnect IDE cable from USB disk;
    connect USB disk to host with IDE cable;
    switch on the host;
    boot to linux and type fdisk -l in terminal to find the drive (/dev/hdx)
    use above hdparm command;
    disconnect ide cable from host with power supply on, and connect it to USB controller;
    connect it to 500GP and wait for 10 minutes - if motor stops then all is OK;

    In my case Seagate works fine, but drive looses all written parameters (hdparm) if power supply is interrupted.

  4. #4
    Do you have to do this every time you switch off the HD power supply???
    I've been looking for this exact solution, I find my HD gets pretty hot spinning all day.
    -Gerry

  5. #5

    Lightbulb

    Maybe have a look at the Jumpers of your Harddisk.

    Some support RPM2.

  6. #6

    any update ?

    any update how to spin down usb disc ?
    thanks

  7. #7

    re

    In my case I must repeat procedure every time when power supply to HDD is disconnected.

  8. #8
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    377
    Hi

    The answer is simple and disappointing: ITS IMPOSSIBLE.

    Usb to ide converters are not capable of transfering the controll commands needed to use hdparm. In fact they do the most communication with the hd by themself, presenting the computer not much more then a read-data write-data and get-capacity command.

    It is sometimes possible to enable an auto-spindown after xx minutes inactivity mode in the harddrive, by use of tools from the harddisk producer.

    If you had read the hdparm website or searched the forum a bit you could have read this .

    Greets
    Wlanman
    My Stuff: WL-500g, Mapower H31x 10GB HD, Philips Webcam Vesta PRO, TerraTec Webcam PRO, USB Hub

  9. #9
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    Quote Originally Posted by WlanMan View Post
    Hi

    The answer is simple and disappointing: ITS IMPOSSIBLE.

    Sorry WlanMan, but you are not right.

    See this thread to get more information. LINK
    Xander will write a tutorial especially for beginners.
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  10. #10
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    377
    Hi

    Ok, if this realy works, great . All places dealing with usb disks on embedet devices (like nslu2) state its not possible.
    Did the spinup work also, without a kernel patch?

    To my knowlede the usb storage stuff is linked in with the scsi subsystem in 2.4 kernels, but supporting only what the usb specification allows.
    If you indeed CAN send spindown commands to the drive, i wonder why smartmon wouldnt be possible. They should use the same atapi-like mechanism...

    Greets
    Wlanman
    My Stuff: WL-500g, Mapower H31x 10GB HD, Philips Webcam Vesta PRO, TerraTec Webcam PRO, USB Hub

  11. #11

    Tutorial has gone missing?

    Hi,

    @britnet, that link no longer seems to work. The tutorial thread seems to have disappeared. Anyone have any idea where to find the info now?

    Thanks,
    Matt

  12. #12
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    Quote Originally Posted by DawMatt View Post
    Hi,

    @britnet, that link no longer seems to work. The tutorial thread seems to have disappeared. Anyone have any idea where to find the info now?

    Thanks,
    Matt
    For me it works.

    Just try it again.
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  13. #13
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by britnet View Post
    For me it works.

    Just try it again.
    You've deleted it. I've recovered it now.

  14. #14
    [admin@ASUS root]$ hdparm -S 120 /dev/discs/disc0/part1

    /dev/discs/disc0/part1:
    setting standby to 120 (10 minutes)
    HDIO_DRIVE_CMD(setidle1) failed: Invalid argument


    I got the same error, is it only works for USB to IDE not USB to SATA ?

  15. #15
    Hi cybercp!

    I got the same error with my internal WLHDD IDE Drive, after it worked for several month. I found out that the currently (12.2008) installed hdparm Version (V 9.xxx) was not working for me anymore. Problems occured after a "ipkg update && ipkg upgrade"

    I downloaded an older version of hdparm (Version 6.xxx somewhat from nslu -> search via google!) and installed this instead. I don't know whoch version stopped working. But 6.xxx does it.

    Install with the ipkg --force_downgrade(???) Parameter - please have a look at the options of ipkg as I'm at work right now and can't have a look.

    After this my wlhdd sets spin down correctly. I'm using the same commandline as you.

    Hope it works for you - absolute silence is great.

    /Peter

Page 1 of 2 12 LastLast

Similar Threads

  1. How to mount second usb disk on WL 500g deluxe
    By ROBBY in forum WL-500g Q&A
    Replies: 1
    Last Post: 13-09-2006, 11:24
  2. Feature request - samba demo mode w/o USB/hard disk
    By ezv in forum WL-500g Custom Development
    Replies: 1
    Last Post: 13-06-2006, 21:21
  3. WL-HDD, where's my internal disk
    By grunchy in forum WL-HDD Q&A
    Replies: 1
    Last Post: 30-05-2006, 18:29
  4. What happened When I PLug a USB Disk Into WL-500g-x's USB port
    By iamchating in forum WL-500g Custom Development
    Replies: 1
    Last Post: 01-05-2006, 20:06
  5. WL-HDD disk transfer speed
    By gerardwr in forum WL-HDD Q&A
    Replies: 5
    Last Post: 31-10-2004, 16:32

Posting Permissions

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