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

Micha Holzmann holzmann at gmx.de
Fri Apr 20 11:47:43 UTC 2007


Hello,

since a few weeks we have an IBM SAN environment with Blade-Center.
The SAN controller is a DS4700 formerly known as FASTt. We have a LUN
with 200 GB of size. The LUN ist partioned:


fdisk -l /dev/sda

Disk /dev/sda: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         125     1004031   83  Linux
/dev/sda2             126       26108   208708447+   5  Extended
/dev/sda5             126         188      506016   83  Linux
/dev/sda6             189        1185     8008371   83  Linux
/dev/sda7            1186        1435     2008093+  83  Linux
/dev/sda8            1436        1560     1004031   83  Linux
/dev/sda9            1561        1810     2008093+  83  Linux
/dev/sda10           1811        2060     2008093+  83  Linux
/dev/sda11           2061        4053    16008741   83  Linux
/dev/sda12           4054       24960   167935446   8e  Linux LVM
/dev/sda13          24961       26108     9221278+  82  Linux swap



Now i had to increase the size of partition of sda12 which is a LVM.
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?

Best regards,
Micha

-- 
Who the hell is General Failure, and why he is reading my disk?




More information about the linux-lvm mailing list