This topic describes how to manage mount targets in the Apsara File Storage NAS console. In the console, you can create, disable, enable, and delete a mount target. You can also view the list of mount targets and modify the permission group of a mount target.

Create a mount target

To mount a file system on an Elastic Compute Service (ECS) instance, you must create a mount target for the file system. To create a mount target in the NAS console, perform the following steps:
Note
  • For General-purpose NAS file systems, you can create a maximum of two mount targets. Each mount target can reside in a virtual private cloud (VPC) or the classic network.
  • For Extreme NAS file systems, you can create only one mount target. The mount target must reside in a VPC.
  1. Log on to the NAS console.
  2. In the left-side navigation pane, choose File System > File System List.
  3. Find the file system and choose More > Add Mount Target in the Operations column.
  4. In the Add Mount Target dialog box, set the following parameters.
    Mount Target Type: the network type of the mount target. Valid values: VPC and Classic Network.
    • If you want to create a mount target in a VPC, set the required parameters. The following table describes the parameters.
      Parameter Description
      VPC Network Select the VPC where you want to create the mount target. If no VPC is available, create a VPC in the VPC console.
      Note
      • We recommend that you select the VPC of the ECS instance on which you want to mount the file system. If the mount target and the ECS instance reside in different VPCs, you can use Cloud Enterprise Network (CEN) to establish a connection between the VPCs. You can then enable a cross-VPC mount for the file system. For more information, see Mount a file system across VPCs or regions.
      • Multiple ECS instances in the same VPC can access a file system by using the same mount target. For the mount target, select the VPC where the ECS instances reside. We recommend that you select a VSwitch that has a large number of available IP addresses.
      • Only Extreme NAS file systems that reside in the China (Hohhot) region support the IPv6 feature. To enable the IPv6 feature for file systems that reside in other regions, you can submit a ticket. To create an IPv6 VPC network and VSwitches, see Create an IPv6 VPC.
      Switch Select a VSwitch that resides in the VPC.
      Access Group Select a permission group based on your business requirements.

      A permission group named VPC default permission group (all allowed) is automatically created for each Alibaba Cloud account. This permission group allows access from all IP addresses in the VPC to the file system by using the mount target. For more information about how to create a permission group, see Create a permission group and add rules.

      Open IPv6 Enable the IPv6 feature. The Open IPv6 switch takes effect only if the Extreme NAS file system resides in the China (Hohhot) region and an IPv6 VPC and IPv6 VSwitch are selected. For more information about how to create an IPv6 VPC network and VSwitches, see Create an IPv6 VPC.
    • If you want to create a mount target in the classic network, set the required parameters. The following table describes the parameters.
      Parameter Description
      Access Group
      Select a permission group based on your business requirements.
      Note
      • You can create a mount target in the classic network only in some regions inside China.
      • You can mount a file system only on an ECS instance if you use a mount target in the classic network. The network type of the ECS instance must be the same as that of the mount target. To mount a file system on an ECS instance in the classic network, you must use a mount target that resides in the classic network. To mount a file system on an ECS instance in a VPC, you must use a mount target that resides in the VPC.
  5. Click OK.

View the list of mount targets

On the File System List page, find the file system, and click Management in the Operations column to open the details page of the file system. On the Mounting Use tab of the details page, you can view the list of mount targets of the file system.

View the list of clients on which a file system is mounted

For a General-purpose NAS file system, you can view the list of clients on which the file system is mounted in the NAS console.

Click Client mounted in the Operations column. The IP address of each client is displayed.
Note The list includes the clients that have accessed the file system within the last minute. If the file system is mounted on a client but the client did not access the file system in the last minute, the client is not included in the list.

Enable or disable a mount target

For a General-purpose NAS file system, you can enable or disable a mount target to control access from clients to the mount target.
  • To deny access from clients to the mount target, click Disable in the Operations column.
  • To allow access from clients to the mount target, click Enable in the Operations column.

Delete a mount target

To delete a mount target, click Delete in the Operations column.

Warning After you delete the mount target, it cannot be restored. Proceed with caution.

Modify the permission group of a mount target

To modify the permission group of a mount target, click Modify a Permission Group in the Operations column. For more information, see Manage permission groups.