View previous topic :: View next topic |
Author |
Message |
ReD-BaRoN Apprentice
Joined: 06 Feb 2004 Posts: 208
|
Posted: Sun Jul 30, 2006 4:17 am Post subject: Help setting read_ahead_kb with sysctl on boot. |
|
|
I'm following the 3Ware instructions (http://www.3ware.com/kb/article.aspx?id=11050) on setting my array's read_ahead_kb setting on boot via sysctl, however it's not working, sysctl is not finding the key. Any ideas here?
In /etc/sysctl.conf I've tried:
Code: | /sys/bus/scsi/drivers/sd/sda/block/queue/read_ahead_kb = 16384 | (right out of 3Ware's instructions)
which results in:
Code: | error: ".sys.bus.scsi.drivers.sd.sda.block.queue.read_ahead_kb" is an unknown key |
and
Code: | sys/bus/scsi/drivers/sd/sda/block/queue/read_ahead_kb = 16384 | (removing the leading / )
which results in:
Code: | error: "sys.bus.scsi.drivers.sd.sda.block.queue.read_ahead_kb" is an unknown key |
and
Code: | sys/block/sda/queue/read_ahead_kb = 16384 | (which maps to the actual variable)
which results in:
Code: | error: "sys.block.sda.queue.read_ahead_kb" is an unknown key |
Any ideas on what the magical incantation I need to use is?
Thanks! |
|
Back to top |
|
|
alacheesu Tux's lil' helper
Joined: 01 Jun 2005 Posts: 113
|
Posted: Sun Jul 30, 2006 7:10 am Post subject: |
|
|
Just a thought.. have you tried removing "sys"? Looking through my own sysctl.conf i notice that, f.ex.
Code: | /proc/sys/net/ipv4/conf/all/accept_redirects |
has the token..
Code: | net.ipv4.conf.all.accept_redirect |
|
|
Back to top |
|
|
|