Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Can create but not overwrite files in NFS mount

SOLVED
Go to solution
tsunix-pdm-1
Advisor

Can create but not overwrite files in NFS mount

Hi,

 

I can create new files but cannot write nor overwrite them. The nfs shared directory is in a Solaris 10 system and the nfs client is HP-UX 11.11. I can mount the same shared directory into other different 11.11 box and it works well.

 

root-hpux11:/mountpoint>touch kk
root-hpux11:/mountpoint>bdf > kk

<it hangs here; CTRL-C must be pressed>

 

/usr/bin/sh: kk: Cannot create the specified file.
root-hpux11:/mountpoint

 

¿Any clue on what is going on?

 

Best Regards,

2 REPLIES
Dave Olker
HPE Pro

Re: Can create but not overwrite files in NFS mount

Please issue the following commands and cut/paste output:

 

ls -ld /mountpoint

ls -l /mountpoint

touch /mountpoint/test123

ls -l /mountpoint/test123

> /mountpoint/test123

 

Be sure to include any output and error messages from the above commands.  

 

On the Solaris NFS server include the contents of the /etc/dfs/sharetab file so I can see exactly how the mount point is shared for the client.

 

Dave

tsunix-pdm-1
Advisor
Solution

Re: Can create but not overwrite files in NFS mount

Hi,

 

The problem was solved by mounting the shared directory as NFS version 2.

Thank you very much for your time !

 

Kind Regards,