1756777 Members
2587 Online
108852 Solutions
New Discussion юеВ

NFS Error

 
SOLVED
Go to solution
Peter Clarke
Regular Advisor

NFS Error

Can anyone help??

Just set up NFS client on VMS 7.3-2 and mounted file system on my linux box but does not allow me to copy a file to this device.
Am i using the correct command (see attached...)

Regards

Peter
38 REPLIES 38
Daniel Fernandez Illan
Trusted Contributor

Re: NFS Error

Hi Peter.

You have a problem with permission between Linux and VMS (proxies accounts).

Yo may prove this command:

TCPIP> add proxy tcpip$nobody /uid=-2/gid=-2/host=*
TCPIP> sysconfig -r nfs noproxy_enabled=1
TCPIP> sysconfig -r nfs noproxy_uid=-2
TCPIP> sysconfig -r nfs noproxy_gid=-2

After shutdown and reboot TCP/IP services.

Best Regards.
Daniel.

Kris Clippeleyr
Honored Contributor

Re: NFS Error

Peter,

As the RMS-E-PRV indicates, the account you're are using has no write access to the MFD of that disk.

Did you check the protection on that disk?

Kris
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Peter Clarke
Regular Advisor

Re: NFS Error

Daniel,

Do i have to shut down tcpip services or can i just stop nfs and restart??

Regards

Peter
faris_3
Valued Contributor

Re: NFS Error

restarting nfs should be enough

You can also do on a console on the nfs server

$ reply/enable=network
to see the nfs messages.

hth,
HF
Bojan Nemec
Honored Contributor

Re: NFS Error

Hi,

Check the /etc/exports file on the Linux machine and, as I suggested in yours previous thred, the /var/log/messages (just do a tail /var/log/messages after you try the copy command on VMS). Can you read anything from this disk or just a dir command?

Bojan
Peter Clarke
Regular Advisor

Re: NFS Error

I checked the var/log/messages and there is nothing obvious here it just says that it mounted ok.
Tried reply/enable=network and i dont recieve any messages when the copy fails.

Let me just check this.

On the Linux box i have edited the /etc/exports file and entered /data/vmsalpha(sync) 129.100.2.1/16
I have added the user nfs_user 400:400 this is the same as user on the alpha.
Then i have started the nfsd daemon.

On the alpha i have created user account nfs_user [400,400] given privileges sysnam and grpnam,then i have added the proxy:
TCPIP>ADD PROXY NFS_USER /NFS=(OUTGOING,INCOMING)/UID=400/GID=400/HOST=ERITHMAIL
and mounted the remote directory:

TCPIP>MOUNT DNFS1: /HOST="ERITHMAIL" /PATH="/data/vmsalpha/"

then i want to copy file pctest.txt to remote directory:

COPY PCTEST.TXT DNFS1:[000000]

I this correct have i missed anything??

Regards

Peter
faris_3
Valued Contributor

Re: NFS Error

have you tried connecting using nfs v3 ?

Some Linux use nfs V4 not yet supported by
the VMS nfs server.

faris_3
Valued Contributor

Re: NFS Error

sorry i thought the server was VMS.

Anyhow, can your exports be accessed by a nfs V3 client ?

/hf
faris_3
Valued Contributor

Re: NFS Error

I guess what you have checked on Linux
that the user nfs_user has write access
to the exported directory.