Operating System - HP-UX
1832645 Members
3127 Online
110043 Solutions
New Discussion

Problem seeing largefiles in an XFS mounted filesystem

 
SOLVED
Go to solution
David Trusty
Frequent Advisor

Problem seeing largefiles in an XFS mounted filesystem

Hi,

We have a Linux box with an XFS file system which supports largefiles.

The XFS file system is NFS mounted on our HPUX 11 machines.

The problem is that the file sizes shown through NFS are
not correct. They are showing
smaller sizes than the actual,
as if the size is being truncated.

I tried to use "-o largefiles" on the NFS mount command, but it didn't like it.

Any ideas?

Thanks in advance!!

David
3 REPLIES 3
Leif Halvarsson_2
Honored Contributor
Solution

Re: Problem seeing largefiles in an XFS mounted filesystem

Hi
Can you mount the filesystem from another computer (not HP-UX) and see the correct filesizes ?

Is all the filesizes wrong or is only large files (>2GB) truncated (for example to 2GB).

Witch NFS-version is on the Linux server. NFS V2 does not support large files (regardless of what the exported filesystem support).
Bill Hassell
Honored Contributor

Re: Problem seeing largefiles in an XFS mounted filesystem

You will have to enable NFS-version 3 to see these large files, and the exported filesystem must also support NFS-ver3 in order to work. Look at the man page for mount_nfs and also look at the documentation on NFS at http://docs.hp.com


Bill Hassell, sysadmin
David Trusty
Frequent Advisor

Re: Problem seeing largefiles in an XFS mounted filesystem

Thanks!

Yes, setting "vers=3" works
for mounting the file system.

But, I can't seem to do it
using the automounter. Is
this expected in HPUX 11?

Thanks!!

David