Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Mounting NFS volume at boot

  • 23-08-2005 10:32am
    #1
    Closed Accounts Posts: 658 ✭✭✭


    Hi

    I have an nfs share on a remote server I would like to mount at boot on my Redhat machine. I have looked at the man pages and the Howto's and Mini-Howto's and they dont do a very good job of explaining things to me. Im sure that this is very simple to do, so could someone here explain it if possible ? I am running Redhat Advanced Server 4.0 on an x86 based machine.

    Thank you


Comments

  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    You could put an entry for it in /etc/fstab
    along the lines of :

    nfsserver:/export /mnt/point nfs defaults,rsize=8192 0 0


    The rsize=8192 really speeds things up,
    Other options worth trying depending on your environment are: tcp,hard,intr,retry=2,bg,nolock
    They will prevent your system locking badly if it's unavailable.

    Not sure about redhat, but its startup scripts should only allow it try the nfs mounts after the network is up!

    Alternatively, you could use a NIS map for auto_mounts and run autofs. As this won't be available until the network is up, it'll avoid that problem!

    Search the man pages for autofs, and take a look at the files auto.master, auto.misc, auto.net etc in /etc.

    You will get more mileage from Solaris docs than linux docs on this as Solaris has a much more mature NFS/NIS philosophy than is often used in Linux. All the software is there though to make it happen.

    NiallB


  • Closed Accounts Posts: 658 ✭✭✭pontovic


    Thanks Niall very helpful :)


Advertisement