Ask Your Question
0

Is it possible to change the volume backing file size?

asked 2012-07-25 02:45:49 -0500

Vincent gravatar image

By specifying the value for VOLUME_BACKING_FILE_SIZE in localrc, devstack can determize the total size for volumes and volume snapshots. After I have run the devstack for the first time, is it possible to change the volume backing file size? I have tried to change the value for VOLUME_BACKING_FILE_SIZE, but it did not seem to work. The size is still the same to the one I gave for the first time.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-07-25 02:45:49 -0500

Vincent gravatar image

By specifying the value for VOLUME_BACKING_FILE_SIZE in localrc, devstack can determize the total size for volumes and volume snapshots. After I have run the devstack for the first time, is it possible to change the volume backing file size? I have tried to change the value for VOLUME_BACKING_FILE_SIZE, but it did not seem to work. The size is still the same to the one I gave for the first time.

edit flag offensive delete link more
0

answered 2012-07-25 07:37:20 -0500

thingee gravatar image

You have to do the following:

1) Delete /opt/stack/data/stack-volumes-backing-file 2) Delete the volume group by running the following command: vgchange -a n stack-volumes && vgremove stack-volumes

Then rerun devstack.

edit flag offensive delete link more
0

answered 2012-07-25 08:48:17 -0500

Vincent gravatar image

Thanks Mike Perez, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2012-07-25 02:45:49 -0500

Seen: 445 times

Last updated: Jul 25 '12