linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Karl Podesta <kpodesta@redbrick.dcu.ie>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvchange read ahead sectors
Date: Mon, 26 Feb 2007 11:33:50 +0000	[thread overview]
Message-ID: <20070226113350.GC31458@murphy.redbrick.dcu.ie> (raw)

Hi there, 

Does anyone know if I can change "read ahead sectors" to 1024 with LVM1 ?

I'm using lvm-1.0.5-129 on SUSE/SLES 8 - I have a logical volume with 
"read ahead sectors" set to 1024, and another one with the value as
0 (i.e. disabled). When I try to set the latter one to 1024 using 
"lvchange -r 1024", I get:

lvchange -- ERROR "Invalid argument" read ahead sector change

... and then in the lvchange man page I notice: 
 -r, --readahead ReadAheadSectors
              Change read ahead sector count per logical  between
              2 and 120.

If I can only set the value to 120, how come I have a volume with 1024? 
Is there a conversion needed between the two values? 

If anyone could shed some light on this or point me in the right 
direction, that would be great! Haven't had any joy looking through 
stuff on the net, or on the archives of this list... 

Many thanks!

Karl

PS - I realise this list is hosted on redhat.com, so sorry for any 
cross-distro pollination! :-)

-- 
Karl Podesta

                 reply	other threads:[~2007-02-26 11:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070226113350.GC31458@murphy.redbrick.dcu.ie \
    --to=kpodesta@redbrick.dcu.ie \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).