How are the permissions defined on the target NFS mount?  Which is the
output of # ls -la /mnt?

Pedro Principeza



From:   "Dazzo, Matt" <mda...@pch.com>
To:     LINUX-390@vm.marist.edu
Date:   04/08/2011 11:59
Subject:        Re: NFS Mount
Sent by:        Linux on 390 Port <LINUX-390@vm.marist.edu>



Removing the second -o helped but then I got bad parm msg. So then I just
entered mount 27.1.39.74:/st1mat /mnt  and did not get any error. I did
get a permission denied when trying to cd to /mnt after the mount. The
permissions for /mnt are
drwxr-xr-x  2 root root  4096 Mar 17 12:04 mnt. Thanks

[root@lndb2con /]# mount -o ver=2 27.1.xx.xx:/st1mat /mnt
Bad nfs mount parameter: ver
[root@lndb2con /]# mount 27.1.xx.xx:/st1mat /mnt
[root@lndb2con /]# cd mnt
-bash: cd: mnt: Permission denied
[

-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
Pedro Principeza
Sent: Thursday, August 04, 2011 10:23 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NFS Mount

Also!

On the target definition, change it from 27.1.xx.xx:st1mat to
27.1.xx.xx:/st1mat

Therefore:

# mount -o ver=2 27.1.XX.XX:/st1mat /mnt

HTH (also).
Pedro Principeza



From:   "Dazzo, Matt" <mda...@pch.com>
To:     LINUX-390@vm.marist.edu
Date:   04/08/2011 11:10
Subject:        NFS Mount
Sent by:        Linux on 390 Port <LINUX-390@vm.marist.edu>



On z1.11 I have the NFS client and server up. I am trying to mount from
Linux-390 to mvs and getting some errors. Not much help from the Network
File System Guide and Reference guide either. Getting a Linux error msg,
any help is appreciated. See below, tks Matt

[root@lndb2con /]# mount -o ver=2 -o 27.1.xx.xx:st1mat /mnt
mount: can't find /mnt in /etc/fstab or /etc/mtab

Matthew Dazzo
Sr MVS Systems Programmer
Publishers Clearing House
Port Washington NY
516-944-4816


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to