Appendix A: Making nova-volume work

nova-volume is the OpenStack Compute component that will allow you to assign persistent storage devices to your virtual machines. Internally, it's using iSCSI, which is why you installed the tgt package earlier.

Assuming that you have a local LVM volume group entitled nova-volumes, you can try assigning a 1G large volume to our superfrobnicator VM by using these commands to create a 1G large volume and assign it accordingly: 

nova volume-create --display_name "volume1" 1
nova volume-attach superfrobnicator 1 /dev/vdb
Please take particular note of the parameter between superfrobnicator and /dev/vdb in this example. It refers to the actual ID of the volume. To find out a volume's ID, you can do
nova volume-list
and then use the value from the "ID" field for a specific volume. If everything went well, you'll see a new disk device in the superfrobnicator VM now, /dev/vdb