This topic describes how to manage mount targets in the Apsara File Storage NAS 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 for each file system. 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 for each file system. 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 for which you want to create a mount target, 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 required parameters.
      Note
      • A mount target that resides in a VPC can be used by multiple ECS instances that are attached to different vSwitches in the VPC.
      • When you create a mount target, the file system is assigned an IP address. We recommend that you select a vSwitch that has a large number of available IP addresses.
      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.

      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. Then, you can mount the file system from different VPCs. For more information, see Mount a file system across VPCs or regions.

      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. You can also create a permission group based on your business scenario. For more information, see Create a permission group and add rules for the permission group.

      Open IPv6 Open 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.

    • If you want to create a mount target in the classic network, select a permission group based on your business requirements.
      Notice
      • You can create a mount target in the classic network only for some regions in China.
      • If you use a mount target in the classic network, you can mount a file system only on an ECS instance. 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.
  5. Click OK.
After the mount target is created, the following ports can be used to access the Network File System (NFS) service and the Server Message Block (SMB) service:
  • General-purpose NAS file systems
    • NFS ports
      • 2049: allows access to the NFS service.
      • 4001: allows access to the Network Lock Manager (NLM) service
      • 4002: allows access to the Mount service.
      • 111: allows access to the RPC bind service.
    • SMB ports

      445: allows access to the SMB service.

  • Extreme NAS file systems

    Extreme NAS file systems support only the NFS protocol. The following NFS ports are used.

    • File systems created before May 20, 2020
      • 2049: allows access to the NFS service.
      • 4001: allows access to the NLM service.
      • 4002: allows access to the Mount service.
      • 111: allows access to the RPC bind service.
    • File systems created on or after May 20, 2020
      • 2049: allows access to the NFS service, NLM service, and Mount service.
      • 111: allows access to the RPC bind service.

View the list of mount targets

On the File System List page, find the file system, and click Manage 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 mount target list 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 Mounted Clients 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 one minute. If the file system is mounted on a client but the client did not access the file system within the last one minute, the client is not 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

Warning After you delete a mount target, it cannot be recovered. Proceed with caution.

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

Modify the permission group of a mount target

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

FAQ

For more information about the FAQ, see FAQ about basic management features.