Connecting to Volumes With Consistent Device Paths

Oracle Cloud Infrastructure supports consistent device paths for block volumes that are attached to compatible Linux-based instances. When you attach a block volume to an instance, you can optionally select a device path that remains consistent between instance reboots. This enables you to use a consistent device path when you refer to the volume to perform tasks such as:

When you use consistent device paths on compatible Linux-based instances, the boot volume's device path is:

/dev/oracleoci/oraclevda

Tip

Although specifying a consistent device path is optional, we recommend that you specify one when you attach a data volume to a compatible instance. If you don't specify a device path for attached block volumes, there is no guarantee that the boot volume device path will be /dev/oracleoci/oraclevda.

Images that Support Consistent Device Paths

Consistent device paths are supported on instances when all of the following things are true:

Device Paths in the Console

If you specify a device path, the path appears in the Attached Block Volumes list for an instance, in the Device Path field. An example is shown in the following screenshot. If you don't specify a device path, this field is blank.

Device Paths on the Instance

Use the following sample commands to perform various configuration tasks on the attached volume. Commands are provided for volumes that use consistent device paths and for volumes that don't.