terraform-oci-compute-instance icon indicating copy to clipboard operation
terraform-oci-compute-instance copied to clipboard

No option to attach and mount the added block volumes

Open cosmindev opened this issue 6 years ago • 2 comments

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.

cosmindev avatar May 31 '19 16:05 cosmindev

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.

kral2 avatar Jan 25 '21 15:01 kral2

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

glynjackson avatar Mar 08 '22 15:03 glynjackson