step by step extend volume size in openstack
Openstack Extend Volume Step 1: View the current volume groups by “pvs” command pvs /dev/loop0 is cinder-volumes lvm2, its 20 GB volume Step 2: Increase the capacity of the volume group by creating a new partition cd /var/lib/cinder dd if=/dev/zero of=cinder-volumes1 bs=1 count=0 seek=50G Here: cinder-volumes = file name 50GB = new volume size Step 3: File is associated to the loop device /dev/loop1 losetup /dev/loop1 cinder-volumes1 Step 4: Create partition using fdisk fdisk /dev/loop1 Create New Partition : Command (m for help): n Partition type: p primary (0 primary, 0 extended, 4 free) e extended Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-104857599, default 2048): #Enter Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-104857599, default 104857599): #Enter C...