- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Mount write issue...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 06:51 AM
тАО07-18-2006 06:51 AM
IE,
I mount nasfsa01.fsa.citicorp.com:/vol/fcrr_v1/pvcs11
to:
/pvcstst
now, I do an ll and it locks up.
I have experimented with hard/soft and timeout mount options to no avail.
I know I cannot write because I wrote a mkfile script that tried to write a file of a particular size and it just freezes the session.
Any ideas would be great.
Thanks,
Jody
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 06:56 AM
тАО07-18-2006 06:56 AM
SolutionTake a look at the actual permissions and ownership of the folder being exported.
Take a look at the /etc/exports files for options that may prevent write access.
Also take a look at /etc/fstab on the exporting system, the exporting filesystem may be read only.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:01 AM
тАО07-18-2006 07:01 AM
Re: NFS Mount write issue...
here is the output on servers:
Client: cfcap01d
fstab
nasfsa01.fsa.citicorp.com:/vol/fcrr_v1/pvcs11 /pvcstst nfs bg,soft,timeo=30,retrans=2,rw,nosuid,intr 0 0
server: nasfsa01
/vol/fcrr_v1/pvcs11 -access=galaxy:cfcap01d.nam.nsroot.net,root=gay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:03 AM
тАО07-18-2006 07:03 AM
Re: NFS Mount write issue...
You might want to re-run throught this manual, just to make sure that everything is well configured on the system.
http://docs.hp.com/en/5991-1153/ch02s01.html
Regards,
jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:16 AM
тАО07-18-2006 07:16 AM
Re: NFS Mount write issue...
You need to start at a more fundamental level. I would umount the NFS filesystem on the client and then exportfs -u the file system on the server and then umount the actual filesystem and examine the mode (permissions) of the mountpoint itself. Are those extremely restrictive? You can then mount the filesystem and examine the modes of the directories on this filesystem. Are they reasonable?
I also assume that you have looked for an installed the latest NFS patches on both the client and server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:25 AM
тАО07-18-2006 07:25 AM
Re: NFS Mount write issue...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:52 AM
тАО07-18-2006 07:52 AM
Re: NFS Mount write issue...
They look ok.
I have also learned that I can do an ll before i try to create a file but, once a file creation is attempted, the ll command hangs...even after i kill the file creation process.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 08:07 AM
тАО07-18-2006 08:07 AM
Re: NFS Mount write issue...
On the NFS server, somewhere in the exported filesystem:
echo "Test File" > mynewfile
chmod 644 mynewfile
On the NFS client (while things are still ok, ie, you haven't tried to create an nfs file) -- and cd'ed to wherever mynewfile directory is:
Can you ls mynewfile?
Can you cat mynewfile?
Now, let's try to update the file (note that this will be a write() but not a creat():
echo "Line Two" >> mynewfile
Is that ok?
Can you cat mynewfile now?
Finally, we will creat() a new file under NFS:
echo "Test File 2" > mynewfile2
It would probably help if you identified the NFS Server and Client OS's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 08:14 AM
тАО07-18-2006 08:14 AM
Re: NFS Mount write issue...
echo "Line Two" >> mynewfile
Is that ok?
Can you cat mynewfile now?
This also brings up another question, how are you managing users? NIS? LDAP? or simply passwd files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 09:06 AM
тАО07-18-2006 09:06 AM
Re: NFS Mount write issue...
The problem is coming when I am trying to write large files.
We are using keon that updates local passwd files to manage users.
I don't believe it is a NIS issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 02:27 PM
тАО07-18-2006 02:27 PM
Re: NFS Mount write issue...
Any ideas as to why?
Everything else seems to be working just fine.
Please help!!!
-TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 03:06 PM
тАО07-18-2006 03:06 PM
Re: NFS Mount write issue...
This sounds vaguely like network connectivity problems so let's take NFS out of the picture and try good old ftp.
Pick a sizeable file, e.g. cp /stand/vmunix /var/tmp # I don't want yo to clobber the real /stand/vmunix
Now,
ftp /var/tmp/vmunix in both directions. Do the transfer rates reflect approximately 50% of your Bandwidth? ie. If your are using a 100MiBit/s link are your transfer rates via ftp about 5MiByte/s? In both directions? If so, your network is fine.
Now confess, what OS is your NFS server and client running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 03:55 PM
тАО07-18-2006 03:55 PM
Re: NFS Mount write issue...
It is not an HP host however, I have several other HP hosts mounted to it via NFS.
Any ideas on what to try?
I can't do the FTP thing because we do not have ftp enabled on any of our networks.
SFTP is not enabled either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 02:51 AM
тАО07-19-2006 02:51 AM
Re: NFS Mount write issue...
-TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 03:05 AM
тАО07-19-2006 03:05 AM
Re: NFS Mount write issue...
On the NFS server: any quotas or disk space issues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 03:14 AM
тАО07-19-2006 03:14 AM
Re: NFS Mount write issue...
Post the output of nfsstat -c and nfsstat -m.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 04:14 AM
тАО07-19-2006 04:14 AM
Re: NFS Mount write issue...
I cannot recreate the problem and I have other clients mounted to the exact same directory, which eliminates the NFS server...
Here is the other information requested.
NFS patches:
swlist -l product | grep -i nfs
NFS B.11.11 ONC/NFS; Network-File System,Information Services,Utilities
PHKL_25238 1.0 11.00 NFS nfsd deadlock
PHKL_25993 1.0 thread nostop for NFS, rlimit, Ufalloc fix
PHKL_28185 1.0 Tunable;vxportal;vx_maxlink;DMAPI NFS hang
PHKL_29335 1.0 vx_nospace on NFS write.
PHKL_30151 1.0 NFS binary overwrite hang
PHNE_32477 1.0 ONC/NFS General Release/Performance Patch
# nfsstat -c
##################################
Client rpc:
Connection oriented:
calls badcalls badxids
22761 0 0
timeouts newcreds badverfs
0 0 0
timers cantconn nomem
0 0 0
interrupts
0
Connectionless oriented:
calls badcalls retrans
636 402 1610
badxids timeouts waits
0 2012 0
newcreds badverfs timers
0 0 17
toobig nomem cantsend
0 0 0
bufulocks
0
Client nfs:
calls badcalls clgets
22875 6 22875
cltoomany
0
Version 2: (0 calls)
null getattr setattr
0 0% 0 0% 0 0%
root lookup readlink
0 0% 0 0% 0 0%
read wrcache write
0 0% 0 0% 0 0%
create remove rename
0 0% 0 0% 0 0%
link symlink mkdir
0 0% 0 0% 0 0%
rmdir readdir statfs
0 0% 0 0% 0 0%
Version 3: (22875 calls)
null getattr setattr
0 0% 4815 21% 1140 4%
lookup access readlink
3623 15% 1023 4% 19 0%
read write create
8123 35% 2506 10% 87 0%
mkdir symlink mknod
0 0% 0 0% 0 0%
remove rmdir rename
71 0% 0 0% 33 0%
link readdir readdir+
1 0% 13 0% 1131 4%
fsstat fsinfo pathconf
261 1% 29 0% 0 0%
commit
0 0%
#####################################
nfsstat -m
##########################
# nfsstat -m
/pvcstst from nasfsa01.fsa.citicorp.com:/vol/fcrr_v1/pvcs11 (Addr 169.163.247.219)
Flags: vers=3,proto=udp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
Lookups: srtt= 44 (110ms), dev= 17 ( 85ms), cur= 14 (280ms)
Reads: srtt= 17 ( 42ms), dev= 8 ( 40ms), cur= 6 (120ms)
Writes: srtt= 3 ( 7ms), dev= 3 ( 15ms), cur= 1 ( 20ms)
All: srtt= 44 (110ms), dev= 17 ( 85ms), cur= 14 (280ms)
/prod from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/prod (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/dv from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/dv (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/var/opt/cae from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/caeinstall (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/var/opt/caelog from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/caelog (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/var/mail from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/mail (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/etc/opt/cae from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/caedata (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/home91 from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/home91 (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/home71 from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/home71 (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/home11 from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/home11 (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/home04 from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/home04 (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/home03 from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/home03 (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/home02 from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/home02 (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/opt/lsf from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/prod/lsf (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/sysadm from nastpa05v01cfc:/vol/nastpa05v01cfc_v1/sysadm (Addr 161.127.237.22)
Flags: vers=3,proto=tcp,auth=unix,soft,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)
/test2 from nasfsa01.fsa.citicorp.com:/vol/fcrr_v1/pvcs11 (Addr 169.163.247.219)
Flags: vers=3,proto=udp,auth=unix,hard,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
Lookups: srtt= 25 ( 62ms), dev= 3 ( 15ms), cur= 4 ( 80ms)
Writes: srtt= 4 ( 10ms), dev= 4 ( 20ms), cur= 2 ( 40ms)
All: srtt= 26 ( 65ms), dev= 3 ( 15ms), cur= 4 ( 80ms)
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 04:40 AM
тАО07-19-2006 04:40 AM
Re: NFS Mount write issue...
It looks like the mount point you're having problems with is UDP using 32K read/write sizes. Have you tried using TCP for this mount point? Have you tried using a small rsize/wsize value?
I'd first try using TCP to see if this is a UDP-related problem. I'd then try mounting the filesystem with -rsize=512 and -wsize=512 to see if using a very small read/write request size allows this to work. If either of those suggestions work then it points to a network problem similar to what Clay was pointing to.
You can also check the lanadmin statistics of the interface card on the client to see if any errors are being logged. I would also like to see the "netstat -s" output on the client to see if it's logging any errors at the transport layer.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 05:30 AM
тАО07-19-2006 05:30 AM
Re: NFS Mount write issue...
If this fixes the problem then your network connection is suspect. Have you checked the speed/duplex settings on both your HP-UX client and the corresponding switch port?
Unless this is a Gigabit/s connection, I would hard-set both ends of the connection.
Surprisingly, if one end is running half-duplex and the other end is running full-duplex, things will almost work well and chances are, you wouldn't even notice a problem using telnet, for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 05:08 PM
тАО07-19-2006 05:08 PM
Re: NFS Mount write issue...
I realize you've closed this thread but I just wanted to comment. The fact that lowering the rsize/wsize to 1024 caused things to work is not really a solution - it just highlights the fact that you've got an underlying network problem in your environment.
NFS should be able to work just fine with 32K read/write sizes - in fact your nfsstat output shows every other NFS mount on this client was using 32K read/write sizes and apparently working just fine.
Are you now using 1024 rsize/wsize with UDP or TCP? There are known problems with certain network interface cards and UDP traffic. Did you switch to TCP or just drop the rsize/wsize values? Just curious.
Again, I'm glad your system is working, but I really think you're only hiding the problem by dropping the rsize/wsize as a permanent solution. The small rsize/wsize was a good proof point, and it's a test I've used numerous times with customers, but I urge you to investigate your networking layer a bit closer before you consider this issue resolved. Otherwise you're bound to run into a new problem with some other network application down the road caused by the same underlying problem.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 01:26 AM
тАО07-20-2006 01:26 AM
Re: NFS Mount write issue...
What is the difference in the TCP vs. UDP connection as far as NFS is concerned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 03:19 AM
тАО07-20-2006 03:19 AM
Re: NFS Mount write issue...
It was my intent by having you do the proto=tcp,wsize=512,rsize=512 at one whack to hopefully get you to a working state. I assummed that you would then break it by changing the values one at a time until the problems reaapeared. That would then be another clue.
At this point, you have fixed the symptoms but I'm not sure that you have fixed the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 04:27 AM
тАО07-20-2006 04:27 AM
Re: NFS Mount write issue...
So what are you using now? UDP with small sizes? TCP with small sizes? TCP with 32K read/write sizes? Can you tell me if TCP with 32K read/write sizes work and only UDP fails?
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 05:27 AM
тАО07-20-2006 05:27 AM
Re: NFS Mount write issue...
nasfsa01.fsa.citicorp.com:/vol/fcrr_v1/home8111 /pvcs nfs bg,proto=udp,soft,rw,nosuid,rsize=1024,wsize=1024,intr 0 0
When I try to change the udp in proto to tcp, i receive the below message, but, when I changed it back to udp, it works fine.
Any ideas?
# nfs mount: retry: retrying(1) for: /pvcs after 5 seconds
nfs mount: retry: giving up on: /pvcs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 05:36 AM
тАО07-20-2006 05:36 AM
Re: NFS Mount write issue...
If this is a NetApp box, you may have to configure it to support TCP mounts depending on the version of OnTap it's running.
Are other NFS clients able to mount filesystems from this filer using TCP? Do you have admin rights on the NetApp box where you can use the filer admin tools to verify NFS/TCP support is enabled?
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
