- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS sharing between hp-ux and linux
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
тАО11-23-2009 02:19 PM
тАО11-23-2009 02:19 PM
NFS sharing between hp-ux and linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2009 02:45 PM
тАО11-23-2009 02:45 PM
Re: NFS sharing between hp-ux and linux
check if your exported FS, was created with largefiles and if yes if the FS is mounted with this option.
more on this link ( old but good )
http://docs.hp.com/en/940/lgfiles4.pdf
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2009 03:01 PM
тАО11-23-2009 03:01 PM
Re: NFS sharing between hp-ux and linux
Shalom,
Hard to follow this question, but it would appear that HP-UX is sharing a file and the Linux client can't create a file bigger than 2 GB.
On HP-UX as root.
use the command:
fsadm
To convert the file system to support largefiles.
Next time, help us out with the version of HP-UX involved.
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
тАО11-23-2009 11:20 PM
тАО11-23-2009 11:20 PM
Re: NFS sharing between hp-ux and linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2009 11:27 PM
тАО11-23-2009 11:27 PM
Re: NFS sharing between hp-ux and linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2009 11:52 PM
тАО11-23-2009 11:52 PM
Re: NFS sharing between hp-ux and linux
The outputs of "rpcinfo -p" on both hosts might be useful too.
Have you used the "nfsvers=2" or "vers=2" mount options on Linux?
You need NFS v3 for file sizes > 2GB.
Sounds like you're currently using NFS v2 for some reason.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2009 11:59 PM
тАО11-23-2009 11:59 PM
Re: NFS sharing between hp-ux and linux
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/u01 /u01 vxfs delaylog 0 2
/dev/vg01/u02 /u02 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
billSVR1:/u07/mediation /Bill-Med nfs rw,suid 0 0
/dev/vgmed/lvolmed /MED-Test vxfs rw,suid,largefiles,delaylog,datainlog 0 2
#
#
# more /etc/exports
/MED-Test -anon=65534
#
# rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 tcp 49152 status
100024 1 udp 49153 status
100021 1 tcp 49153 nlockmgr
100021 1 udp 49154 nlockmgr
100021 3 tcp 49154 nlockmgr
100021 3 udp 49155 nlockmgr
100021 4 tcp 49155 nlockmgr
100021 4 udp 49156 nlockmgr
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 2 tcp 49156 nlockmgr
100068 2 udp 49167 cmsd
100068 3 udp 49167 cmsd
100068 4 udp 49167 cmsd
100068 5 udp 49167 cmsd
100005 1 udp 49536 mountd
100005 3 udp 49536 mountd
100005 1 tcp 49225 mountd
100005 3 tcp 49225 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 01:45 AM
тАО11-24-2009 01:45 AM
Re: NFS sharing between hp-ux and linux
> 100003 2 udp 2049 nfs
> 100003 3 udp 2049 nfs
> 100003 2 tcp 2049 nfs
> 100003 3 tcp 2049 nfs
Next step would be to check the /etc/fstab and "rpcinfo -p" on the Linux host, please?
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 02:01 AM
тАО11-24-2009 02:01 AM
Re: NFS sharing between hp-ux and linux
From the nfs(5) man page on RHEL 4 Linux:
----
Three different versions of the NFS protocol are supported by the Linux NFS client: NFS version 2, NFS version 3, and NFS version 4.
To mount via NFS version 2, use the nfs file system type and specify nfsvers=2.
---> Version 2 is the default protocol version for the nfs file system type when nfsvers= is not specified on the mount command. <---
----
So you must add "nfsvers=3" to the NFS filesystem's mount options in /etc/fstab on Linux.
(In RHEL 5, NFS version 3 was changed to be the default. But you said you're using RHEL 4 AS, which uses the old NFS version 2 by default.)
Your /etc/fstab line for this NFS filesystem is probably something like this:
Change it to:
Then unmount & re-mount the NFS filesystem.
After that, the file size limitation should be gone.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 02:41 AM
тАО11-24-2009 02:41 AM
Re: NFS sharing between hp-ux and linux
[root@NODE-N ~]# more /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/VolGroup00/LogVol03 /home ext3 defaults 1 2
/dev/VolGroup00/LogVol06 /opt ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol02 /tmp ext3 defaults 1 2
/dev/VolGroup00/Work-Dir /Work-Dir ext3 defaults 1
2
/dev/VolGroup01/LogVol00 /u01 ext3 defaults 1 2
/dev/VolGroup01/LogVol01 /u02 ext3 defaults 1 2
/dev/VolGroup00/LogVol04 /usr ext3 defaults 1 2
/dev/VolGroup00/LogVol05 /var ext3 defaults 1 2
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrecorder auto pamconsole,fscontext=sys
tem_u:object_r:removable_t,exec,noauto,managed 0 0
172.16.2.103:/MED-Test /MED-Test nfs nfsvers=3 0 0
but i get the same error
[root@NODE-N MED-Test]# dd if=/dev/zero of=test1 bs=1024 count=4420033
File size limit exceeded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 09:39 AM
тАО11-24-2009 09:39 AM
Re: NFS sharing between hp-ux and linux
The fact that you're able to create large files locally on the HP-UX system in the exported filesystem leads me to believe the HP-UX box is configured properly. The fact that the Linux box stops at 2GB makes me think (as others have already guessed) that this NFS filesystem is really using NFS v2 instead of v3.
Rather than relying on the /etc/fstab output, I'd be more inclined to believe either the nfsstat output on the server or a network trace taken during the dd command. The nfsstat route is much easier. So here's what I'd suggest:
1) On the HP-UX server: nfsstat -z (zero out the counters)
2) On the Linux client: dd command
3) On the HP-UX server: nfsstat -s (print out the server-side statistics)
That should tell for certain whether the client is using NFS v2 or v3 - or at least tell us if any of your clients are using v2.
Another suggestion - do you have any systems other than this RH4 box you could use to test with?
You could also try using a loopback NFS mount on the HP-UX system and running the dd command in the loopback mount to make sure dd works fine over NFS - even from the local system to the local system.
Finally, I'm curious which version of the nfs-utils package you're running on the RH box?
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
тАО11-24-2009 09:52 AM
тАО11-24-2009 09:52 AM
Re: NFS sharing between hp-ux and linux
Please post
nfsstat
Since largefiles are enabled on HP-UX and this tests out correctly, for some reason the Linux system is defaulting to NFS v2 protocol, as Dave says.
What makes me skeptical is that Linux NFS has been at version 4 for years and version three for even longer than that. It should never default to v2.
Check other services on Linux
nfslock
portmap
portmap should be running as should nfslock.
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
тАО11-24-2009 11:37 PM
тАО11-24-2009 11:37 PM
Re: NFS sharing between hp-ux and linux
the nfs utils output is
nfs-utils-1.0.6-84.EL4
nfs-utils-lib-1.0.6-8.z1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2009 11:46 PM
тАО11-24-2009 11:46 PM
Re: NFS sharing between hp-ux and linux
Do you have any other system you can test against this HP-UX server? Have you tried the loopback NFS mount on the local HP-UX server to verify that dd works over a local NFS mount?
The latest version of nfs-utils is 1.2.1, so if all else fails you can try downloading that version and compiling/installing it to see if it resolves your problem.
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
тАО11-25-2009 12:01 AM
тАО11-25-2009 12:01 AM
Re: NFS sharing between hp-ux and linux
i will try to update the nfsutil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2009 01:04 AM
тАО11-25-2009 01:04 AM
Re: NFS sharing between hp-ux and linux
what do you suggest ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2009 06:54 AM
тАО11-25-2009 06:54 AM
Re: NFS sharing between hp-ux and linux
Can you try using the other HP-UX server as an NFS client to the original 11.23 NFS server and make sure that works properly? That would completely eliminate the HP-UX system as the cause of the problem and focus all attention on the Linux system.
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
тАО12-06-2009 04:30 AM
тАО12-06-2009 04:30 AM
Re: NFS sharing between hp-ux and linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2009 11:46 PM
тАО12-06-2009 11:46 PM