Skip to main content

Auto FS



 Mount Filesystem using Auto FS

 

    This document is the Operational Instruction on how to work with Auto FS file system on a Red Hat Linux Server.

    This article covers the adding and mounting of Auto FS file system in a Red Hat Linux servers.

  Prerequisites

 

   ·         Need to have root privileges to make necessary changes.
   ·         Take backup of /etc/exports before making any changes to this file.

  ·         On Master Server:


Ø  Edit /etc/exports, where an entry for the server and file system needs to be made in the following format:


            /abc/pqr/xyz                                           -rw,no_root                                         server1 server2
     (Dir that needs to be shared)            (Permissions)                         (Clients to which the
                                                                                                                       the filesystem needs to 
                                                                                                                        be mounted)

Ø  Run the command, on the master server.
                                      # expotfs –av



·      On Client Server:


Ø  Where we need to have the NFS share mounted, edit the /etc/auto.direct file and add an entry as below:
                 
                             /avinash                           servername:/abc/pqr/xyz
                           (Local Dir)                        (master server Name : Dir to be    
                                                                              shared)

 
Ø  Refresh the autofs service and we should not be able to see the /avinash dir

#service autofs reload.



....................................Thank you ................................................

Comments

Popular posts from this blog

How to Install .exe File on a Linux Machine

For all linux lovers or haters, i'd rather say, all smart linux users, here is a method by which you can install Windows app i.e. .exe files on your linux machine using Wine. Go ahead.. First of all install Wine. To install Wine, go to Ubuntu Software Centre and search for Wine, and install it. A] steps are   Applications -->  Ubuntu Software Centre ---   B ] PlayOnLinux is a graphical front-end for the Wine software compatibility layer which simplify the installation of Windows based applications and games on Linux and Mac.  [ Direct download link-->        http://www.playonlinux.com/en/download.html ] To install it from command line for ubuntu 12.04  Precise version, use following commands: 1) wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add - 2) sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list 3) sudo apt-get u...

LINUX BOOT PROCESS

When you power on your system, you wait for some time and get Linux login prompt, there you enter your password and start your work. Do you ever think what happens when you power on your system ??????? Here I will briefly explain what happens in between power on and log in. Linux boot process explained in 6 stages.                                             1] BIOS [ Basic Input Output System ] After turning on the computer, the BIOS initialize the screen and keyboard and tests the main memory. Up to this stage, the machine does not access any mass storage media. Subsequently, the information about the current date, time, and the most important peripherals are loaded from the CMOS values. BIOS looks for boot loader in floppy, cd-rom, or hard drive. Once the boot loader program is detected it loads boot loader into the memory, and B...