- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Weird NFS 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
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
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-28-2008 07:27 PM
тАО07-28-2008 07:27 PM
Weird NFS issue
Trying to re-run the job after an hour has the same issue. Used lsof to check if some process had the file open, there was none. After I remount the filesystem, the file is updated automatically. I tried the noac option to disable caching, that did not help.
We had the same issue when our NFS server was v2. After thinking it might be a version incompatibilty issue, we moved the server to a v3 environment, but no luck.
Is this a bug? Anyone seen this before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 09:42 PM
тАО07-28-2008 09:42 PM
Re: Weird NFS issue
"nfsstat -m" showed the bad ones using vers=2.
Looking at the raw file showed a "block" copied twice, with the rest of the file shoved down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2008 12:23 AM
тАО07-29-2008 12:23 AM
Re: Weird NFS issue
is the NFS server a SG package?
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2008 10:26 AM
тАО07-29-2008 10:26 AM
Re: Weird NFS issue
Flags: vers=3,proto=tcp,sec=sys,hard,intr,noac,link,symlink,acl,devs,rsize=32768,wsize=32768,retrans=5,timeo=600
Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60
Fabio,
You are correct, the NFS server has the filesystem in a MC/SG package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 01:34 AM
тАО07-30-2008 01:34 AM
Re: Weird NFS issue
The 3 is fine. I'm not sure about rsize and wsize.
How big is the corrupted file in question?
Is this still happening?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 04:59 AM
тАО07-30-2008 04:59 AM
Re: Weird NFS issue
I think the problem is related to the TCP protocol used rather than UDP protocol.
See this note in the manual for SG/NFS Toolkit:
http://docs.hp.com/en/B5140-90035/B5140-90035.pdf
Pag.10:
If a server is configured to use NFS over TCP and the client is the same machine
as the server, which results in a loopback NFS mount, the client may hang for
about 5 minutes if the package is moved to another node. The solution is to use
NFS over UDP between NFS-HA-server cross mounts.
├в ┬в The/etc/rmtabfile is not synchronized when an NFS package fails over to the
standby node. This is caused by the design of NFS, which does not keep track of
the state of thermtab. The man page for rmtabcontains a warning that it is not
always totally accurate, so it is also unreliable in a standard NFS server / NFS client
environment.
├в ┬в AutoFS mounts may fail when mounting file systems exported by an HA-NFS
package soon after that package has been restarted. To avoid these mount failures,
AutoFS clients should wait at least 60 seconds after an HA-NFS package has started
before mounting file systems exported from that package.
Try the following to demonstrate the problem is really that:
- switch the NFS package to the second node;
- on the first node try to mount the NFS filesystem and wait around 8/10 minutes without stopping it, I suppose it will succeed to mount it after that period.
Anyway the solution is to use on NFS clients the mount option proto=udp.
Please let me know if something is not clear.
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 11:23 AM
тАО07-30-2008 11:23 AM
Re: Weird NFS issue
Fabio,
This does not apply in my case. The client is not part of the cluster.
Chetan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 08:49 PM
тАО07-30-2008 08:49 PM
Re: Weird NFS issue
If you can tar up the two files and attach them, I can look at them.
Basically you need the original file, use ftp to copy it. Then the copy from over NFS that is bad. Check the cksums first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 08:15 AM
тАО07-31-2008 08:15 AM
Re: Weird NFS issue
CLIENTS:
psapap01:/PRD/mm/iv/out#>cksum zmif1704pdt.err
1668511218 51705 zmif1704pdt.err
psapap01:/PRD/mm/iv/out#>ll zmif1704pdt.err
-rw-rw-rw- 1 vdumpit tech 51705 Jul 30 12:58 zmif1704pdt.err
psapap02:/PRD/mm/iv/out#>cksum zmif1704pdt.err
307133814 51705 zmif1704pdt.err
psapap02:/PRD/mm/iv/out#>ll zmif1704pdt.err
-rw-rw-rw- 1 vdumpit tech 51705 Jul 30 12:58 zmif1704pdt.err
SERVER:
psapcl02:/PRD/mm/iv/out#>cksum zmif1704pdt.err
307133814 51705 zmif1704pdt.err
psapcl02:/PRD/mm/iv/out#>ll zmif1704pdt.err
-rw-rw-rw- 1 vdumpit tech 51705 Jul 30 12:58 zmif1704pdt.err
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2008 08:05 PM
тАО07-31-2008 08:05 PM
Re: Weird NFS issue
Hmm, mine was bad near the start.
You may want to dump the file in hex then compare:
xd -tx4 zmif1704pdt.err > zmif1704pdt.xd