On Wed, 1 Mar 2017 20:21:27 -0500, John P. Baker <[email protected]> wrote:

>Given the following setup -
>
>/etc/auto.master -
>
>/home                  /etc/default.map
>
>/etc/default.map -
>
>name                    *
>type                      ZFS
>filesystem            <uc_name>.ZFS.&SYSNAME
>mode                    rdwr
>duration               30
>delay                    10
>parm                     aggrgrow
>
>Am I correct in my belief that a reference to directory "/home/test1" by
>userid "TEST123" on system PROD will automount dataset "TEST1.ZFS.PROD" at
>"/home/TEST1"?

No, it will be mounted at /home/test1. If it worked the way you suggest, the 
automount would be worthless, since /home/test1 would still not exist.

>In other words, do "uc_name" and "asis_name" refer to the directory
>qualifier immediately subordinate to the directory specified in
>"/etc/auto.master" which is being referenced by the userid?

No, <uc_name> is needed so that the DSNAME of the filesystem will be upper case.

If you want the mount point to be /home/TEST1, you would probably use 
<asis_name> and reference /home/TEST1. If you referenced /home/test1, 
the mount would fail, AFAIK.

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to