Skip to contentSkip to conversation

Problem with lvchange command

linux-lvm Sachin Sant 1 participant 1 message Dec 2, 2003

lore
Share & tools
lore
#0 lore raw

Hi , I posted this query , but did not get a reply. Sending it again hoping will get a reply.

I have a VG with 3 pv and a lv created using command

lvcreate -i3 -I32 -l98 -nmy_lv my_vg
lvdisplay shows 1024 as the value for Read Ahead Sectors.

When i use the command lvchange to change the value of read ahead sector count with value more that or equal to 256 i get following error..

linux# lvchange -r 340 /dev/my_vg/my_lv
lvchange -- ERROR "Invalid Argument" read ahead sector change linux#
linux#

Is there a limitation that read ahead value cannot be greater than 255?

Signature · 2 lines
Thanks
-Sachin