You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
FSX best practices
Mounting with custom domains
Copy page
Download PDF
Mounting with custom domains
You can mount a TOS bucket on Linux using a custom domain name through FSX. Once mounted, you can access the objects stored in the bucket on your Linux system.​
Prerequisites​
You have installed FSX. For more information, see Downloading and installing FSX.​
Steps​
  1. Type this command into your Linux terminal to create a mount point.​
  • ​
    mkdir /mnt/point​
    ​
  1. Run this command to mount a bucket with the custom domain name.​
  • ​
    mount -t fsx /tos/<bucket name> <mount point> -o region="<your region>",endpoint="<your custom domain>",credential_filepath="<absolute path of credentials file>",no_writeback_cache,tos_is_custom_domain=true​
    ​
  • Example 1 (HTTP):​
  • ​
    mount -t fsx /tos/bkt-name /mnt/fsx-test -o region=cn-beijing,endpoint=http://www.test.com,credential_filepath="<absolute path of credentials file>",no_writeback_cache,tos_is_custom_domain=true​
    ​
  • Example 2 (HTTPS):​
  • ​
    mount -t fsx /tos/bkt-name /mnt/fsx-test -o region=cn-beijing,endpoint=https://www.test.com,credential_filepath="<absolute path of credentials file>",no_writeback_cache,tos_is_custom_domain=true​
    ​
tip​
​
Last updated: 2025.12.10 14:04:15