A VPC mount point is the connection point that a CPFS for Lingjun file system exposes within a VPC network. Its domain name has the format cpfs-***-vpc-***.<Region>.cpfs.aliyuncs.com. This topic describes how to create, view, manage, and delete a VPC mount point.
For whether you need to create a VPC mount point and how to determine a compute-storage affinity domain, see Overview of mount access.
This topic applies only to CPFS for Lingjun. For mounting General-purpose CPFS, see Overview of mount access for General-purpose CPFS.
Prerequisites
You have created a CPFS for Lingjun file system (version 2.5.0 or later; you can check the version on the Basic Information page of the file system).
You have created a VPC and vSwitch that are in the same region and VPC as the CPFS file system. For more information, see Create a VPC and vSwitch.
VPC consistency requirement: The VPC that the VPC mount point belongs to must be the same VPC as the target client (K8s cluster / ECS / ACS). If you need cross-VPC access, connect the VPCs through Express Connect, Cloud Enterprise Network (CEN), or VPC Peering.
Create a VPC mount point
Log on to the CPFS console.
In the left-side navigation pane, choose File System > File System List.
In the top menu bar, select a region.
In the Actions column for the target file system, click Add Mount Target.
In the Add Mount Target dialog box, configure the following parameters:
Parameter
Description
VPC
Select the VPC where your compute resources are located. It must be in the same region as the CPFS file system.
vSwitch
Select the vSwitch where your compute resources are located.
Permission group
Select an existing permission group to control access permissions. If you have not created one, first see Create a permission group.
Click OK. After the mount target is created, its domain name has the format
cpfs-***-vpc-***.<Region>.cpfs.aliyuncs.com.Record the mount target domain name. You will use it for:
ACK scenario: Enter it in the PV's
csi.volumeAttributes.vpcMountTargetfield.ACS scenario (VPC network): Enter it in the PV's
csi.volumeAttributes.serverfield.ECS/EGS scenario: Enter it as the mount source in the mount command.
View the mount target domain name
In the file system list, click the name of the target file system.
Click the Mount Targets tab.
In the Mount Target column of the mount target list, hover over
to view and copy the mount target domain name.
View the list of mounted clients
Use this to troubleshoot mount issues, or to check which compute resources are currently using this mount target.
Currently, only PAI general-purpose computing resources that have used the CPFS for Lingjun file system within the last minute are shown. Some resources that are mounted but not actively in use may not appear in this list.
Log on to CPFS console.
In the left-side navigation pane, choose File Systems > File System List.
Click the target file system to go to its details page.
Click the Mount Targets tab.
In the Actions column of the mount target list, click Client List.
View the IP addresses of the compute resources that have mounted this file system.
Delete a mount target
After a mount target is deleted, it cannot be recovered. Proceed with caution. Before deleting it, make sure no tasks or instances are using the mount target; otherwise, access will fail.
In the Actions column of the mount target list, click Delete.
In the confirmation dialog box, click OK.
Next steps
After configuring the VPC mount point, continue configuring storage mounting based on the platform you use: