All Products
Search
Document Center

Function Compute:JuiceFsMountConfig

Last Updated:May 09, 2026

Parameter

Type

Description

Example

object

Configuration for mounting a JuiceFS volume.

volumeName

string

The name of the JuiceFS volume to mount. This parameter is required.

mountDir

string

The path within the function's local filesystem to mount the volume. For example, /mnt/data. This parameter is required.

remoteDir

string

The subdirectory within the JuiceFS volume to mount. If not specified, the root of the volume is mounted.

token

string

The authentication token to access the JuiceFS volume.

args

array

An array of strings containing additional command-line arguments for the mount command. For example, use these arguments to set cache sizes or other performance-tuning options.

string

A single command-line argument or option string.