LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   help with hdd and hdparm (https://www.linuxquestions.org/questions/linux-software-2/help-with-hdd-and-hdparm-431739/)

xcaliber 04-04-2006 05:47 PM

help with hdd and hdparm
 
everytime I boot up i have to change /sbin/hdparm options on my secondary hardrive (hdb) to :
-d1 -c3 -u1 in order to enable dma and a few other options that don't happen automatically... how can i set these options to enable on boot???

thanks

Acron_0248 04-04-2006 06:17 PM

You can set that options editing the hdparm.conf in /etc



Bye

xcaliber 04-05-2006 11:11 AM

in FC5
 
I am running FC5 i have no hdparm.conf file in /etc... should i create one or is there another file i should look at?

Acron_0248 04-05-2006 01:22 PM

You can use the locate command to find where is the hdparm.conf, in the case that really doesn't exist, yes, you can created inside /etc



Bye

tuxangler 04-05-2006 02:31 PM

I use this command in my /etc/init.d/boot.local
Normally in SuSE 10.0 this is managed in /etc/sysconfig/ide
The Parameters given here are used by /etc/init.d/boot.idedma

xcaliber 04-06-2006 09:43 AM

again
 
so if i create hdparm.conf in /etc should i just put in the command
-d1 -c3 -u1 -m16 -k1 /dev/hda

-d1 -c3 -u1 -m16 -k1 /dev/hdb
?

Acron_0248 04-06-2006 01:50 PM

Not like that exactly, you need to use the configuration on diferent form

Example, to use the -c3 and configure it in hdparm.conf, you need to write:

io32_support = 3

-d1 will be:

dma = on


To help out with the strings that you have to use, type from the console
Code:

man hdparm
or see this



Bye


All times are GMT -5. The time now is 03:39 AM.