* [linux-lvm] extending raw partition and logical partition
@ 2007-07-20 0:16 Gerry Reno
2007-07-20 0:40 ` Gerry Reno
0 siblings, 1 reply; 2+ messages in thread
From: Gerry Reno @ 2007-07-20 0:16 UTC (permalink / raw)
To: linux-lvm
I have 3 disk physical partitions:
/dev/sda1
/dev/sda2
/dev/sda3
VolGroup02 uses physical volume /dev/sda2.
I needed some more space on my logical partition
/dev/VolGroup02/LogVol00 (only LV in Group) so I went ahead and deleted
/dev/sda3 which left a bunch of free space. So then I went into fdisk
and removed /dev/sda2 and recreated it with the same starting cyl and
made the new end cyl the same as the old /dev/sda3 so I should have all
the space in both the old partitions. Rebooted, checked fdisk -l and
sure enough it had all the space. But now when I do a vgdisplay I still
don't see any FREE PE. It shows exactly the same as before I expanded
the physical partition. So how can I expand the LV if there is no FREE PE?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] extending raw partition and logical partition
2007-07-20 0:16 [linux-lvm] extending raw partition and logical partition Gerry Reno
@ 2007-07-20 0:40 ` Gerry Reno
0 siblings, 0 replies; 2+ messages in thread
From: Gerry Reno @ 2007-07-20 0:40 UTC (permalink / raw)
To: LVM general discussion and development
Nevermind.
pvresize /dev/sda2 did the trick. (I'm not working with LVM tools
everyday so you forget some of these things :-\ )
Gerry Reno wrote:
> I have 3 disk physical partitions:
> /dev/sda1
> /dev/sda2
> /dev/sda3
>
> VolGroup02 uses physical volume /dev/sda2.
> I needed some more space on my logical partition
> /dev/VolGroup02/LogVol00 (only LV in Group) so I went ahead and
> deleted /dev/sda3 which left a bunch of free space. So then I went
> into fdisk and removed /dev/sda2 and recreated it with the same
> starting cyl and made the new end cyl the same as the old /dev/sda3 so
> I should have all the space in both the old partitions. Rebooted,
> checked fdisk -l and sure enough it had all the space. But now when I
> do a vgdisplay I still don't see any FREE PE. It shows exactly the
> same as before I expanded the physical partition. So how can I expand
> the LV if there is no FREE PE?
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-20 0:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-20 0:16 [linux-lvm] extending raw partition and logical partition Gerry Reno
2007-07-20 0:40 ` Gerry Reno
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).