Ask Your Question

Revision history [back]

I didn't understand why you trying to increase cinder-volumes size. That is a Volume Group(vg) not physical Volume (pv). You can do the following:

  1. Create a new backing image with required size: dd if=/dev/zero of=MyImage.img bs=1G count=4
  2. Create a loopback device with the above image: losetup /dev/loop1 MyImage.img # for Example I am talking loop1
  3. Then create physical volume on that loop back device pvcreate /dev/loop1
  4. Now create a volume group "cinder-volumes" vgcreate "cinder-volumes" /dev/loop1 # Delete the volume group with the same name using "vgremove"

Now you should be able to create your volume of 1GB.