• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

EFS Mount Issue “Failed to resolve server: Name or service not known”

by admin

The Problem

mount.nfs4: Failed to resolve server fs-d3d54350.efs.us-east-1.amazonaws.com: Name or service not known

or:

ping: unknown host fs-d3d54350.efs.us-east-1.amazonaws.com

The Solution

1. Open the Amazon VPC console.

2. Select the VPC.

3. Review the information in the Description tab. In this example, both settings are enabled.

  • DNS resolution Enabled
  • DNS hostnames Enabled

4. To update these settings, choose Actions and either Edit DNS Resolution or Edit DNS Hostnames. In the dialog box that opens, choose Yes or No, and then choose Save.

5. Now you can wait for few minutes and check, issue will be resolved.

Note: You may also try restarting the rpcbind and nfs service in the EC2 instance.

# service rpcbind restart
# service nfs restart

Filed Under: DevOps, Linux

Some more articles you might also be interested in …

  1. How To Force User/Group Ownership Of Files On A Samba Share
  2. Working with Vim editor (Text Editor)
  3. Linux OS Service ‘httpd’
  4. How to enable the automatic extension for a thin LVM volume
  5. chkconfig Command Examples in Linux
  6. How to Display Routing Table in Linux
  7. Understanding SELinux File Labelling and SELinux Context
  8. UNIX / Linux : What is the correct permission of /tmp and /var/tmp directories
  9. How to enable IPv6 on CentOS / RHEL 6
  10. UNIX/Linux : Access control lists (ACLs) basics

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright