1832547 Members
4148 Online
110043 Solutions
New Discussion

Re: largefiles problem

 
SOLVED
Go to solution
Murat SULUHAN
Honored Contributor

largefiles problem

Hi

I created a new logical volume, and I run mkfs command as following

mkfs -F vxfs -o largefiles /dev/vg00/mylvol

and I mount this volume as following

mount -t vxfs -o largefiles /dev/vg00/mylvol /mymountdir

I export this dir via NFS to linux and I mount this directory from Linux but I cannot copy a file which is larger than 2GB from linux to that directory

Why this process fail?

Best Regards
Murat SULUHAN


Murat Suluhan
7 REPLIES 7
curt larson_1
Honored Contributor

Re: largefiles problem

what is the version of nfs that your using?
T G Manikandan
Honored Contributor
Solution

Re: largefiles problem

Just do a rpcinfo -p|grep nfs

Make sure you are using NFS v3

NFS v2 does not support large files

In your /etc/rc.config.d/nfsconf

MOUNTD=VER3
MOUNT=VER3

Restart nfs

/sbin/init.d/nfs.server stop & start
Bruno Ganino
Honored Contributor

Re: largefiles problem

Murat, 2gb is maximum filesize that HFS suppors,
Exist tunable parameter "ulimit".
This parameter is the size of the largest file write (in blk of 512 kb).
See also sfnolim, hfnolim, sfszlim, hfszlim.
if not solve your problem, go in
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=230867

HTH
Bruno
Torino (Turin) +2H
Bill Hassell
Honored Contributor

Re: largefiles problem

Both your HP-UX system *and* your Linux system must run NFS ver 3 or you'll never be able to access or create large files over NFS.


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor

Re: largefiles problem

I use newfs instead of mkfs.

I don't think that is the problem, but I believe my methodology is recommended.

I think Bill's got the problem nailed with the NFS version issue.


run nfsstat and see if it helps you diagnose the issue.

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
Lee Tae-kyung
Regular Advisor

Re: largefiles problem

Hi Suluhan,
I recommand you exec compress command before copying a file.
Compress command makes a file smaller.

Good day~~
I think I am a specialist in IT Korea^^. I am a programmer and SE and DBA
Murat SULUHAN
Honored Contributor

Re: largefiles problem

Hi all

I added the following lines to the
/etc/rc.config.d/nfsconf file and restart the nfsd and remount the filesystem

MOUNTD=VER3
MOUNT=VER3

And now I can create file larger than 2GB

Thank u so much

Best Regards
Murat The NFS newbie
Murat Suluhan