Skip to Content

Mount the File System (Linux)

Step 1: Install the Client

For the installation of the client, please refer to UPFS Client Install.

Step 2: Mount the File System

  • If the operation system of mounted cloud host is Ubuntu, the sudo command must be used to mount.

    sudo mount -t upfs <mount_address1>,<mount_address2>/<resource_id> /path/to/mount
  • If the operation system of mounted cloud host is not Ubuntu, use the following command to mount the file system:

    mount -t upfs <mount_address1>,<mount_address2>/<resource_id> /path/to/mount

    Explanation of command line fields:

    Command Line FieldsExplanation
    mountKeyword of mount command
    -t upfsSpecifies that the type of the file system to mount is UPFS
    <mount_address1>,<mount_address2>/<resource_id>File system URL obtained from the XXXCloud console page (For detailed URL rules, see the File System URL section in Fundamental Concepts)
    /path/to/mountThe local path to which the file system will be mounted. Ensure that this directory is not mounted by other file systems

    In addition, additional options can be added via -o during mounting (options are separated by commas). All available options are listed below:

    Option NameDescription
    roRead-only mode
    rwRead-write mode
    level=miniMount with the minimum performance specification, suitable for VMs with 1 CPU core and 2GB of memory
    level=maxMount with the standard performance specification
    level=ultraMount with the enhanced performance specification

    Example:

    mount -t upfs 100.64.240.95:10109,100.64.240.97:10109/upfs-yc3ae1gwpwg /mnt -o ro

Step 3: Check Mount Status

Execute the command df -h to check the status of the mounted file system. If the mount is successful, you will see the UPFS entry for the resource ID, the usage, mount point, and other information.

If there is a problem with mounting the file system, please contact XXXCloud technical support in time.