Extend your lvm VolumeGroup

First, create your partition as you normally would. No need to set up a FileSystem on it.
In my case I’ll try to extend my vg01-var.

pvcreate /dev/sdb1
vgextend vg01 /dev/sdb1
lvextend /dev/vg01/var /dev/sdb1
resize2fs /dev/vg01/var

Additional info:
My sdb1 was already lvmed into something by someone, so I had to umount and to stuff:

umount /raid
vgchange -a n vg02
vgremove vg02

Leave a Reply

Your email address will not be published. Required fields are marked *