Re: Resizing of a LVM partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, I guess the problem was that when I first created the logical
volumes I used pvcreate on the single partition on the disk and not on
the whole disk. Any way, what I now did was to create a new partition
in the free space and add it to the logical volume.

A question: if I had used pvcreate on the whole disk in the first
place could I now have used pvresize to take the free space into use
without creating a new partition?

/markus

On 10/01/07, Tom Spec <samag70-ignore@xxxxxxxx> wrote:

USE THIS INFORMATION AT YOUR OWN RISK!!

Assuming you are sure you know which disk you added, this is how you
expand...

1) Make the disk LVM aware
pvcreate /dev/sd<x> [if you have a problem you can force with -f]

2) Add the Disk into the Volume Group
vgextend <Volume Group Name> /dev/sd<x>

3) Extend the Logical Volume
lvextend -L +yG /dev/<Volume Group>/<Logical Volume> [ Where y is the size
in GB of the new disk ]

4) Extend the filesystem
ext2online <mountpoint>



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux