Mounting FileSystems on Clients

Each filesystem in Oracle Cloud Infrastructure Storage Software Appliance maps a directory on the appliance host to a container or bucket. To establish the connection between Oracle Cloud Infrastructure Storage Software Appliance and an NFS client, you must mount the appliance filesystem on the NFS client.

Verified NFS Clients
  • Oracle Linux 6.4, 6.6 and 7.3
  • Ubuntu 14.04 and 16.04
  • CentOS 7
  • Debian 8 Jessie

Note:

The above list of NFS clients have been tested and verified. However, you can use any other NFS client apart from this list.
Steps
  1. Log in to the appliance host.
  2. Start the appliance by entering the following command:

    oscsa up

  3. Find out the NFS port number:

    oscsa info

    Make a note of the NFS port number from the output.

    Sample output:
    Management Console: https://myApplianceHost.example.com:32775
    
    If you have already configured an OSCSA FileSystem via the Management Console,
    you can access the NFS share using the following port.
    
    NFS Port: 32774
    
    Example: mount -t nfs -o vers=4,port=32774 myApplianceHost.example.com:/filesystem_name /local_mount_point
    In the sample output,
    • myApplianceHost.example.com is the appliance host name
    • 32775 is the management console port number
    • 32774 is the NFS port
  4. Log in to the NFS client from which you want to access your service instance through the appliance.
  5. Create a directory on the NFS client.
  6. Mount the filesystem on the directory which you created on the NFS client:

    sudo mount -t nfs -o vers=4, port=NFS_port appliance_host:/OSCSA_filesystem_name /local_mount_point_on_NFS_client

    In this command,
    • Replace appliance_host with the server name or IP address of the server on which the appliance is installed.
    • Replace OSCSA_filesystem_name with the filesystem name that you want to mount.
    • Replace /local_mount_point_on_NFS_client with the path to the directory you created on the NFS client.

    Example

    mount -t nfs -o vers=4, port=32774 myApplianceHost.example.com:/myFirstFS /home/xyz/abc

    In this example,

    • 32774 is the NFS port
    • myApplianceHost.example.com is the appliance host name
    • myFirstFS is the filesystem name
    • /home/xyz/abc is the path to the directory abc on the NFS client

The appliance filesystem is now mounted on the NFS client directory. You can now access the appliance filesystem from the NFS client.

For more information, see Using the Appliance to Store and Retrieve Data.

Tip:

To learn how to back up data on a Linux host and store it on your Oracle Cloud Infrastructure Object Storage Classic account using the appliance, see the tutorial Tutorial icon Backing Up Data Using Oracle Cloud Infrastructure Storage Software Appliance.