linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Torsten Neumann <torsten@londo.rhein-main.de>
To: linux-lvm@msede.com
Subject: Re: [linux-lvm] lvextend
Date: 30 Dec 1999 22:13:59 +0100	[thread overview]
Message-ID: <84ghun$3da$1@londo.rhein-main.de> (raw)
In-Reply-To: Pine.LNX.4.10.9912291243350.5737-100000@scooby.cisco.com

Adam Crews <acrews@cisco.com> wrote:

> Yes I do want one big lv.  I used lvm so that as I add disks I can just
> grow the fs without needing to re-do md devices or things like that.

> What I figured out is that you cannot extend a striped lv.  even if I have
> 2 partitions to add to a lv that has 2 stripes, I still cant extend the
> volume.

Are you using 0.7 ? There is a bug that avoids extending striped lvs under
some circumstances. Update to 0.8i or apply the following diff

--- pv_move.c.orig	Thu Dec 30 22:10:44 1999
+++ pv_move.c	Thu Dec 30 22:11:25 1999
@@ -254,7 +254,7 @@
 
       for ( pe = 0; pe < pe_to_move; pe++) {
          if ( lv_check_on_pv ( vg->pv[dst_pv_index],
-                               pe_src[pe].lv_num - 1) == TRUE &&
+                               pe_src[pe].lv_num) == TRUE &&
               vg->lv[pe_src[pe].lv_num-1]->lv_stripes > 1) break;
          if ( ( vg->lv[pe_src[pe].lv_num-1]->lv_allocation & LV_CONTIGUOUS) &&
               pv_check_free_contiguous ( vg->pv[dst_pv_index],


Torsten

  reply	other threads:[~1999-12-30 21:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-28 19:09 [linux-lvm] lvextend Adam Crews
1999-12-29 10:06 ` Fabian Herschel
1999-12-29 20:50   ` Adam Crews
1999-12-30 21:13     ` Torsten Neumann [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-12-31 19:46 Heinz Mauelshagen
2003-05-10  8:38 Joerg.Redlich
2004-10-14  6:56 Bengt Heijnesson
2005-06-23  0:16 Terry Rigby
2005-06-23  0:30 ` dean gaudet
2005-06-23  1:08 ` Sean Boyd
2005-06-23  1:13   ` Terry Rigby

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='84ghun$3da$1@londo.rhein-main.de' \
    --to=torsten@londo.rhein-main.de \
    --cc=linux-lvm@msede.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).