Ask Your Question

Mapping a raw disk to guest VM?

asked 2013-10-22 08:50:48 -0600

blackberet gravatar image

updated 2013-10-25 16:48:20 -0600

smaffulli gravatar image

Is there a way to map a host(KVM) local SATA disk to a guest in OpenStack? (Bypassing Cinder, I guess)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-17 12:23:12 -0600

kishore gravatar image

updated 2015-11-17 12:24:18 -0600

yes, using ephemeral disk

When you create a flavor you can specify a ephemeral disk. Then when the instance is launched, select the flavor with the ephemeral disk. The guest VM should see a /dev/sdb device.

nova flavor-create --ephemeral 10 --swap 1024 --is-public True testflavor5 64 1024 30 4

run lvmdiskscan to view the device or fdisk -l


fdisk -l

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

[hide preview]

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-22 08:50:48 -0600

Seen: 182 times

Last updated: Nov 17