Elastic Cloud Server

One-click file system mount

2025-11-24 08:27:04

One click mounting of NAS file system on newly purchased cloud server

Prerequisites

The file system has been created. For details, see Elastic File - Get Started - Create File System

Limitations

· Image: Only cloud servers using public images are supported for mounting NAS file systems, and private images are not currently supported.

· Mount directory: Only the root directory of the NAS file system is supported, and subdirectories of the NAS file system are not supported.

· VPC: The NAS file system and the cloud server must belong to the same VPC; when multiple NAS file systems are mounted at the same time, the mount address of each file system must belong to the same VPC.

· Subnet: If the NAS file system selects an ipv6 mount address, the cloud server needs to select a subnet of the dual-stack type (with ipv6 enabled).

· Mount Path: When mounting multiple NAS file systems at the same time, the mount path of each file system cannot be duplicated or nested.

· Cloud server that mounts NAS file system does not support replacing VPC.

· Cloud server that mounts NAS file system does not support one-click reinstall.

Procedure

1. Log in to the console.

2. Click at the top of Control Center and select Region.

3. Click Product and Service List in the left navigation bar and select Computing > Elastic Cloud Server.

4. On the Elastic Cloud Server list page, click Create Cloud Server.

5. In the first step of creating a cloud server Basic Configuration, you can select a file system to mount. Important configurations are as follows:

File system: Linux images only support NFS protocol file systems, while Windows images only support CIFS protocol file systems.

Mount address: Used for network connectivity between NAS and cloud server, which needs to belong to the same VPC as the cloud server.

Mount path: The local path to access NAS from the cloud server.

§ If Linux is selected for the image

§ The length of a single directory cannot exceed 255 characters, and the total length cannot exceed 4095 characters;

§ Must start with /, consisting of numbers, letters, dots(.), underscores(_), and minus signs(-), separated by / (slash);

§ Cannot be system path: /, /bin, /usr, /boot, /dev, /etc, /lib, /lib64, /proc, /run, /sys, /var, /tmp, /sbin;

§ The mount path filled in for each configuration cannot be duplicate;

§ It is recommended to create a new local path under /mnt as the mount path, such as: /mnt/docs;

§ If Windows is selected for the image

§ Only a single letter within [E~Z] can be entered as the drive letter;

§ It is recommended to choose Z as the mounting drive letter. If Z is occupied, please re-enter another letter as the drive letter;

Protocol type: NFS file system can choose NFSv3 protocol or NFSv4 protocol, and CIFS file system can choose CIFS protocol.

Mount parameters: automatically filled in according to the selected protocol type and cannot be modified.

Auto mount at startup: When checked, the file system will be automatically mounted every time the cloud server starts.

6. After successfully creating the cloud server, the NAS will automatically complete the mount, if the NAS mount fails, it will not affect the result of creating cloud server.

One click mounting of NAS file system on the purchased cloud server

Prerequisites

The file system has been created. For details, see Elastic File - Get Started - Create File System

Limitations

· Image: Only cloud servers using public images are supported for mounting NAS file systems, and private images are not currently supported.

· Mount directory: Only the root directory of the NAS file system is supported, and subdirectories of the NAS file system are not supported.

· VPC: The NAS file system and the cloud server must belong to the same VPC.

· Subnet: If the NAS file system selects an ipv6 mount address, the cloud server needs to select a subnet of the dual-stack type (with ipv6 enabled).

· Cloud server status: must be Running.

· NAS file system status: must be Available.

· Cloud server that mounts NAS file system does not support replacing VPC.

· Cloud server that mounts NAS file system does not support one-click reinstall.

Procedure

1. Log in to the console.

2. Click at the top of Control Center and select Region.

3. Click Product and Service List in the left navigation bar and select Computing > Elastic Cloud Server.

4. On the Elastic Cloud Server list page, click the target cloud server to enter the cloud server details page, and click Mount File System on the file system tab of the details page.

5. In the pop-up window, you can configure to mount the NAS file system, and the important configurations are as follows:

File system: Linux images only support NFS protocol file systems, while Windows images only support CIFS protocol file systems.

Mount address: Used for network connectivity between NAS and cloud server, which needs to belong to the same VPC as the cloud server.

Mount path: The local path to access NAS from the cloud server.

§ If Linux is selected for the image

§ The length of a single directory cannot exceed 255 characters, and the total length cannot exceed 4095 characters;

§ Must start with /, consisting of numbers, letters, dots(.), underscores(_), and minus signs(-), separated by / (slash);

§ Cannot be system path: /, /bin, /usr, /boot, /dev, /etc, /lib, /lib64, /proc, /run, /sys, /var, /tmp, /sbin;

§ The mount path filled in for each configuration cannot be duplicate;

§ It is recommended to create a new local path under /mnt as the mount path, such as: /mnt/docs;

§ If Windows is selected for the image

§ Only a single letter within [E~Z] can be entered as the drive letter;

§ It is recommended to choose Z as the mounting drive letter. If Z is occupied, please re-enter another letter as the drive letter;

Protocol type: NFS file system can choose NFSv3 protocol or NFSv4 protocol, and CIFS file system can choose CIFS protocol.

Mount parameters: automatically filled in according to the selected protocol type and cannot be modified.

Auto mount at startup: Enabled means that the file system is automatically mounted after restart, and Disabled means that the file system will not be automatically mounted after restart.

6. Click Mount, it takes about 1~2 minutes to mount. When the status is Mounted Successfully, it means that the NAS file system has been successfully mounted to the cloud server. At this point, you can log in to the cloud server to access the NAS file system.


LXdulk.I2yCD