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

Re: [linux-lvm] How to resize a PV located on a SAN LUN

On Fri, 2007-04-20 at 13:47 +0200, Micha Holzmann wrote:
> Hello,

> Now i had to increase the size of partition of sda12 which is a LVM.
why would you want to do that? if your vg is running out of free
extents, why not just add a new LUN from the SAN and extend the vg with

> I am not sure which is the right way. Within the storage managment
> software i can increase the size of the LUN. After rebooting the machine
> the additional space is appended at the end of partitions and it is
> marked as free. How can i now increase the LVM partition. Which
> tool/programm i do need for this task?
you can't really increase the physical volume, because there's a swap
partition between your physical volume and the free space.
use fdisk to partition the free space as /dev/sda14, create a physical
volume on the new partition (pvcreate /dev/sda14) and extend the
volume group with the new physical volume (vgextend yourvg /dev/sda14).


Thomas "Duke" Hager                       {duke,hager} sigsegv at
GPG: 1024D/D27F858C            http://www.sigsegv.at/gpg/duke.gpg
"Never Underestimate the Power of Stupid People in Large Groups."

Attachment: signature.asc
Description: This is a digitally signed message part

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