Ask Your Question

Do ephemeral disks attached to VM get auto mounted?

asked 2016-04-13 04:57:59 -0500

bbayani gravatar image

If I attach more than one ephemeral disks to a VM will they all be monuted, if so where? I am instance i see only /dev/vdb mounted at /mnt. I think this is due to presence of cloud-init. but i see in cloudinit there is mapping ofr only first ephemeral disk. Is taht why I dont see my other disks mounted ?

I can i configure cloud-init to auto-mount all my ephemeral disks on first boot?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-04-13 13:49:20 -0500

This is presented as a raw block device with no partition table or filesystem. Cloud aware operating system images may discover, format, and mount this device. For example the cloud-init package included in Ubuntu's stock cloud images will format this space as an ext3 filesystem and mount it on /mnt. It is important to note this a feature of the guest operating system. OpenStack only provisions the raw storage.

The following images will mount the ephemeral disk automatically since they have a cloud-init config

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2016-04-13 04:57:59 -0500

Seen: 1,193 times

Last updated: Apr 13 '16