Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2020 10:36:26 -0500
From:      Bob Willcox <bob@immure.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        current <current@freebsd.org>
Subject:   Re: Is amd automount still supported in 13.0 or not?
Message-ID:  <20200309153626.GA83139@rancor.immure.com>
In-Reply-To: <CAPyFy2B_6DvsPeQf47kOSWMkz%2B5C3CGN=EtraOFccPLEnJT5yA@mail.gmail.com>
References:  <20200203232333.GA37109@rancor.immure.com> <20200204.085435.139942824021996563.yasu@utahime.org> <20200204154650.GA39757@rancor.immure.com> <20200204161505.GN1309@albert.catwhisker.org> <20200308172301.GF59792@rancor.immure.com> <CAPyFy2B_6DvsPeQf47kOSWMkz%2B5C3CGN=EtraOFccPLEnJT5yA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 09, 2020 at 10:49:34AM -0400, Ed Maste wrote:
> On Sun, 8 Mar 2020 at 13:23, Bob Willcox <bob@immure.com> wrote:
> >
> > Thanks for the tip! That worked for me. I guess from reading the documentation
> > I didn't pick up on staying with the symlinks and simply changing host to net.
> 
> Glad it's working for you! Is there anything else that you found
> tricky or surprising in migrating? Perhaps we could produce a
> quick-reference transition guide.

Not sure, perhaps it was just my unfamiliarity with the features of autofs, but when
I tried setting up a map file I was unable to get it to work as it never mounted
the filesystem. I tried following the example in the auto_master man page in the
"INDIRECT VERSUS DIRECT MAPS" section and created a auto_fsmount file with this
in it:

/work -intr,nfsv4 10.1.132.8:/stor/work

and added this to the auto_master file:

/-	auto_fsmount

Created the /work directory but couldn't get it to actually mount the filesystem.
Removing all of those changes and creating this symlink instead:

lrwxr-xr-x   1 root  wheel    19 Mar  8 12:19 work -> net/vader/stor/work

worked and it automatically mounted the filesystem on my first access:

vader:/stor/work       30T     19G     30T     0%    /net/vader/stor/work

So perhaps documenting how to migrate drom amd to autofs, retaining the same
operational characteristics would be a help for those of us coming from that
environment.

Thanks,
Bob

-- 
Bob Willcox    | It's possible that the whole purpose of your life is to
bob@immure.com | serve as a warning to others.
Austin, TX     |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200309153626.GA83139>