Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: mbachmann on October 04, 2004, 09:33:17 AM
-
Raid 1 running, want to make hdparm 32 bit access mode permanent.
Issued:
hdparm -k 1 -K 1 /dev/hda
hdparm -k 1 -K 1 /dev/hdc
hdparm -c 1 /dev/hda
hdparm -c 1 /dev/hdc
Result:
hdparm /dev/hda
hdparm /dev/hdc
I/O support = 1 (32-bit)
...
using_dma = 1 (on)
keepsettings = 1 (on)
...
After reboot it does not keep settings:
hdparm /dev/hda
hdparm /dev/hdc
I/O support = 0 (16-bit)
Howto keep 32 bit access mode over reboot?
-
Not really a SME question 8-) but anyhow...The drives get reinitialised by the BIOS and by Linux on each boot so you will need to set hdparm each time...
Maybe a script is the way to go :-) or just place in the rc.local
-
Or /etc/sysconfig/harddisks
-
Thx to both, good old script solved it. Was just so square-headed that i thought keepsettings must keep the settings.
-
Take a look at this....
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/howto/hdparm-howto.html
-jeff
-
Right, jcoleman - 32 bit access mode was already enabled, it just did not kept the settings over reboot.
-
Take a look at this....
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/howto/hdparm-howto.html
-jeff
That HOWTO is obsolete. /etc/sysconfig/harddisks or /etc/sysconfig/harddiskhda etc is the way to do it now.
-
Just adding in /etc/sysconfig/harddisks
EXTRA_PARAMS=
-c 1
will provide keeping 32 bit I/O access over reboot.
-
There doesn't seem to be to much documentation on this or maybe i'm looking in the wrong place.
Why would you use:
EXTRA_PARAMS= -c 1
instead of the line that is already there:
EIDE_32BIT=3
Or maybe it doesn't matter since it seems like they would both do the same thing.