Hi Frank,

Frank Batschulat (Home) wrote:
> Darin, the only possibility to fail that way is in nfs4rootvp()
> 
> can you provide a snoop(1M) trace from such a failing automount from
> the clients perspective ?

I will get this to you ASAP.

> and also the output of share(1M) on the server ?

Seeing that I'm sharing around 240 file systems from the server I've
only posted the output from a few of the shares. I set nfsshare=on from
tank/ and allowed inheritance to run it's course but a few are share
have special options set which I've included..

share(1M) output.
-               /export/client_1   rw   ""
-               /export/client_2   rw   ""
-               /export/client_3   rw   ""
-               /export/home/user_1   sec=sys,root=print_srv   ""
-               /export/home/user_2   sec=sys,root=print_srv   ""
-               /export/gridengine    sec=sys,r...@172.16.103,ro   ""
-               /export/apps   rw   ""
-               /export/downloads   rw   ""

> 
> you say that manually mounting nfs_srv:/export/client_1 on /misc/client_1 
> works 
> from sol10_clnt ?
> how do you issue that manual mount ? (v4 or v3 ?)

I'm not mounting them under /misc because automount is running but in
/mnt. The command I issie is "mount nfs_srv:/export/client_1 /mnt". When
I force NFSv4, "mount -o vers=4 nfs_srv:/export/client_1 /mnt", the
shares mount fine.

Thanks Frank!

> thanks!
> 
> On Mon, 13 Jul 2009 20:15:55 +0200, Darin Perusich <Darin.Perusich at 
> cognigencorp.com> wrote:
> 
>> I've setup a Solaris 10 nfs server, ZFS file systems, and am using
>> automount via ldap to publish the share to Solaris 10 and Linux clients.
>> The Linux clients are working fine and able to access the shares, over
>> NFSv3, but the Solaris clients are having a bit of a hard time over
>> NFSv4. When I force them down to NFSv3 all is well.
>>
>> The errors I'm getting are:
>>
>> Jul 11 13:33:17 sol10_clnt nfs: WARNING: NFS server initial call to
>> nfs_srv failed: Permission denied
>> Jul 11 13:33:17 sol10_clnt automountd[415]: Mount of
>> nfs_srv:/export/client_1 on /misc/client_1: Permission denied
>>
>> This only happens via automount over NFSv4, I am able to manually mount
>> the files systems without issue. Additionally the clients are able to
>> mount a single share per automountMap before things start failing. I use
>> auto_home and auto_misc for Solaris and the Linux hosts use auto.home
>> and auto.misc.
>>
>> Is this a known issue or limitation on Solaris 10 clients? I haven't
>> been able to find anything stating so or come across any knows bugs or
>> patches on SunSolve.
>>
>> Thanks.
>>
>> Client, Server and LDAP info. If you need more let me know and I will
>> send it.
>>
>> NFS Server - Solaris 10u7
>> - ZFS layouts
>>      tank/data/client_1  -> mountpoint=/export/client_1
>>      tank/data/client_2  -> mountpoint=/export/client_2
>>      tank/misc/downloads -> mountpoint=/export/downloads
>>      tank/misc/apps      -> mountpoint=/export/apps
>>      tank/home/user1     -> mountpoint=/export/home/user1
>>      tank/home/user2     -> mountpoint=/export/home/user2
>>
>> auto_home ldap entry:
>>
>> dn: automountKey=*,automountMapName=auto_home,dc=cognigencorp,dc=com
>> automountInformation: nfs_srv:/export/home/&
>> objectClass: top
>> objectClass: automount
>> automountKey: *
>>
>> auto_misc ldap entry:
>> dn: automountKey=*,automountMapName=auto_misc,dc=cognigencorp,dc=com
>> automountInformation: nfs_srv:/export/&
>> objectClass: top
>> objectClass: automount
>> automountKey: *
>>
>> NFS Clients - Solaris 10u6
>> Linux Clients are OpenSuSE 10.2 and 10.3
>>
> 
> 
> 

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper at cognigencorp.com

Reply via email to