Mounting on Microsoft Windows clients - FSx for ONTAP
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Mounting on Microsoft Windows clients

This section describes how to access data in your FSx for ONTAP file system with clients running the Microsoft Windows operating system. Review the following requirements, regardless of the type of client you are using.

This procedure assumes that the client and the file system are located in the same VPC and Amazon Web Services account. If the client is located on-premise or in a different VPC, Amazon Web Services account, or Amazon Web Services Region, this procedure also assumes that you've set up Amazon Transit Gateway or a dedicated network connection using Amazon Direct Connect or a private, secure tunnel using Amazon Virtual Private Network. For more information, see Accessing data from outside the deployment VPC.

We recommend that you attach volumes to your Windows clients using the SMB protocol.

Prerequisites

To access an ONTAP storage volume using a Microsoft Windows client, you have to satisfy the following prerequisites:

To attach an ONTAP volume on a Windows client using SMB and Active Directory
  1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/.

  2. Create or select an Amazon EC2 instance running Microsoft Windows that is in the same VPC as the file system, and joined to the same Microsoft Active Directory as the volume's SVM.

    For more information on launching an instance, see Step 1: Launch an instance in the Amazon EC2 User Guide.

    For more information about joining an SVM to an Active Directory, see Managing FSx for ONTAP storage virtual machines.

  3. Connect to your Amazon EC2 Windows instance. For more information, see Connecting to your Windows instance in the Amazon EC2 User Guide.

  4. Open a command prompt.

  5. Run the following command. Replace the following:

    • Replace Z: with any available drive letter.

    • Replace DNS_NAME with the DNS name or the IP address of the SMB endpoint for the volume's SVM.

    • Replace SHARE_NAME with the name of an SMB share. C$ is the default SMB share at the root of the SVM's namespace, but you shouldn't mount it as that exposes storage to the root volume and can cause security and service disruption. You should provide an SMB share name to mount instead of C$. For more information about creating SMB shares, see Managing SMB shares.

    net use Z: \\DNS_NAME\SHARE_NAME

    The following example uses sample values.

    net use Z: \\corp.example.com\group_share

    You can also use the IP address of the SVM instead of its DNS name. We recommend using the DNS name to mount clients to scale-out file systems because it helps ensure that your clients are balanced across your file system's high-availability (HA) pairs.

    net use Z: \\198.51.100.5\group_share