From: Matthias Meyer <Matthias.Meyer@gmx.li>
To: linux-lvm@redhat.com
Subject: [linux-lvm] can't resize my lvm
Date: Mon, 21 Nov 2005 19:34:13 +0100 [thread overview]
Message-ID: <200511211934.13943.Matthias.Meyer@gmx.li> (raw)
Hello,
I have a Volume Group with one pysical volume. I try to add another physical
volume (which was in another Volume group before).
All seems to work fine but e2fsadm do not change the size of the filesystem.
What is wrong?
vdr:~# vgdisplay LVM2
--- Volume group ---
VG Name LVM2
VG Access read/write
VG Status available/resizable
VG # 1
MAX LV 256
Cur LV 1
Open LV 0
MAX LV Size 2 TB
Max PV 256
Cur PV 1
Act PV 1
VG Size 186 GB
PE Size 256 MB
Total PE 744
Alloc PE / Size 744 / 186 GB
Free PE / Size 0 / 0
VG UUID a4BzYX-fkun-VZuG-jnFA-kgLK-dmLz-eUe79w
vdr:~# vgextend LVM2 /dev/hdc1
vgextend -- INFO: maximum logical volume size is 2 Terabyte
vgextend -- doing automatic backup of volume group "LVM2"
vgextend -- volume group "LVM2" successfully extended
vdr:~# pvdisplay /dev/hdc1
--- Physical volume ---
PV Name /dev/hdc1
VG Name LVM2
PV Size 93.13 GB [195318207 secs] / NOT usable 256.19 MB [LVM:
129 KB]
PV# 2
PV Status NOT available
Allocatable yes
Cur LV 0
PE Size (KByte) 262144
Total PE 371
Free PE 371
Allocated PE 0
PV UUID HfCAkU-DEmn-4FE0-8OyR-E9Vw-eJV9-KTNTer
vdr:~# lvextend -l+371 /dev/LVM2/Media /dev/hdc1
lvextend -- extending logical volume "/dev/LVM2/Media" to 278.75 GB
lvextend -- doing automatic backup of volume group "LVM2"
lvextend -- logical volume "/dev/LVM2/Media" successfully extended
vdr:~# lvdisplay /dev/LVM2/Media
--- Logical volume ---
LV Name /dev/LVM2/Media
VG Name LVM2
LV Write Access read/write
LV Status available
LV # 1
# open 0
LV Size 278.75 GB
Current LE 1115
Allocated LE 1115
Allocation next free
Read ahead sectors 1024
Block device 58:1
vdr:~# e2fsadm -l 1115 /dev/LVM2/Media
e2fsadm -- size of "/dev/LVM2/Media" would not change
--
Don't Panic
next reply other threads:[~2005-11-21 18:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 18:34 Matthias Meyer [this message]
2005-11-21 22:22 ` [linux-lvm] can t resize my lvm Matthias Meyer
2005-11-22 9:58 ` Heinz Mauelshagen
2005-11-22 22:26 ` Matthias Meyer
2005-11-22 23:02 ` Heinz Mauelshagen
2005-11-23 1:10 ` Matthias Meyer
2005-11-23 22:36 ` Matthias Meyer
2005-11-25 20:21 ` Matthias Meyer
2005-11-27 13:07 ` Matthias Meyer
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=200511211934.13943.Matthias.Meyer@gmx.li \
--to=matthias.meyer@gmx.li \
--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).