Make attached volume persistent

asked 2015-08-06 00:15:48 -0500

Prithiv gravatar image

I have created a VM, a Volume and attached the volume to the vm using nova attach command. I logged in into the vm and mounted it to a mount point /test. But when I do reboot or hard reboot of the vm, the volume is still attached but not mounted. How would I make my volume persistent so that its mounted even after restart. I dont want to do fstab entry manually whenever the volume has been attached coz the amount of the vol i create is more and the customer using my vm doesnt know which device (vdc, or vdd) is attached. Is there any provision to do it through configuration or code change/

edit retag flag offensive close merge delete