I have 2 HDDs in my PC. Ubuntu is turning off the secondary HDD very quickly after about 15 minutes, which is short for me. I need to control this time. How can I do it?
I tried GNOME power management but did not find it useful.
|
I have 2 HDDs in my PC. Ubuntu is turning off the secondary HDD very quickly after about 15 minutes, which is short for me. I need to control this time. How can I do it? I tried GNOME power management but did not find it useful. |
||||
|
|
|
Have a look at From the manual (
So
From the manual: 254 is reserved so I expect it to be Ubuntu's default (can anyone confirm/expand on this please?) Example:
|
|||||||||||||||||
|
|
I add something like:
to root's crontab. Using uuid is better I think because |
|||||
|
|
If you're interested on do the hdparm's setting persistent between reboots, instead of adding it to the crontab, you can use the
Add that line replacing the uuid by yours, or also you may specify the device using |
||||
|
|