nfs before netfs?

Rigler, Steve SRigler at MarathonOil.com
Mon Jun 7 17:17:55 UTC 2004


Why not just use a bind mount instead of NFS?  I believe the
fstab entry would look like:

/export/point	/mount/point	rw,bind	0 0

Or you could use autofs to pick up your NFS mounts.  I believe
it will use a bind mount if it determines that the exporting
host is trying to mount a filesystem from itself.

-Steve

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Ashley M. Kirchner
Sent: Sunday, June 06, 2004 10:49 PM
To: General Red Hat Linux discussion list
Subject: nfs before netfs?



    I have a server that needs to NFS mount a mount point that it 
exports (bare with me, it's my sanity on the line here - the server 
exports a whole directory to the network, and to keep my sanity, I have 
it mount that directory just like all the other servers do - this makes 
it easier in writing scripts that need to run on that mount point on all 
the servers.)  However, because init runs netfs before nfs, that mount 
point always fails to get mounted.  So, the question now is: is it safe 
to change the order in which netfs and nfs run (and load up nfs and 
nfslock before netfs runs)?  Any pros and cons or caveats I should be 
aware of?

-- 
W | I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list