All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ron Arts <raarts@netland.nl>
To: linux-lvm@sistina.com
Subject: [linux-lvm] not enough free/allocatable physical extents to extend logical volume
Date: Mon Mar 10 08:17:01 2003	[thread overview]
Message-ID: <3E6C61AE.2060307@netland.nl> (raw)
In-Reply-To: BDEMIPDEGABMNEFIHCPDMEOFEJAA.bill+f.9sfuw6uo@tao-group.com

[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]

Hello,

Am I making some stupid mistake here?
I want to extend the space on /dev/vg1/mysql on physical volume /dev/sdb4

The command I tried is:

[root@cms-db root]# lvextend -L +50G /dev/vg1/mysql /dev/sdb4
lvextend -- extending logical volume "/dev/vg1/mysql" to 100 GB
lvextend -- not enough free/allocatable physical extents to extend logical volume "/dev/vg1/mysql"

But pvdisplay says there should be enough PE there:

[root@cms-db root]# pvdisplay /dev/sdb4
--- Physical volume ---
PV Name               /dev/sdb4
VG Name               vg1
PV Size               108.92 GB [228428235 secs] / NOT usable 4.25 MB [LVM: 236 KB]
PV#                   1
PV Status             available
Allocatable           yes
Cur LV                2
PE Size (KByte)       4096
Total PE              27883
Free PE               18358
Allocated PE          9525
PV UUID               C7C5NM-PpaJ-hSbj-jPqn-f1TF-mvuQ-M7a70T

lvdisplay says the following:

[root@cms-db root]# lvdisplay /dev/vg1/mysql
--- Logical volume ---
LV Name                /dev/vg1/mysql
VG Name                vg1
LV Write Access        read/write
LV Status              available
LV #                   1
# open                 1
LV Size                50 GB
Current LE             12800
Allocated LE           12800
Stripes                2
Stripe size (KByte)    16
Allocation             next free
Read ahead sectors     10000
Block device           58:0


According to the FAQ I should not specify the physical volume, and when
I tried that it worked, but now O don't know where my space is allocated.

Ron Arts

-- 
Netland Internet Services
bedrijfsmatige internetoplossingen

http://www.netland.nl   Kruislaan 419              1098 VA Amsterdam
info: 020-5628282       servicedesk: 020-5628280   fax: 020-5628281

Let's split up, we can do more damage that way.

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3291 bytes --]

  reply	other threads:[~2003-03-10  8:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07  8:01 [linux-lvm] lvm and md Peter Yao
2003-03-07  8:11 ` Heinz J . Mauelshagen
2003-03-07  9:42 ` Jon Bendtsen
2003-03-09 19:35   ` Peter Yao
2003-03-10  2:05     ` Luca Berra
2003-03-10  3:05     ` William Blunn
2003-03-10  3:29       ` William Blunn
2003-03-10  8:17         ` Ron Arts [this message]
2003-03-10  3:50     ` Jon Bendtsen
2003-03-09 16:59 ` Stephan Austermuehle

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=3E6C61AE.2060307@netland.nl \
    --to=raarts@netland.nl \
    --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.