Dear Listers,

z/OS 2.1 NFS Server
Ubuntu 15.04 client

I am trying to share a directory tree that resides on my mainframe Unix System 
Services. This tree consists of a number of zFS file systems, locally mounted. 
For this, I have set up the GFSAPROC started task that implements the NFS 
server. I have basically used the sample set-up with only minor changes. I have 
set security(saf,saf,saf) in the site attributes.

I have downloaded the source code for the mvslogin set of commands to the 
client and have built these commands successfully. Login is successful with an 
informational message like this:
GFSA978I JANTJE logged in ok.
         Mismatch in uid/gid: z/OSUNIX uid is 1234, gid is 500,
         client uid is 1000, gid is 1000.

Next, I have mounted the directory tree like thus:
sudo mount -t nfs -o vers=3 mainframe:/hfs/u /mnt

So far, so good, I can see the root of the tree and its sub-directories. But 
none of the file systems that are mounted on these sub-directories on the 
mainframe. This is to be expected with NFS version 3 protocol, as that version 
does not support crossing these server mount points. 

OK, let's switch to NFS version 4 then. 
sudo umount -f /mnt
sudo mount -t nfs -o vers=4 mainframe:/hfs/u /mnt

Now when I ls /mnt, I get this:

user@WGC:~$ ls -la /mnt
ls: cannot access /mnt/JNI: Unknown error 521
ls: cannot access /mnt/CAF2: Unknown error 521
ls: cannot access /mnt/BOUM: Unknown error 521
total 3
drwxr-xr-x 13 nobody 4294967294 8192 Jul 16 13:57 .
drwxr-xr-x 22 root   root       4096 Jul 10 18:59 ..
d?????????  ? ?      ?             ?            ? BOUM
d?????????  ? ?      ?             ?            ? CAF2
d?????????  ? ?      ?             ?            ? JNI
user@WGC:~$

Server side, there is no entry in the log, not a single indication of any error 
whatsoever.

I have spent the afternoon googling for this error message and found tons of 
articles about it with various suggestions, but none that have helped me solve 
the problem.

Any suggestion of what setting I have missed?

Thanks and very best regards,

Jantje.


P.S.
Yes, I know, if I put this question to Google, it turns up an article from 
redhat with exactly this subject. Only, it does not show me the solution. I do 
not have a subscription at redhat and I am not prepared to spend that amount of 
dollars.

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

Reply via email to