Is amd automount still supported in 13.0 or not?

Bob Willcox bob at immure.com
Mon Mar 9 15:36:31 UTC 2020


On Mon, Mar 09, 2020 at 10:49:34AM -0400, Ed Maste wrote:
> On Sun, 8 Mar 2020 at 13:23, Bob Willcox <bob at 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 at immure.com | serve as a warning to others.
Austin, TX     |


More information about the freebsd-current mailing list