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

Linux vs Windows

We all know that there are different kinds of OS (Operating Systems). We have a domestic OS called Windows found in every nook and corner of this world, at every desk at least in India. We have flashy, highly sophisticated OS called Macintosh, found in a few rightful hands, where the owner enjoys delicious fruits of this luxurious OS. On the other hand Linux is that type of an OS which plays different roles for its owner/user, found having a friendly relationship with all its owners. :D So, now most of us who are reading this article are fed up of windows licensing problems and planning to migrate from Windows to Linux or you just want to know why Linux guys do not like Windows OS. [Image source: www.superb.net] Here, i would like to tell you one story, Suppose you go to buy a new car, you pay the amount to the respective manufacturer, then you get the keys of your new car, you are with your family very happy to buy a new car. When you drive your car out of the show

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 BIOS gives the control to it. 2] MBR [ Master Boot Record ] It is located in the 1st sector of the b