LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2003, 02:07 PM   #1
rrich100
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
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
http://www.redhat.com/docs/manuals/l...nt-config.html

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
sashhoney
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:47 PM.

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