[Openstack] [Nova] [Cinder] Block device name / ordering

Bruno L teolupus.ext at gmail.com
Thu Feb 18 00:49:10 UTC 2016


Hi everyone,

Could not figure this one out based on docs, wiki, or previous posts on the
mailing list.

We use KVM as our hypervisor on the Catalyst Cloud in New Zealand. Unlike
Xen, KVM does not support setting the device name (eg: /dev/vdc) of a
cinder volume within the guest. If a user specifies the device name it is
ignored and cinder will display the device name that has been assigned.

To what extent is the device name (mountpoint) displayed by Cinder / Nova
reliable? Is Cinder just naming attachments in alphabetical order hoping
that it is correct, or actually obtaining the device name from the
hypervisor?

If a user attaches 2 volumes with the same size to a compute instance (eg:
one for a database and one for media assets), how can he or she identify
which one is what? From what I can see on our compute instances, the device
ID or UUID does not match the volume name or UUID displayed by OpenStack.
What is the best way to ensure you are dealing with the correct device?

Do you know if there is work going on in KVM to allow a device name to be
specified like in Xen?

Cheers,
Bruno

Catalyst Cloud
http://www.catalyst.net.nz/catalyst-cloud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160218/077415b8/attachment.html>


More information about the Openstack mailing list