All Products
Search
Document Center

File Storage NAS:Mount scenarios and decision

Last Updated:Aug 25, 2026

After you create a File Storage NAS (NAS) file system, you must mount it to a directory on one or more compute nodes to enable shared access. NAS supports shared access from compute nodes of services such as Alibaba Cloud ECS, containers, Function Compute (FC), and Platform for AI (PAI). This topic describes the scenarios for mounting NAS file systems and the related precautions.

Precautions

  • Before you mount a file system, you must Create a file system and Create a mount target.

  • You can mount a NAS file system only on a compute node that is in the same virtual private cloud (VPC) as the mount target. The mount target and the compute node must be connected over the network. The permission group rule that is attached to the mount target must specify the VPC IP address of the compute node as an authorized address. For more information, see Manage permission groups.

    Note
    • As of November 21, 2022, you can no longer create classic network mount targets for General-purpose NAS file systems. However, you can continue to use classic network mount targets that were created before this date to mount and access file systems.

    • You can mount classic network mount targets only on ECS instances that are in the classic network. The permission group rule attached to the mount target must include the private IP address of the ECS instance as an authorized address. For information about how to migrate from the classic network to a VPC, see Migrate ECS instances from the classic network to a VPC.

  • General-purpose NAS file systems support cross-zone mounting. For Extreme NAS file systems, you must mount them in the same zone to prevent performance degradation.

  • Extreme NAS file systems support only Linux operating systems and can be accessed only using the NFSv3 protocol.

  • To ensure compatibility and stability, we recommend that you use NFS file systems on Linux operating systems and SMB file systems on Windows operating systems. Avoid cross-platform mounting, such as using the SMB protocol on Linux or the NFS protocol on Windows. This practice helps prevent compatibility issues that can affect system stability. For information about compatibility issues that may occur when you mount a file system across platforms, see Troubleshoot file read and write access issues.

Mounting scenarios

Mount file systems on ECS instances

If a file system fails to mount on an ECS instance, you can use the troubleshooting script provided by Alibaba Cloud NAS. For more information, see Troubleshoot file system mount failures.

Mount file systems on containers

For information about how to use NAS in a container, see Mount a file system on a Kubeneters cluster.

NAS supports mounting on Alibaba Cloud ACK, Alibaba Cloud ACK Serverless, and self-managed Kubernetes clusters. For more information, see the following topics:

Mount a file system for Function Compute

For information about how to use NAS in Function Compute, see the following topics:

Mount a file system on a Function Compute function

Mount a file system for Platform for AI (PAI)

NAS is seamlessly integrated with Alibaba Cloud PAI. You can configure NAS on PAI services to provide persistent storage for datasets during deployment and training. For more information, see Quick start: Data Science Workshop (DSW).

Mount a file system across VPCs, regions, or accounts

To mount a file system across VPCs, regions, or accounts, you can use PrivateLink or Cloud Enterprise Network (CEN).

Access a file system from a data center

To access a NAS file system from a server in your data center, you can use one of the following two methods to mount and access the file system.

Related topics

Data migration

Migrate data from a non-Alibaba Cloud source to NAS

If you want to migrate data from a non-Alibaba Cloud source to NAS, you can use tools such as SFTP, rsync, or Robocopy to transfer data between compute nodes and the NAS file system. For more information, see Overview of migrating data from a non-Alibaba Cloud source to NAS.

Migrate data from NAS to a local server

If you want to migrate data from File Storage NAS to a local server, you can download the data using tools such as SFTP, rsync, or Robocopy. You can also migrate the data to Object Storage Service (OSS) and then download the data from OSS. For more information, see Migrate NAS data to on-premises storage.

Unmount a file system directory

To unmount a file system directory that is mounted on a compute node, see the following topics: