Oracle Cloud Infrastructure Documentation

Mount Command Fails

The export path of a file system must be correctly represented in your mount command, or the mount will fail.

The export path is specified when a file system is associated with a mount target. It uniquely identifies the file system within the mount target, letting you associate multiple file systems to a single mount target. The export path is appended to the mount target IP address, and used to mount the file system.

sudo mount /mnt/mountpointA

In this example, is the mount target IP address, and /example/path is the export path. /mnt/mountpointA is the path to the directory on the client instance on which the external file system is mounted.


To see the file system's export path for each of its mount targets, go to the file system's Details page. Each mount target that the file system is associated with appears in the Mount Targets list, along with file system export path information.

We recommend that you specify an export path for each file system for the following reasons:

  • If you do not specify a file path, then '/' represents the extent of the default file path. This can cause confusion when creating a mount command.
  • If one file system associated with a mount target uses an export path of '/' , it will prevent you from associating more file systems with that mount target. No two file systems associated with the same mount target can have an export path that contains a complete path of the other. For more information on path name requirements, click here.

To simplify file system management, exports and export sets are managed through the Console by the File Storage service. If you want more advanced export and export set configuration options, you can use the Command Line Interface (CLI) or API.

See Paths in File Systems for more information.