Red Hat Linux Reference Guide

Linux Introduction

VI-EDITOR

Process Management

Linux Installation

Disk Partitions & File System Management

Logical Volume Management - LVM

User & Group Administration

Package Management

Network File System - NFS

Domain Naming System - DNS

Apache HTTP Web Server

KickStart Installations

FTP server

BOOT PROCESS

Dynamic Host Configuration Protocol - DHCP

Job Scheduling

File Links

Swap Management

Log Management

Performance Management

Linux Troubleshooting

Linux Summary

Start Preparation Smartly

We have the collection to start prepartion smartly.

Start Assessment

Red Hat Linux Reference Guide

  DevOps Tech Hub

116 Followers

rsyslog


 How to  Configure NFS Server?

  • Verify  the  NFS  services  are  running  or  not  If  not  restart the  services  before  export ( Make  sure  rpcbind  has  invoked before the nfs )

  • Create  a  directory  /iwayQrmt  and  exports permanently

  • Verify  the  exported  directory  from  the  server


How to  Configure NFS Client?

  • Verify  the  NFS  services  running  on  client system

  • Verify  which  directories  are  exported  to  this  client

  • Create  a  permanent  mount  in /etc/fstab for  NFS  mount

  • Create  a  local  directory /iwayQlocal  to  be  used  for  local  NFS  mount & Mount  the  NFS

  • Verify  the  NFS  mount

Edwiki spots :

  • Rpcbind  service  is  available  from  RHEL6  only
  • Portmap  service  was  available in  RHEL5  versions.
  • NFS4  is  the  default  version

NFS Server Options:

  • Options used in /etc/exports:
    • Rw  - Allows read and write access to the share
    • Ro - Only allows read access, writing is blocked
    • all_squash - Forces all connecting users to "nobody" account and permissions
    • no_root_squash - Allows root account on client to access export share on server as the root account
    • anonuid - Forces all anonymous connections to predefined UID on server
    • anongid - Forces all anonymous connections to predefined GID on server

NFS Client Options:

  • Options used in /etc/fstab :
  • soft - If a file request fails, the NFS client will report an error to the process on the client machine requesting the file access
  • hard - The program accessing a file on a NFS mounted file system will hang when the server crashes. The process cannot be interrupted or killed (except by a "sure kill") unless you also specify intr. When the NFS server is back online the program will continue undisturbed from where it was. We recommend using hard,intr on all NFS mounted file systems.


Previous Next