Operating System - HP-UX
1745913 Members
4461 Online
108723 Solutions
New Discussion

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 2
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

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
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,