Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-13-2003, 02:07 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
nfs mount with fstab vs autofs

What method is best to use for mounting 186GB /database as a NFS share
from another machine? Mount using /etc/fstab entry or Mount using autofs?

Also, what is the default mount options ( soft or hard)? And what mount
option is best to use? This is for Redhat linux 2.1AS server.
Old 11-13-2003, 10:21 PM   #2
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30

If you are going to be continuously connected and using the database then redhat says to use fstab--if you are going to be communicating with the database and interacting with it sporadically use the autofs as it takes fewer resources--at the cost of higher latency on the first request. You can adjust how long the connection is inactive before it is dropped. I would still make it the last entry in fstab.

There are more options than soft or hard. The manual entries are clear, well written and brief.

Thanks for the question. I needed the review.

Last edited by Eqwatz; 11-13-2003 at 10:41 PM.
Old 11-13-2003, 10:21 PM   #3
Registered: Jul 2003
Distribution: Red Hat, Fedora, Debian
Posts: 85

Rep: Reputation: 15
well in my opinion fstab is better option
and the default mount option is hard
the diff b/w soft and hard is, when we use hard, it keeps on trying unless it gets connected and generate a warning "server not responding".
when we use soft, it gives up after first attempt and generate an i/o error
the choice depends on criticality of ur system.
i have used soft option anyway.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount in /etc/fstab ? cozye Linux - General 3 09-12-2014 03:48 PM
nfs: fstab will not mount at boot tredegar Linux - Networking 15 08-13-2013 04:24 PM
how to mount fstab vs autofs rrich100 Red Hat 1 11-13-2003 11:46 PM
Mounting NFS filesystem fstab vs autofs rrich100 Linux - Networking 0 11-13-2003 01:38 PM
how do I mount with nfs in fstab? Falafel Linux - Networking 1 11-13-2003 12:56 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration