Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy Problem

Status
Not open for further replies.

Midrange

Vendor
Aug 28, 2002
135
0
0
SG
Hi there,

I was trying to copy a compressed file (size is 7GB) from an NFS filesystem but the copy process will stop up to 2Gb only.

I have check the ulimit and it is set to unlimited.

Any files i need to check or any parameters i need to change from my NFS.

thanks.
 
it's a JFS and large file enabled FS running on AIX 5.1
 
On JFS on AIX5, I've seen the same happen, even with ulimit set to unlimited.

Strangely enough, I have AIX4 boxes where JFS does go higher than 2GB per file.

You need a JFS2 filesystem or a large file enabled filesystem

crfs -v jfs2

or

crfs -v jfs -o bf=true

or see the manpage for crfs and maybe experiment with nbpi, ag and frag attributes. I guess the default nbpi of 512 leads to 2GB max filesize, but max nbpi iz 128K.

HTH,

p5wizard
 
unixfreak/ p5wizard,

the strange thing is that before we did a shutdown (due to addtl power requirements), the copy is working fine.
 
...after reboot... ?

Are you now running 32bit or 64bit AIX kernel?

what file do /unix and /usr/lib/boot/unix point to?

Did you upgrade filesets between then and now?

HTH,

p5wizard
 
yes after the reboot?

the kernel is still on 32bit..
no upgrade on filesets..
 
Well, other than jfs2, I can't think of anything else to suggest...

Just this though, ulimit can set soft and hard limits. Have you checked both?

ulimit -a

HTH,

p5wizard
 
Look at /etc/security/limits for the value of fsize.
What is the value of the User who is copy the file??
What is the default value???

If you change the file (maybe for the User ABC), User ABC must newly logon!!

ciao
mikri
 
midrange,

Here's a long shot for you... the filesystem you are copying to is mounted under another. It is mounted, but is not in the right place.

e.g.,

/path/to/filesystem mounts first
/path/to mounts second
/path/to/filesystem is where you are copying to, but it is actually a directory on /path/to

As I said, a longshot, but I've seen stranger situations.

-glenn
 
maybe you've got an NFSv2 connection, which has a 2GB file size limit.

Check "nfsstat -m".

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Hi RodKnowlton, how i can check if i'm using the NFSv@ coonection?

FYI, i increase my paging space from 8Gb to 10 GB..My memory size is 4 Gb..

I'll check tomorrow if same problems will occur.

thanks to you all for the replies.
 
Also,
sometimes looking in errpt for the same time slice can give a hint .
Surely the ulimit was set for the right user - since with NFS it matters if you are pooling as a client or pushing as a server.
Try both ways and check that the ulimit for "nobody" user is also unlimited on the destination system.

Long live king Moshiach !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top