Connect NFSv4.1 clients

This page provides instructions for how to connect NFSv4.1 clients. This page covers only Linux-specific instructions.

Before you begin

Before you connect NFSv4.1 clients, complete the following prerequisites for the different NFSv4.1 options:

NFSv4.1 with numeric IDs

Using numeric IDs versus NFSv4 security identifiers requires a few client configurations:

  1. Edit the /etc/idmapd.conf file and change the domain to defaultv4iddomain.com.

  2. Activate changes by running the following command:

    nfsidmap -c
    
  3. Mount the volume.

NFSv4.1 with security principals

Using NFSv4 security principals requires you to configure name mapping on the NFS client and server. NetApp Volumes configures the server by attaching an Active Directory policy and enabling LDAP on the storage pool before it creates a volume.

  1. Edit the /etc/idmapd.conf and change the domain to domain = <FDQN_of_Windows_Domain>.

  2. Activate changes by running the following command:

     nfsidmap -c
    
  3. Set up an LDAP client to connect to Active Directory.

  4. Reconfigure /etc/nsswitch.conf to use LDAP for user and group lookups.

    For more information on how to configure LDAP, refer to the following resources:

NFSv4.1 with Kerberos

  1. Set up LDAP as described in NFSv4.1 with Security principals.

  2. Configure a Kerberos client to connect to Active Directory as Key Distribution Center. For more information on how to set up Kerberos, refer to the following resources:

Connect NFSv4.1 clients

Use the following instructions to connect NFsv4.1 clients using either the Google Cloud console or Google Cloud SDK:

Console

  1. Go to the NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Click Volumes.

  3. Click Show more.

  4. Select Mount instructions.

  5. Follow the mount instructions shown in the Google Cloud console.

gcloud

Look up the mount instructions for a volume using the following command:

  gcloud netapp volumes describe VOLUME_NAME \
     --project=PROJECT_ID \
     --location=LOCATION \
     --format="value(mountOptions.instructions)"

Replace the following information:

  • VOLUME_NAME: the name of the volume.

  • PROJECT_ID: the name of the project the volume is in.

  • LOCATION: the location of the volume.

For more information on additional optional flags, see Google Cloud SDK documentation on volumes.

What's next

Protect your data.