Open cosmindev opened 5 years ago
There is several ways to handle this. The most reliable one may be using the oci daemon which is included in all "platform provided" images.
"Paravirtualized" attachment is the most straightforward and would probably be the first to be added to this module. We will later investigated how to support "iSCSI" attachment in the best way.
From what I under stand the oci daemon does not "mount" the volume, you still need to login even with Paravirtualized and mount after instance is created and the volume attached i.e. sudo mount /dev/sdb /mongodb
I suggest adding the code in the right, optionally, for Linux instances to attach (iSCSI) and mount the optional volumes. Offcourse that we need to consider non-Linux environments and non-iSCSI volumes.