Answer the question
In order to leave comments, you need to log in
Does readahead change after reboot?
Hello.
I'm trying to change the readhead for disks, but after reboot it is still set to the default 8192.
blockdev --report /dev/mapper/data_group-data_vol
RO RA SSZ BSZ StartSec Size Device
rw 8192 512 4096 0 53682896896 /dev/mapper/data_group-data_vol
lvchange -r 0 /dev/mapper/data_group-data_vol
Logical volume data_group/data_vol changed.
blockdev --report /dev/mapper/data_group-data_vol
RO RA SSZ BSZ StartSec Size Device
rw 0 512 4096 0 53682896896 /dev/mapper/data_group-data_vol
blockdev --report /dev/mapper/data_group-data_vol
RO RA SSZ BSZ StartSec Size Device
rw 8192 512 4096 0 53682896896 /dev/mapper/data_group-data_vol
lvchange -r 0 /dev/mapper/data_group-data_vol
Read ahead is already 0 for data_group/data_vol.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question