All Products
Search
Document Center

Apsara File Storage NAS:Replace a classic network mount target with a VPC mount target for a NAS file system

Last Updated:Jul 23, 2024

This topic describes how to replace a mount target in the classic network with a mount target in a virtual private cloud (VPC) for an Apsara File Storage NAS (NAS) file system.

Warning

On and after November 21, 2022, NAS no longer allows you to create mount targets in the classic network. Classic network mount targets will be disabled and will no longer be maintained from February 28, 2025. To prevent impacts on your business, we recommend that you replace classic network mount targets with VPC mount targets at your earliest opportunity.

Prerequisites

Elastic Compute Service (ECS) instances that are deployed in the classic network are migrated to a VPC. For more information, see Migrate ECS instances from the classic network to a VPC.

Procedure

Important

If your file system has two mount targets and both are classic network mount targets, you can submit a ticket to increase the number of mount targets.

  1. Create a mount target.

    Add a VPC mount target and record the domain name of the mount target. For more information, see Create a mount target.

  2. Unmount the file system that was mounted by using the classic network mount target. For more information, see Unmount a file system in the NAS console.

    After the file system is unmounted, log on to the NAS console. On the Mount Targets tab of the file system details page, click Client List. Make sure that Client List is empty. The clients that are using NAS in the last minute are queried in the client list. Some clients that have been mounted but are not in use may not be displayed in the list.

  3. Use the VPC mount target created in Step 1 to remount the file system to the original destination path. For more information, see Mount NAS file systems on ECS instances.

  4. Click Disable in the Actions column of the classic network mount target.

  5. Make sure that your business is not affected if the classic network mount target is disabled. Then, click Remove to delete the mount target.

FAQ

How do I check that the network type of a mount target is the classic network?

  • Use the console

    1. Log on to the NAS console.

    2. In the left-side navigation pane, choose File System > File System List.

    3. In the top navigation bar, select a region.

    4. In the file system list, click Mount in the Actions column of a file system to obtain the network type of the mount target.

  • Call API operations

    Call the DescribeFileSystems operation to query the network type of the mount target of a file system. If the value of the response parameter NetworkType is classic, the network type of the mount target is the classic network.