All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heinz J. Mauelshagen" <Mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Problem extending a LV
Date: Tue, 29 May 2001 21:10:02 +0000	[thread overview]
Message-ID: <20010529211002.A27030@sistina.com> (raw)
In-Reply-To: <3B136D02.2B4C5178@gmx.de>; from cabalzer@gmx.de on Tue, May 29, 2001 at 11:33:54AM +0200

Carsten,

sorry, you can't extend a striped LV like this today :-(
Will be enhanced in a later release.


On Tue, May 29, 2001 at 11:33:54AM +0200, Carsten Balzer wrote:
> Hi
> 
> I have a strange problem with kernel 2.2.19 an lvm-tools 0.9.1_beta7.
> 
> I have a existing VG with 2 80GB disks containing one 160GB LV.
> I added a additional 80GB disk and wanted to extend the LV. But that
> didn't
> work.
> 
> seven:/ # pvdisplay /dev/hdf1
> --- Physical volume ---
> PV Name               /dev/hdf1
> VG Name               NVolGroup
> PV Size               76.34 GB / NOT usable 3.22 MB [LVM: 306 KB]
> PV#                   3
> PV Status             available
> Allocatable           yes
> Cur LV                0
> PE Size (KByte)       4096
> Total PE              19541
> Free PE               19541
> Allocated PE          0
> PV UUID               o593Dd-Uo4Z-Hv1Z-yTI0-QtYy-p0Wq-a4XL3q
> 
> seven:/ # vgdisplay
> --- Volume group ---
> VG Name               NVolGroup
> VG Access             read/write
> VG Status             available/resizable
> VG #                  0
> MAX LV                256
> Cur LV                1
> Open LV               1
> MAX LV Size           255.99 GB
> Max PV                256
> Cur PV                3
> Act PV                3
> VG Size               229 GB
> PE Size               4 MB
> Total PE              58623
> Alloc PE / Size       39082 / 152.66 GB
> Free  PE / Size       19541 / 76.33 GB
> VG UUID               lHyDca-e7yA-4Rkt-keGF-uJHY-YCRk-3qqw7N
> 
> seven:/ # lvdisplay /dev/NVolGroup/nVol
> --- Logical volume ---
> LV Name                /dev/NVolGroup/nVol
> VG Name                NVolGroup
> LV Write Access        read/write
> LV Status              available
> LV #                   1
> # open                 1
> LV Size                152.66 GB
> Current LE             39082
> Allocated LE           39082
> Stripes                2
> Stripe size (KByte)    16
> Allocation             next free
> Read ahead sectors     120
> Block device           58:0
> 
> If I try to extend the LV with:
> lvextend -L+78164M /dev/NVolGroup/nVol
> then I get:
> lvextend -- rounding size 240119808 KB to stripe boundary size 240123904
> KB
> lvextend -- only 19541 free physical extents in volume group "NVolGroup"
> 
> Next try with: lvextend -l+19541 /dev/NVolGroup/nVol
> lvextend -- rounding size 240119808 KB to stripe boundary size 240123904
> KB
> lvextend -- only 19541 free physical extents in volume group "NVolGroup"
> 
> Where is the error?
> 
> Gru�
>   Carsten
> 
> --
> "Who the fuck is General Failure and why is he reading my disk?"
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

      parent reply	other threads:[~2001-05-29 21:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-29  9:33 [linux-lvm] Problem extending a LV Carsten Balzer
2001-05-29 17:01 ` AJ Lewis
2001-05-29 18:35   ` Austin Gonyou
2001-05-29 21:55     ` josv
2001-05-30  8:58       ` Tom Dawes-Gamble
2001-05-30 10:48       ` Oscar Wahlberg
2001-05-30  9:24     ` Heinz J. Mauelshagen
2001-05-29 21:10 ` Heinz J. Mauelshagen [this message]

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=20010529211002.A27030@sistina.com \
    --to=mauelshagen@sistina.com \
    --cc=linux-lvm@sistina.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.