This topic describes how to replace a mount target in the classic network with a mount target in a virtual private cloud (VPC) for a File Storage NAS (NAS) file system.
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.
Replace classic network mount targets with VPC mount targets
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.
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.
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.
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.
Click Disable in the Actions column of the classic network mount target.
Make sure that your business is not affected if the classic network mount target is disabled. Then, click Remove to delete the mount target.
Query affected NAS file systems
Use the console
Log on to the NAS console.
In the left-side navigation pane, choose
.In the top navigation bar, select a region.
In the file system list, click Mount in the Actions column of a file system. Check that Type of the mount target is Classic Network.
Call API operations
Call the DescribeFileSystems operation to query the file system information in a specified region without specifying request parameters. If the value of the response parameter NetworkType is classic, Type of the mount target is Classic Network.