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