Re: How to resize a PV located on a SAN LUN

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

 



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

> 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
it?

> 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).

hth,
tom.

-- 
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

_______________________________________________
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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux