Reco <recovery...@gmail.com> writes: [...]
Harry wrote: >> So maybe that has something to do with the problem... Reco replied: > Hardly. The way you're doing on Solaris it you provide NFS shares to > everyone and their dog in read-write mode with sec=sys by NFS versions > ranging from two to four. At least these are defaults starting with > Solaris 10. > > The thing that's broken here is autofs, not NFS implementation. I finally got around to trying the auto.net file you mentioned in your first reply in this thread. I still cannot read it and understand what it does but I may have some good news to report. Still unable to mount the shares I'm after `d0' and `dv' but, those fail still with auto.master like: /prj /etc/auto.net --timeout=90 The good news is other shares in that same SOLARIS:/projects can be mounted as expected (see attached automount -fg output) ls /prj/d0 or ls /prj/dv both fail. However another share on that same setup on the solaris host `gv' and 2x comes up as expected. So ls /prj/gv after a pause shows /prj/gv/merb/<many file here> If I cd in there /prj/gv/merb as plain user reader I can: touch file; rm file and etc. However, all those directories exist at SOLARIS-HOST/projects/* All have the same permissions set, all are zfs fs with sharenfs=on >From solaris host: ls -al projects total 17 drwxrwxrwx+ 9 reader nfsu 10 Jan 10 12:34 . drwxrwxrwx+ 2 root sys 3 Jan 8 01:48 .$EXTEND drwxr-xr-x 38 root staff 43 Jan 10 11:20 .. drwxrwxrwx+ 8 reader nfsu 10 Nov 12 10:11 2x drwxrwxrwx+ 4 reader nfsu 7 Sep 29 2014 adm drwxrwxrwx+ 4 reader nfsu 5 Jan 10 01:57 d0 drwxrwsrwx+ 26 reader nfsu 31 Jan 10 00:49 dv drwxrwxrwx+ 18 reader nfsu 22 Jan 12 2015 gv drwxrwxrwx+ 2 reader nfsu 3 Feb 9 2015 prj-fossil -rwxrwxrwx+ 1 reader nfsu 1349 Jan 27 2015 srpscr You may notice output about /projects/reader in the attached automounter output but it has been since deleted from SOLARIS:/projects Also notice the odd looking permissions. A result of: /bin/chmod -R A=everyone@:full_set:fd:allow /projects See home sharenfs is set the same all around >From Solaris:/projects/ for ii in 2x d0 dv gv; do zfs get sharenfs rpool/projects/$ii; done NAME PROPERTY VALUE SOURCE rpool/projects/2x sharenfs on local NAME PROPERTY VALUE SOURCE rpool/projects/d0 sharenfs on local NAME PROPERTY VALUE SOURCE rpool/projects/dv sharenfs on local NAME PROPERTY VALUE SOURCE rpool/projects/gv sharenfs on local So still having a time seeing why thos specific shares cannot be mounted.
Starting automounter version 5.0.8, master map /etc/auto.master using kernel protocol version 5.02 lookup_nss_read_master: reading master file /etc/auto.master parse_init: parse(sun): init gathered global options: (null) spawn_mount: mtab link detected, passing -n to mount spawn_umount: mtab link detected, passing -n to mount lookup_read_master: lookup(file): read entry /prj master_do_mount: mounting /prj automount_path_to_fifo: fifo name /var/run/autofs.fifo-prj lookup_nss_read_map: reading map file /etc/auto.net parse_init: parse(sun): init gathered global options: (null) spawn_mount: mtab link detected, passing -n to mount spawn_umount: mtab link detected, passing -n to mount mounted indirect on /prj with timeout 90, freq 23 seconds st_ready: st_ready(): state = 0 path /prj handle_packet: type = 3 handle_packet_missing_indirect: token 96, name d0, request pid 3369 attempting to mount entry /prj/d0 lookup_mount: lookup(program): looking up d0 >> clnt_create: RPC: Program not registered lookup(program): lookup for d0 failed dev_ioctl_send_fail: token = 96 failed to mount /prj/d0 handle_packet: type = 3 handle_packet_missing_indirect: token 97, name d0, request pid 3369 dev_ioctl_send_fail: token = 97 handle_packet: type = 3 handle_packet_missing_indirect: token 98, name dv, request pid 3378 attempting to mount entry /prj/dv lookup_mount: lookup(program): looking up dv >> clnt_create: RPC: Program not registered lookup(program): lookup for dv failed dev_ioctl_send_fail: token = 98 failed to mount /prj/dv handle_packet: type = 3 handle_packet_missing_indirect: token 99, name dv, request pid 3378 dev_ioctl_send_fail: token = 99 st_expire: state 1 path /prj expire_proc: exp_proc = 140587597362944 path /prj expire_cleanup: got thid 140587597362944 path /prj stat 0 expire_cleanup: sigchld: exp 140587597362944 finished, switching from 2 to 1 st_ready: st_ready(): state = 2 path /prj handle_packet: type = 3 handle_packet_missing_indirect: token 100, name gv, request pid 3390 attempting to mount entry /prj/gv lookup_mount: lookup(program): looking up gv lookup_mount: lookup(program): gv -> -fstype=nfs4,soft,intr,nodev,nosuid,async /merb gv:/merb parse_mount: parse(sun): expanded entry: -fstype=nfs4,soft,intr,nodev,nosuid,async /merb gv:/merb parse_mount: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mount: parse(sun): dequote("/merb") -> /merb parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("gv:/merb") -> gv:/merb update_offset_entry: parse(sun): updated multi-mount offset /merb -> -fstype=nfs4,soft,intr,nodev,nosuid,async gv:/merb do_mount_autofs_offset: mount offset /prj/gv/merb at /prj/gv mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/gv/merb mounted offset on /prj/gv/merb with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/gv/merb at /prj/gv/merb dev_ioctl_send_ready: token = 100 mounted /prj/gv handle_packet: type = 5 handle_packet_missing_direct: token 101, name /prj/gv/merb, request pid 3403 attempting to mount entry /prj/gv/merb lookup_mount: lookup(program): /prj/gv/merb -> -fstype=nfs4,soft,intr,nodev,nosuid,async gv:/merb parse_mount: parse(sun): expanded entry: -fstype=nfs4,soft,intr,nodev,nosuid,async gv:/merb parse_mount: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async sun_mount: parse(sun): mounting root /prj/gv/merb, mountpoint /prj/gv/merb, what gv:/merb, fstype nfs4, options soft,intr,nodev,nosuid,async mount_mount: mount(nfs): root=/prj/gv/merb name=/prj/gv/merb what=gv:/merb, fstype=nfs4, options=soft,intr,nodev,nosuid,async mount_mount: mount(nfs): nfs options="soft,intr,nodev,nosuid,async", nobind=0, nosymlink=0, ro=0 get_nfs_info: called with host gv(192.168.1.41) proto 6 version 0x40 get_nfs_info: nfs v4 rpc ping time: 0.000316 get_nfs_info: host gv cost 315 weight 0 prune_host_list: selected subset of hosts that support NFS4 over TCP mount_mount: mount(nfs): calling mkdir_path /prj/gv/merb mount_mount: mount(nfs): calling mount -t nfs4 -s -o soft,intr,nodev,nosuid,async gv:/merb /prj/gv/merb spawn_mount: mtab link detected, passing -n to mount mount_mount: mount(nfs): mounted gv:/merb on /prj/gv/merb dev_ioctl_send_ready: token = 101 mounted /prj/gv/merb st_expire: state 1 path /prj expire_proc: exp_proc = 140587597362944 path /prj expire_proc_indirect: expire /prj/gv/merb 1 remaining in /prj expire_cleanup: got thid 140587597362944 path /prj stat 3 expire_cleanup: sigchld: exp 140587597362944 finished, switching from 2 to 1 st_ready: st_ready(): state = 2 path /prj handle_packet: type = 3 handle_packet_missing_indirect: token 102, name 2x, request pid 3413 attempting to mount entry /prj/2x lookup_mount: lookup(program): looking up 2x lookup_mount: lookup(program): 2x -> -fstype=nfs4,soft,intr,nodev,nosuid,async /bk 2x:/bk /bk/d0-www 2x:/bk/d0-www /bk/umerb/2x 2x:/bk/umerb/2x /bk/umerb/d1 2x:/bk/umerb/d1 /bk/umerb/dv 2x:/bk/umerb/dv /bk/umerb/oi2 2x:/bk/umerb/oi2 /bk/umerb/reader 2x:/bk/umerb/reader /projects 2x:/projects /projects/2x 2x:/projects/2x /projects/d0 2x:/projects/d0 /projects/dv 2x:/projects/dv /projects/gv 2x:/projects/gv /pub 2x:/pub /rmh 2x:/rmh /rmh/2x2 2x:/rmh/2x2 /rpub/d1 2x:/rpub/d1 /rpub/dv 2x:/rpub/dv /rrsnap 2x:/rrsnap /rrsnap/2x 2x:/rrsnap/2x /rvcs/lanMercRepo 2x:/rvcs/lanMercRepo parse_mount: parse(sun): expanded entry: -fstype=nfs4,soft,intr,nodev,nosuid,async /bk 2x:/bk /bk/d0-www 2x:/bk/d0-www /bk/umerb/2x 2x:/bk/umerb/2x /bk/umerb/d1 2x:/bk/umerb/d1 /bk/umerb/dv 2x:/bk/umerb/dv /bk/umerb/oi2 2x:/bk/umerb/oi2 /bk/umerb/reader 2x:/bk/umerb/reader /projects 2x:/projects /projects/2x 2x:/projects/2x /projects/d0 2x:/projects/d0 /projects/dv 2x:/projects/dv /projects/gv 2x:/projects/gv /pub 2x:/pub /rmh 2x:/rmh /rmh/2x2 2x:/rmh/2x2 /rpub/d1 2x:/rpub/d1 /rpub/dv 2x:/rpub/dv /rrsnap 2x:/rrsnap /rrsnap/2x 2x:/rrsnap/2x /rvcs/lanMercRepo 2x:/rvcs/lanMercRepo parse_mount: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mount: parse(sun): dequote("/bk") -> /bk parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/bk") -> 2x:/bk update_offset_entry: parse(sun): updated multi-mount offset /bk -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/bk parse_mount: parse(sun): dequote("/bk/d0-www") -> /bk/d0-www parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/bk/d0-www") -> 2x:/bk/d0-www update_offset_entry: parse(sun): updated multi-mount offset /bk/d0-www -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/bk/d0-www parse_mount: parse(sun): dequote("/bk/umerb/2x") -> /bk/umerb/2x parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/bk/umerb/2x") -> 2x:/bk/umerb/2x update_offset_entry: parse(sun): updated multi-mount offset /bk/umerb/2x -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/bk/umerb/2x parse_mount: parse(sun): dequote("/bk/umerb/d1") -> /bk/umerb/d1 parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/bk/umerb/d1") -> 2x:/bk/umerb/d1 update_offset_entry: parse(sun): updated multi-mount offset /bk/umerb/d1 -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/bk/umerb/d1 parse_mount: parse(sun): dequote("/bk/umerb/dv") -> /bk/umerb/dv parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/bk/umerb/dv") -> 2x:/bk/umerb/dv update_offset_entry: parse(sun): updated multi-mount offset /bk/umerb/dv -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/bk/umerb/dv parse_mount: parse(sun): dequote("/bk/umerb/oi2") -> /bk/umerb/oi2 parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/bk/umerb/oi2") -> 2x:/bk/umerb/oi2 update_offset_entry: parse(sun): updated multi-mount offset /bk/umerb/oi2 -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/bk/umerb/oi2 parse_mount: parse(sun): dequote("/bk/umerb/reader") -> /bk/umerb/reader parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/bk/umerb/reader") -> 2x:/bk/umerb/reader update_offset_entry: parse(sun): updated multi-mount offset /bk/umerb/reader -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/bk/umerb/reader parse_mount: parse(sun): dequote("/projects") -> /projects parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/projects") -> 2x:/projects update_offset_entry: parse(sun): updated multi-mount offset /projects -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/projects parse_mount: parse(sun): dequote("/projects/2x") -> /projects/2x parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/projects/2x") -> 2x:/projects/2x update_offset_entry: parse(sun): updated multi-mount offset /projects/2x -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/projects/2x parse_mount: parse(sun): dequote("/projects/d0") -> /projects/d0 parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/projects/d0") -> 2x:/projects/d0 update_offset_entry: parse(sun): updated multi-mount offset /projects/d0 -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/projects/d0 parse_mount: parse(sun): dequote("/projects/dv") -> /projects/dv parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/projects/dv") -> 2x:/projects/dv update_offset_entry: parse(sun): updated multi-mount offset /projects/dv -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/projects/dv parse_mount: parse(sun): dequote("/projects/gv") -> /projects/gv parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/projects/gv") -> 2x:/projects/gv update_offset_entry: parse(sun): updated multi-mount offset /projects/gv -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/projects/gv parse_mount: parse(sun): dequote("/pub") -> /pub parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/pub") -> 2x:/pub update_offset_entry: parse(sun): updated multi-mount offset /pub -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/pub parse_mount: parse(sun): dequote("/rmh") -> /rmh parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/rmh") -> 2x:/rmh update_offset_entry: parse(sun): updated multi-mount offset /rmh -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/rmh parse_mount: parse(sun): dequote("/rmh/2x2") -> /rmh/2x2 parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/rmh/2x2") -> 2x:/rmh/2x2 update_offset_entry: parse(sun): updated multi-mount offset /rmh/2x2 -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/rmh/2x2 parse_mount: parse(sun): dequote("/rpub/d1") -> /rpub/d1 parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/rpub/d1") -> 2x:/rpub/d1 update_offset_entry: parse(sun): updated multi-mount offset /rpub/d1 -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/rpub/d1 parse_mount: parse(sun): dequote("/rpub/dv") -> /rpub/dv parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/rpub/dv") -> 2x:/rpub/dv update_offset_entry: parse(sun): updated multi-mount offset /rpub/dv -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/rpub/dv parse_mount: parse(sun): dequote("/rrsnap") -> /rrsnap parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/rrsnap") -> 2x:/rrsnap update_offset_entry: parse(sun): updated multi-mount offset /rrsnap -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/rrsnap parse_mount: parse(sun): dequote("/rrsnap/2x") -> /rrsnap/2x parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/rrsnap/2x") -> 2x:/rrsnap/2x update_offset_entry: parse(sun): updated multi-mount offset /rrsnap/2x -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/rrsnap/2x parse_mount: parse(sun): dequote("/rvcs/lanMercRepo") -> /rvcs/lanMercRepo parse_mapent: parse(sun): gathered options: fstype=nfs4,soft,intr,nodev,nosuid,async parse_mapent: parse(sun): dequote("2x:/rvcs/lanMercRepo") -> 2x:/rvcs/lanMercRepo update_offset_entry: parse(sun): updated multi-mount offset /rvcs/lanMercRepo -> -fstype=nfs4,soft,intr,nodev,nosuid,async 2x:/rvcs/lanMercRepo do_mount_autofs_offset: mount offset /prj/2x/bk at /prj/2x mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/2x/bk mounted offset on /prj/2x/bk with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/2x/bk at /prj/2x/bk do_mount_autofs_offset: mount offset /prj/2x/projects at /prj/2x mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/2x/projects mounted offset on /prj/2x/projects with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/2x/projects at /prj/2x/projects do_mount_autofs_offset: mount offset /prj/2x/pub at /prj/2x mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/2x/pub mounted offset on /prj/2x/pub with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/2x/pub at /prj/2x/pub do_mount_autofs_offset: mount offset /prj/2x/rmh at /prj/2x mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/2x/rmh mounted offset on /prj/2x/rmh with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/2x/rmh at /prj/2x/rmh do_mount_autofs_offset: mount offset /prj/2x/rpub/d1 at /prj/2x mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/2x/rpub/d1 mounted offset on /prj/2x/rpub/d1 with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/2x/rpub/d1 at /prj/2x/rpub/d1 do_mount_autofs_offset: mount offset /prj/2x/rpub/dv at /prj/2x mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/2x/rpub/dv mounted offset on /prj/2x/rpub/dv with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/2x/rpub/dv at /prj/2x/rpub/dv do_mount_autofs_offset: mount offset /prj/2x/rrsnap at /prj/2x mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/2x/rrsnap mounted offset on /prj/2x/rrsnap with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/2x/rrsnap at /prj/2x/rrsnap do_mount_autofs_offset: mount offset /prj/2x/rvcs/lanMercRepo at /prj/2x mount_autofs_offset: calling mount -t autofs -s -o fd=7,pgrp=3331,minproto=5,maxproto=5,offset automount /prj/2x/rvcs/lanMercRepo mounted offset on /prj/2x/rvcs/lanMercRepo with timeout 90, freq 23 seconds mount_autofs_offset: mounted trigger /prj/2x/rvcs/lanMercRepo at /prj/2x/rvcs/lanMercRepo dev_ioctl_send_ready: token = 102 mounted /prj/2x st_expire: state 1 path /prj expire_proc: exp_proc = 140587597362944 path /prj expire_proc_indirect: expire /prj/gv/merb 1 remaining in /prj expire_cleanup: got thid 140587597362944 path /prj stat 11 expire_cleanup: sigchld: exp 140587597362944 finished, switching from 2 to 1 st_ready: st_ready(): state = 2 path /prj st_expire: state 1 path /prj expire_proc: exp_proc = 140587597362944 path /prj expire_proc_indirect: expire /prj/gv/merb 1 remaining in /prj expire_cleanup: got thid 140587597362944 path /prj stat 11 expire_cleanup: sigchld: exp 140587597362944 finished, switching from 2 to 1 st_ready: st_ready(): state = 2 path /prj