I am at my wits end after hours of trying to attach a physical disk to a vm.
I simply want to add for example /dev/sdb from my node to my VM. Nothing more.
Using virt-manager I can simply add a new disk as “raw”, linking to my device and boot.
How can this be achieved using OpenNebula Sunstone? Looking through the section in the docs did not help either.
I created a RDM datastore which obviously can’t be attached to the VM. Is there a way to add an image that links to the RDM linking to the physical device?
Now deploy your template. Mind that deploying it multiple times may result in data corruption as multiple VM’s will access the same device! This is more of a solution for a single VM with persistent storage.
I have been thinking about similar idea but I am so impressed by your approach. However, I am new to opennebula but wish to know some few things if you don’t mind:
is “your_local_storge” a disk on front-end? lets say my a disk on my centos7?
it is possible to install the OS on this disk if I manage to add it (i.e will it behave like any primary disk"