Torch Object Storage
Parameter | Type | Description |
Parameter | Type | Description |
bucket | String | Bucket name. |
prefix | String | Object prefix. |
mount_point | String | The path of the local file system directory where the bucket will be mounted. |
-sc | Enum | The storage type of the objects that will be written to the mounted bucket. The options are as follows:
|
-fg | Bool | Mount the bucket as a foreground process. |
-ro | Bool | Mount the bucket as a read-only local file system directory. |
-ad | Bool | Allow delete operations on the local file system directory. |
-adr | Bool | Allow recursive directory deletion. tip The -adr parameter only supports FNS buckets. For more information on FNS buckets, see Bucket type. |
-aow | Bool | Allow overwrite operations on the local file system directory. |
-ar | Bool | Allow renaming (moving) operations on the local file system directory. |
-ac | Bool | Allow append-only writes on existing files. tip |
-ao | Bool | Allow other operating system users to access the local file system directory. |
-dau | Bool | Disable automatic unmounting when the process closes. |
-dbcbr | Bool | Disable the mechanism that builds a local cache of file metadata through readdir operations. |
-vchecksum | Bool | Check data integrity for sequential reads and writes. |
-dm | Integer | The permission mode for directories within the local file system. The default value is 0755. |
-fm | Integer | The permission mode for files in the local file system. The default value is 0644. |
-uid | Integer | The user ID (UID) will be assigned as the owner of the local file system directory. The default is the UID of the current user. |
-gid | Integer | The group ID (GID) will be assigned as the owner of the local file system directory. The default is the GID of the current user. |
-pprof | Bool | Enable or disable the pprof service. The pprof service is enabled by default. |
-pport | Integer | The port number used when enabling the pprof service. The default value is 18888. |
-bgt | Integer | The maximum number of asynchronous fuse command requests allowed by the operating system. The default value is 16. |
-etmout | Integer | Sets the entry timeout for the local file system directory, in seconds. The default value is 1 second. |
-atmout | Integer | Sets the attribute timeout for the local file system directory, in seconds. The default value is 1 second. |
-ntmout | Integer | Sets the negative timeout for the local file system directory, in seconds. |
-rconcurrency | Integer | The maximum number of concurrent reads from the bucket. The default value is 100,000. |
-wconcurrency | Integer | The maximum number of concurrent writes to the bucket. The default value is 100,000. |
-oconcurrency | Integer | The maximum concurrency for non-read/write operations on the bucket. The default value is 1,000. |
-rl | Integer/String | The maximum bandwidth (throughput) for read/write operations in bytes. The default value is 1 GB. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-debug | Bool | Enable debug logging for the fuse command. |
-dld | String | The local directory for debug logs. |
-mpt | Integer | The maximum number of prefetch tasks when reading a single file. The default value is 1. |
-spt | Integer | The number of shareable prefetch tasks when reading files. If not set, this number is proportional to the maximum bandwidth (throughput) for read/write operations. |
-rbs | Integer/String | The cache block size for reading data. The default value is 1 MB, with a maximum of 10 MB. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-rps | Integer/String | The maximum part size for reading data. The default value is 8 MB. If not set, the maximum part size depends on the size of the object in the read request. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-ups | Integer/String | The part size for writing data. The default value is 8 MB. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-mrbs | Integer/String | The maximum memory available for a single prefetch task when reading an individual object. The default value is 100 MB. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-mwbs | Integer/String | The maximum memory available for writing a single object, without using local temporary files. The default value is 50 MB. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-mlh | Integer/String | The maximum memory available for read/write operations. This value is set to 70% of the system's total memory by default. tip
|
-tfd | String | The directory for local temporary files, which are used when writing data and when the part size exceeds 20 MB. |
-futf | Bool | Force using local temporary files when writing data, regardless of the part size. |
-cctf | Bool | Sets whether to calculate the CRC-64 checksum of the local temporary file when writing data to ensure data integrity during an asynchronous upload. The options are as follows:
|
-mts | Integer/String | The size limit for the local temporary directory used for writing data. The default value is 1 TB. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-rlft | Integer/String | The size limit for large files during rename operations. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-cfd | String | The directory for local cache files used when reading data. If this value is not set, local caching will not be enabled. |
-mcs | Integer/String | The maximum space that the local cache can occupy when local caching is enabled. The default value is 1 TB. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB—just write "1 MB" and the program will recognize it. |
-ce | Integer | Sets how long the local cache will be reserved, when local caching is enabled, in seconds. The default value is 3,600 seconds. |
-rfdl | Integer | The maximum number of file descriptors that can be open for writing at the same time. The default value is 10,000. |
-wfdl | Integer | The maximum number of file descriptors that can be open for reading at the same time. The default value is 10,000. |
-nftr | Bool | When a flush operation is performed on an open file descriptor (fd), the data is not written to the bucket immediately, but rather, it is only written upon resource release. |
-ntfc | Bool | Sets whether to use the truncate parameter when creating a new file. The options are as follows:
|