Xref: utzoo comp.sys.apollo:7136 comp.unix.admin:560 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!olivea!orc!inews!kseshadr@quasar.intel.com From: kseshadr@quasar.intel.com (Kishore Seshadri) Newsgroups: comp.sys.apollo,comp.unix.admin Subject: Re: NFS Mount Point Strategy? Message-ID: <1042@inews.intel.com> Date: 19 Nov 90 23:34:54 GMT References: <1990Nov10.144551.809@alchemy.chem.utoronto.ca> <3737@skye.ed.ac.uk> Sender: news@inews.intel.com Reply-To: kseshadr@quasar.intel.com (Kishore Seshadri) Followup-To: comp.sys.apollo Organization: Intel Corporation, Santa Clara, California Lines: 26 In-reply-to: richard@aiai.ed.ac.uk (Richard Tobin) In article <3737@skye.ed.ac.uk>, richard@aiai (Richard Tobin) writes: >In article <1990Nov10.144551.809@alchemy.chem.utoronto.ca> system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson)) writes: >>2) What directory structure is best for the actual mount points: > >We mount system:dir on /nfs/system/dir and have a symbolic link to this. >This has the advantage that when getwd() searches a directory, it never >looks at unnecessary remote mount points. > This does not necessarily fix the hanging problem for SunOS 4.0.x systems. The getwd() algorithm was changed to where, every time a mount point is crossed, getwd checks the /etc/mtab and tries to find a mount moint with the same device id. If it does find one, it prepends the path for this mount point to the current path (derived so far..). While this means that getwd doesn't walk all the way up the tree to /, it may stat most of the entries in /etc/mtab which of course could make things worse...Sun uses a getwd cache to get around this problem which in turn leads to other problems... So while the above may help, it doesn't solve everything. Kishore kseshadr@mipos3.intel.com ---------------------------------------------------------------------------- Kishore Seshadri,(speaking for myself) Intel Corporation <..!intelca!mipos3!kseshadr> "For a successful technology, reality must take precedence over public