Did not get much help from the ubuntu forums so I'm hoping someone in Tom's can help me out:
OS: Ubuntu Server Edition (no gui)
My media server is running Ubuntu Server and has a 1TB drive connected by USB. My problem is that Ubuntu will suspend/spin down the drive causing delays when accessing files in the future. Also, the drive is accessed frequently so it's continually spinning down then up all day long. I believe my problem is the USB auto suspend feature (which is a power mgmt feature I believe) which is what I want to disable. Is there any way to do this?
Also have a look at reducing the load on the external drive. It might be worth looking at the mount and looking at options like 'noatime' to reduce writes. Most of the options you would use for flash drives would work in this regard.
I am also looking DISABLE USB AUTO-SUSPEND. My issue relates to TV tunners shutting down in Ubuntu Lucid runnin Myth Backend. I have tried to create a file: /etc/modprobe.d/options.conf which contains the line: options usbcore autosuspend=0 but when I look at /sys/module/usbcore/parameters , the autosuspend component remains == 2... (after reboot). Any help will be appreciated.
can't solve your problems, but be aware that some 'green' drives park the read heads if it there was no need for the drive in 8 seconds. This combined with a standard flush time of 10 seconds for most linux distros means that the drives will repeatedly park and wake up. So don't use drives like wd10eads or other green drives with this. I believe this goes for the usb versions as well (not sure) - maybe your usb parking problem isn't actually usb, but the drive attached to the usb.