Operating System - HP-UX
1829590 Members
8548 Online
109992 Solutions
New Discussion

Re: Allowing large files on nfs

 
jamshed
Frequent Advisor

Allowing large files on nfs

How can I allow large files on network file system?
4 REPLIES 4
Hein van den Heuvel
Honored Contributor

Re: Allowing large files on nfs

Hi there,



I think that you need to mount -o largefiles
on the nfs server for the local mount point and then server out as usual.

At the client side your largest concern woudl be to make sure that the tools can deal with 2GB+ files.



hth.
Hein.
Shaikh Imran
Honored Contributor

Re: Allowing large files on nfs

Hi,
you can try this.
mount -F nfs -o largefiles server:/fs /local

FYI :
It depends on the NFS versions
NFS version2 does not support largefiles.
NFS version3 supports largefiles.upto 128 GB filesize.
HPUX 10.30 above supports NFS version3

Regards,


I'll sleep when i am dead.
Steven E. Protter
Exalted Contributor

Re: Allowing large files on nfs

It could be the target filesystem.

You can do it with newfs -F vxfs -o largefiles /dev/vg00/rlvol_name

The above process is destructive.

or convert with fsadm

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dave Olker
Neighborhood Moderator

Re: Allowing large files on nfs

The NFS mount command does not have a "largefiles" option. The NFS client supports large files by default. There are no special mount options needed for the NFS client to access large files.

However, the NFS server may need to enable large file support, depending upon the server operating system and the underlying filesystem type. For example, when mounting a VxFS filesystem containing large files on the NFS server that will be exported for NFS clients to access, the local VxFS filesystem would need to be mounted on the server using the "largefiles" option.

As for the NFS client's *file* size limits, they are:

HP-UX 11.0 or 11i NFS Version 2 Clients: 2GB
HP-UX 11.0 NFS Version 3 Clients: 1TB
HP-UX 11i NFS Version 3 Clients: 2TB

Regarding the availability of NFS versions, NFS version 2 and 3 have been available on HP-UX since 10.20.

I hope this information helps.

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]
Accept or Kudo