new Jenkins VM in PHX lab

Barak Korren bkorren at redhat.com
Wed Feb 10 09:02:19 UTC 2016


> able to do "live" storage incrase by adding a new volume to the LVM group in
> the following procedure:
>
>  created new virtio volume in the VM from phx-engine
>  fdisk /dev/vdd then: n -> p -> 1 -> enter -> enter -> t -> 8e -> w
>  vgextend jenkins_lvm /dev/vdd1
>  lvextend /dev/mapper/jenkins_lvm-data -L28G
>  xfs_growfs /dev/mapper/jenkins_lvm-data
>
> I was unable to increase the volume size from the engine, and then increase
> the partition size(only create a new partition on the same volume with the
> new increased space in the volume), not sure if that is possible.
>
You forgot the 1st thing we told you - "don't create partitions on the disk"...
Instead the whole disk '/dev/vdX' should be formatted as a PV, then you can
grow it from the engine and then 'pvresize' followed by 'lvresize'.


-- 
Barak Korren
bkorren at redhat.com
RHEV-CI Team



More information about the Infra mailing list