How to increase the storage of volumes in PackStack

asked 2018-11-12 05:36:15 -0600

soheil08 gravatar image

updated 2018-11-12 06:05:43 -0600

Hi, I installed OpenStack RDO on one node. The size of the root OS was 460GB (as shown in the horizon dashboard). I launched 18 instances with a volume size of 20GB. In the overview part of the dashboard, it shows I used 360GB of volume storage. There is no data in instances (just OS files). But when I try to launch a new instance with the size of 20GB it errors on creating volume. I checked the nova and cinder logs but they didn't contain something special about the error.

Just for a test, I tried to create volumes with the size of 15GB and 10GB and no error happened, so I guess we have a capacity problem. I checked the compute OS storage status, but it has so much capacity! I guess OpenStack configure just a part of the compute disk for volumes and I don't know where OpenStack store them. I only found a path in the /dev/cinder-volumes that contains volume ids but it's just a link!

Note: I found this error on cinder scheduler :

Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found

Here is the result of the command vgs:

VG                        #PV #LV #SN Attr   VSize    VFree   
  centos                      1   3   0 wz--n- <464.76g    4.00m
  centos_host-192-168-0-199   1   4   0 wz--n-  <19.00g       0 
  cinder-volumes              1  20   0 wz--n-  <20.60g 1012.00m

How can I increase the storage of cinder volumes?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2018-11-12 09:14:32 -0600

Packstack creates volumes in an LVM volume group that contains a single physical volume. This physical volume is, in fact, a file that is turned into a device with losetup. Its size can be configured with CONFIG_CINDER_VOLUMES_SIZE and is 20GB by default.

Here is my answer to a very similar question last year:

edit flag offensive delete link more


Thanks, I installed the PackStack using the default value. Is it possible to increase the volume's space after installing PackStack?

soheil08 gravatar imagesoheil08 ( 2018-11-13 04:07:18 -0600 )edit

In principle yes, but it may require some work and is a bit risky. See the discussion at

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-13 04:28:36 -0600 )edit

answered 2018-11-12 05:42:27 -0600

updated 2018-11-14 08:14:25 -0600

you installed the openstack using packstack. The default volume size in packstack is 20GB.

In your packstack Installation ,you defined like below mentioned

Cinder's volumes group size. Note that actual volume size will be

maybe this link will helps to increase volume capacity

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-12 05:36:15 -0600

Seen: 1,730 times

Last updated: Nov 14 '18