Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have devstack up and running on an Ubuntu 14.04 x86_64 VM in a single node environment.

The VM has / mounted on an 8GB primary disk and an 80GB secondary disk mounted on /mnt.

Output of mount

/dev/xvda1 on / type ext4 (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/xvdb on /mnt type ext3 (rw)

When nova starts up it only sees the primary disk as usable storage for VMs.

It doesn't recognize that it can use the 80Gb volume and I want it to.

I am new to Openstack/Devstack and I'm sure this is very easy, since I feel this has to be an extremely common use-case for people who just want to bring up a single node to develop against. I just don't know what commands to run or which config file to edit.

Does anyone know how this is done?

Internet searches seem to only point me to creating block storage for a specific instance and I don't care about that. I don't want to add volumes to instances. I want to add storage for provisioning instances to.

Many thanks.

share|improve this question

Persistent block storage is handled by cinder, not nova (compute).

If you set up cinder with its defaults, then it will use an LVM volume group named cinder-volumes to store block device volumes for virtual machines.

As a result, it's trivial to add storage space to this volume group; just pvcreate to create an LVM PV on a physical disk or disk partition, then vgextend to extend the VG onto the new PV.

For example:

umount /mnt    # and remove it from /etc/fstab of course
pvcreate /dev/xvdb
vgextend cinder-volumes /dev/xvdb
share|improve this answer
First off, thank you for the clarification. I noticed that devstack actually didn't create a cinder-volumes volume group by default, it create one called stack-volumes, which I assume is interchangeable. However, after extending that I see no change in Horizon when I look at Hypervisors so I thought I might have to restart all the cinder services, which I did, but I still can't verify the change. – Jasonovich Jun 5 '14 at 16:31
I don't know what devstack does; as sysadmins we don't use it. – Michael Hampton Jun 5 '14 at 16:32
If you were installing this from scratch, would you just vgcreate cinder-volumes and then extend it? Assuming nova isn't automagically aware that it exists, do you know if it's something in nova.conf in a normal Openstack installation? – Jasonovich Jun 5 '14 at 16:36
No, it's in cinder.conf. – Michael Hampton Jun 5 '14 at 16:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.