How to extend and reduce VG

How to extend and reduce VG
====================================================================================

Extend

1> create partition using cfdisk and partition type is 8E.

2> #partx -a /dev/sda

3> #pvcreate /dev/sda12

4> #vgextend vg0 /dev/sda12 ——->#vgextend vg_name pv_name

Note : check new size as “#vgs”

====================================================================================

Reduce

#vgreduce vg0 /dev/sda12

Note : check as “#vgs”

====================================================================================

Posted in partitions

Leave a Reply