tencent cloud

Cloud File Storage

ドキュメントCloud File StorageGetting StartedUsing the Console or CFS Client Assistant to Mount File Systems

Using the Console or CFS Client Assistant to Mount File Systems

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-04-08 15:37:17

Introduction

This article provides detailed guidance for you on how to install/update NFS, SMB/CIFS, and Turbo clients on CVMs using the console or CFS client assistant, and connect to file systems.

Prerequisites

If you need to mount General series file systems, see General series CFS Practice Guide to use the recommended Linux operating system kernel version.
If you need to mount Turbo series file systems, ensure that the CVM is running a Linux operating system.
Note:
It is recommended to use the SMB protocol to mount file systems for Windows, and the NFS/TURBO protocol to mount file systems for Linux.
CVMs must have the Tencent Cloud TAT client installed. Instances created with public images after December 15, 2020 come with the TAT client pre-installed by default. If your CVM was created before that date or uses a custom image, see Installing TAT Agent for manual configuration.
Please check the client security group configuration to ensure inbound and outbound traffic is allowed for the ports corresponding to the file system IP address. For more information, see Adding a Security Group Rule. The ports required to be opened for different file protocols are listed in the table below:
File System Type
File System Protocol
Supported operating system types
Port direction
Open Port
General series
NFS 3.0
Linux/Windows
Outbound + Inbound
111,892,2049
NFS 4.0
Linux
Outbound + Inbound
2049
SMB/CIFS
Linux/Windows
Outbound + Inbound
445
Turbo series
TURBO
Linux
Outbound + Inbound
512 - 1023
Throughput
SMB/CIFS
Linux/Windows
Outbound + Inbound
445
Note:
You need to allow Outbound + Inbound traffic for all IP addresses corresponding to the CFS Turbo server network on the specified port numbers. For example: If you selected a CCN-type Turbo when creating Turbo and specified the network segment 11.0.0.0/24, your security group must allow Outbound + Inbound traffic on ports 512 - 1023 for 11.0.0.0/24, rather than only opening the mount target ports.

Operation Steps

Note:
The difference between console mounting and CFS Client Assistant mounting lies only in the fact that the CFS Client Assistant supports batch installation/updates of NFS, SMB/CIFS, or Turbo clients across multiple CVMs. The mounting process remains fundamentally consistent. This section only describes the method of mounting file systems via the console.
1. Log in to the CFS console > File Systems, locate the target file system in the list, and click Mount in the operation column.
2. Select the CVM. Choose the CVM where the mount operation will be performed. It is recommended to select the option to install client monitoring. After the details are confirmed, click Next.
The installation status of the file protocol client and its corresponding description are as follows.
Status
Description
Not installed
The file protocol client is not installed. Clicking Next will automatically install it.
Installed
The file protocol client is installed, such as lfs 2.12.4_20240521_46238c4.
Automatic installation unsupported
The CVM does not have the Tencent Cloud TAT client installed. Refer to the Installing TAT Agent to install it manually.
Slide the list to view the auto-mount configuration status. For details, see Automatically Mounting File Systems.
3. Installing/Updating the client. If you only plan to install or update the NFS, SMB/CIFS, or Turbo client, click Complete Installation; if you need to mount the file system, click Next.
Note:
To ensure reliable storage services, the console blocks certain known defective kernels, which may cause your client installation/update to fail. Please see the NFS Client Mount Parameter Description for troubleshooting. If your kernel is not listed among the known defective kernels nor the recommended kernels, submit a ticket to contact Tencent Cloud engineers for resolution.
4. Specify the mount parameters and click Next. The mount parameters are described below:
Note:
The current console mounting method only supports mounting within the same region. Cross-region mounting of file systems on CVM will fail. It is recommended that you refer to Using CFS File System on Linux Clients and Using CFS File System on Windows Clients to manually perform cross-region mounting.
Linux OS servers mount General series file systems or Turbo series file systems using the NFS protocol.
Project
Mount parameters
Required or Not
Description
Basic Settings
Mounting local path
Yes
Please enter the absolute path in the local system, such as /root.
Creating directories
No
Selected by default. By executing mkdir -p <mount local path> on the CVM to create a local directory.
File Permission Settings
Yes
Default is 755, meaning the file owner has read, write, and execute permissions, and the group and other users have read and execute permissions. On the CVM, execute sudo chmod 755 to change file access permissions. You can configure any file permission such as 600, 644, 666, 700, 755, 777 according to business requirements.
Protocol Version
Yes
This item is only displayed for the NFS protocol. Default is V3, meaning the NFS 3.0 protocol is used for mounting. You can choose to mount using either V3 or V4 (NFS 4.0) protocol based on your business requirements.
Automount on Reboot
No
Selected by default. It is recommended that you select this option to prevent disconnections in the file system caused by CVM failures or reboots, which may affect business continuity. For details, refer to Automounting File Systems.
Advanced Settings
CFS File System Directory
No
Subdirectory within the CFS file system, such as /abc. Please start with "/" and ensure the subdirectory exists.
Other Mount Options
No
You can refer to NFS Client Mount Parameter Description to customize other mount parameters.
Mounting General series file systems using NFS or SMB protocols on Windows operating systems.
Project
Mount parameters
Required or Not
Description
Basic Settings
Mounting local path
Yes
Drive letter to be mounted, such as X. Ensure the drive letter is not in use, otherwise it may result in mount failure.
Advanced Settings
CFS File System Directory
No
Subdirectory within the CFS file system, such as /abc. Start with "/" and ensure the subdirectory exists.
Note:
Windows operating system does not have a restart auto-mount option. It supports mounting General series file systems using NFS or SMB protocols by default when the server is restarted. For details, see Automounting File Systems.
In specific operational scenarios (for example, when the same drive letter X is used in the CFS console to successively mount File System A with NFS protocol and File System B with SMB protocol), the registry records both mount operations even if the latter fails. After server reboot, due to Windows' default affinity for SMB protocol, the system will prioritize mounting SMB-based File System B over the previously successful File System A. Thus, ensure the target drive letter is unoccupied before mounting is performed via the console.
5. Perform mounting. When the execution status is displayed as Completed, it indicates successful mounting. Click Done; if the status shows Failed, hover the mouse over the status bar to view the error message.
Note:
Mount failures may result from various factors. If the mounting method offered by the current console is not fully compatible with your server environment, it may also cause this issue. We recommend referring to Using CFS File Systems on Linux Clients and Using CFS File Systems on Windows Clients to attempt manual mounting first.
If manual mounting is successful, we welcome your feedback on the specific operating environment and procedures. We will continuously optimize the compatibility of the console mounting feature based on your actual usage scenarios.
If you still cannot mount successfully, you can troubleshoot the issue using the CFS self-service Detection Tools on the file system list page, or submit a ticket to contact Tencent Cloud engineers for technical support.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック