Users of Unix-style operating systems and Windows Server 2008 R2, 2012 R2, or 2016 can connect to a file system and write files. Mount targets serve as file system network access points. After your mount target is assigned an IP address, you can use it together with the file system export path to mount the file system. On the instance from which you want to mount the file system, you need to install an NFS client. For Unix-style operating systems, you create a mount point. When you mount the file system, the mount point effectively represents the root directory of the File Storage file system, allowing you to write files to the file system from the instance. Windows operating systems use a drive letter assignment instead of a mount point to represent root access.
- The file system must be associated with a mount target. File systems are generally associated with a mount target when they're created. However, they can be associated to more than one mount target, or detached from all mount targets. See Managing File Systems for more information.
- Correctly configured security list rules in the VCN subnet where the file system's associated mount target resides. See Security Lists for information about how security lists work in Oracle Cloud Infrastructure. Use the instructions in Configuring VCN Security List Rules for File Storage to set up security lists for your file systems.
Mounting File Systems From an Instance
Mounting File Systems From Unix-Style Instances (Including Oracle Linux DB instances)
Obtaining Mount Command Samples
You can use the Console to get mount command samples that include all the information for a specific mount target and file system. Samples are available for the following operating system images:
- Oracle Linux
- Red Hat Linux
When mounting file systems, don't use mount options such as
wsize. These options cause issues with performance and file locking.
Required IAM Service Policy
To use Oracle Cloud Infrastructure, you must be given the required type of access in a An IAM document that specifies who has what type of access to your resources. It is used in different ways: to mean an individual statement written in the policy language; to mean a collection of statements in a single, named "policy" document (which has an Oracle Cloud ID (OCID) assigned to it); and to mean the overall body of policies your organization uses to control access to resources. written by an administrator, whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you try to perform an action and get a message that you don’t have permission or are unauthorized, confirm with your administrator the type of access you've been granted and which A collection of related resources that can be accessed only by certain groups that have been given permission by an administrator in your organization. you should work in.
For administrators: The policy in Let users create, manage, and delete file systems allows users to obtain mount commands.
Open the navigation menu. Under Core Infrastructure, click File Storage.
In the List Scope section, select a compartment.
The Console displays a list of file systems that have already been created in the compartment, if any.
- Find the file system you want to mount, click the Actions icon (three dots), and then click View File System Details.
- In Resources, click Mount Targets.
- Find the mount target you want to use, click the Actions icon (three dots), and then click Mount Commands.
- In Image, choose the image of the Compute instance you want to mount the file system to.
- Click the Copy link to copy the commands.