Le 23/03/13 00:01, Marcel Telka a écrit :
Hi Richard,
On Fri, Mar 22, 2013 at 10:31:35PM +0100, Richard PALO wrote:
Why can't Marcel recreate it? I believe that is the first step.
I tried something that I thought might do the same thing as you did, but
apparently I missed something.
What can I give more to help recreate the problem?
Get a pair of OI 151a7 machines freshly installed from ISO, connect them
together using a network connection. This is what I have. The only non-default
thing I did is this:
rolemod -K type=normal root
Now, do something (some configuration) on both machines (one machine will be
the server, the other one the client) and reproduce the problem. Write down
everything you did on both machines and send it to me.
Thanks.
Two things:
1. The problem occurs with an addition share being used
That is, home=x3200:/dpool/export/home/richard
which is one zfs filesystem
but src is a zfs child filesystem to richard
the problem does not seem to occur with a single level nfs share
2. I just verified that simple /usr/bin/pwd has the same problem
(duh, basically it does the same as my test program with bells &
whistles thrown in...)
richard@x3200:~$ zfs list -r dpool/export/home/richard
NAME USED AVAIL REFER MOUNTPOINT
dpool/export/home/richard 65,4G 174G 20,0G /dpool/export/home/richard
dpool/export/home/richard/src 31,6G 174G 16,5G
/dpool/export/home/richard/src
richard@x3200:~$ cd /net/x3200/dpool/export/home/richard
richard@x3200:/net/x3200/dpool/export~$ pwd
/net/x3200/dpool/export/home/richard
richard@x3200:/net/x3200/dpool/export~$ sudo pwd
/dpool/export/home/richard
richard@x3200:/net/x3200/dpool/export~$ pfexec pwd
/dpool/export/home/richard
richard@x3200:/net/x3200/dpool/export~$ cd src
richard@x3200:/net/x3200/dpool/export~/src$ pwd
/net/x3200/dpool/export/home/richard/src
richard@x3200:/net/x3200/dpool/export~/src$ sudo pwd
/dpool/export/home/richard/src
richard@x3200:/net/x3200/dpool/export~/src$ pfexec pwd
/dpool/export/home/richard/src
but:
richard@omni1:~$ cd
richard@omni1:~$ pwd
/home/richard
richard@omni1:~$ sudo pwd
/home/richard
richard@omni1:~$ pfexec pwd
/home/richard
richard@omni1:~$ cd src
richard@omni1:~/src$ df -g .
/home/richard/src (x3200:/dpool/export/home/richard/src): 8192 block size
512 frag size
399246190 total blocks 364583792 free blocks 364583792 available
365305948 total files
364583792 free files 140509190 filesys id
nfs fstype 00000000 flag 255 filename length
richard@omni1:~/src$ pwd
/home/richard/src
richard@omni1:~/src$ sudo pwd
/home/richard/src
richard@omni1:~/src$ pfexec pwd
pwd: cannot determine current directory!
richard@omni1:~/src$ nfsstat -m /home/richard
/home/richard from x3200:/dpool/export/home/richard
Flags:
vers=4,proto=tcp,sec=sys,hard,intr,link,symlink,acl,rsize=1048576,wsize=1048576,retrans=5,timeo=600
Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60
richard@omni1:~/src$ nfsstat -m /home/richard/src
/home/richard/src from x3200:/dpool/export/home/richard/src
Flags:
vers=4,proto=tcp,sec=sys,hard,intr,link,symlink,acl,mirrormount,rsize=1048576,wsize=1048576,retrans=5,timeo=600
Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60
only difference I see here is 'mirrormount' on src
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription:
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com