Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #132082

NFS and Finder woes

From "Michael C." <mjchappell@news.eternal-september.org>
Newsgroups comp.sys.mac.system
Subject NFS and Finder woes
Date 2020-05-01 11:29 +0000
Organization A noiseless patient Spider
Message-ID <slrnrao20v.2k9.mjchappell@erinyes.local> (permalink)
References <r7q98c$3lo$1@gioia.aioe.org> <slrnra1pbs.2r0g.g.kreme@ProMini.lan> <slrnransr8.sfq.mjchappell@erinyes.local>

Show all headers | View raw


On Fri, 1 May 2020 10:01:12 -0000 (UTC),
Michael C. <mjchappell@news.eternal-september.org> wrote:
>  On Thu, 23 Apr 2020 00:46:52 -0000 (UTC),
>  Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> >  In message <r7q98c$3lo$1@gioia.aioe.org> Forrest Aldrich <forrie@forrie.com> wrote:
> > > I've read about some changes in Catalina that has changed mount points 
> > > for $HOME, etc. 
> > 
> >  No.
> > 
> > > But, with a few Macs that I have I would like to establish a networked
> > > $HOME directory (ie: NFS)
> > 
> >  IMO NFS is a poor choice and will reduce the effective speed of any
> >  modern machine to a crawl similar to a machine from 2000.
> > 
> > > I could always have an auxiliary NFS directory there, but that misses
> > > the point -- also, for infrastrutures that have many shared Macs, this
> > > would be pretty important.
> > 
> >  Monting NFS on macOS is not a probelm, at all. I have done it many
> >  times, as recently as last week.
> > 
> >  Mounting a user's home over NFS is not something I would do.
> > 
> > > Anyone have experience with this and perhaps autofs.
> > 
> >  /etc/auto_nfs:
> >  # DO NOT END PATH WITH A /
> >  # This is all one line:
> >  /System/Volumes/Data/Users/lewis/server
> >  fstype=nfs,noowners,nolockd,hard,bg,intr,ro,tcp,nfc,rsize=8192,wsize=8192
> >  nfs://myserver.address:/usr/local/home/lewis
> > 
> >  add the follwoing to /etc/auto_master
> >  /-              auto_nfs    -nobrowse,nosuid
> > 
> >  mount the NFS share manually if you want it now, or reboot.
> > 
> >  Done.
> 
>  Thank you!  I was having trouble with Finder hanging and being
>  prompted to disconnect the nfs share.  Updating auto_master
>  helped I think.  (Not using for $HOME, but an image server and 
>  Finder didn't approve.)  I miss using /etc/fstab:(

I spoke too soon.  If I manually mount the share with:

$ sudo mount -t nfs -o noowners,nolockd,hard,bg,intr,rw,tcp,\
nfc,rsize=8192,wsize=8192 server:/srv/nfs/photos \
/System/Volumes/Data/net/photos

I can browse my images using Finder.  However, after a reboot I'm back
Finder hanging on my NFS share and asking me if I'd like to
disconnect.

$ cat /etc/auto_master
#
# Automounter master map
#
+auto_master		# Use directory service
#/net			-hosts		-nobrowse,hidefromfinder,nosuid
/home			auto_home	-nobrowse,hidefromfinder
/Network/Servers	-fstab
#/-			-static
/-			auto_nfs	-nobrowse,nosuid

$ cat /etc/auto_nfs
/System/Volumes/Data/net/photos	fstype=nfs,noowners,nolockd,hard,bg,\
intr,rw,tcp,nfc,rsize=8192,wsize=8192 server:/srv/nfs/photos

Any suggestions aside from mounting manually?  I'm tempted to just
edit /etc/fstab, but I don't want Catalina hanging on me if the server
isn't available.

Thanks,
 
Michael C.
 --
mjchappell@verizon.net http://mcsuper5.freeshell.org/

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

MacOS Catalina and networked $HOME directories Forrest Aldrich <forrie@forrie.com> - 2020-04-22 16:25 -0400
  Re: MacOS Catalina and networked $HOME directories Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-04-23 00:46 +0000
    Re: MacOS Catalina and networked $HOME directories "Michael C." <mjchappell@news.eternal-september.org> - 2020-05-01 10:01 +0000
      NFS and Finder woes "Michael C." <mjchappell@news.eternal-september.org> - 2020-05-01 11:29 +0000
        Re: NFS and Finder woes Lewis <g.kreme@gmail.com.dontsendmecopies> - 2020-05-01 23:52 +0000
          Re: NFS and Finder woes "Michael C." <mjchappell@news.eternal-september.org> - 2020-05-02 01:34 +0000

csiph-web