Operating System - Tru64 Unix
1752598 Members
5605 Online
108788 Solutions
New Discussion юеВ

Re: TRU64 5.1 File size limits

 
Cara Rollins
Advisor

TRU64 5.1 File size limits

There appears to be something odd with file limits When copying files (cp) I'm getting an odd 'Exceeded file size limit' message.

cp -R /dir1/dir1.2 /dir2

Any ideas? I'm copying 52 GB of data and it quits after about 20GB.

Does anyone know of any file size limits? I'm assuming it's hitting a large file and stopping.
Happiness lies in the joy of acheivement and the thrill of creative effort.
12 REPLIES 12
Michael Schulte zur Sur
Honored Contributor

Re: TRU64 5.1 File size limits

Hi,

are we talking about AdvFS?

greetings,

Michael
Ivan Ferreira
Honored Contributor

Re: TRU64 5.1 File size limits

Check your session limits with ulimit -a. I think that you have file limit set:

ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4194304
stack(kbytes) 32768
memory(kbytes) 16322280
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 8388608

Use ulimit -f to modify the value.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
MUM_HPS
Advisor

Re: TRU64 5.1 File size limits

Hello Mr Cara Rollins

This Error is due to the number of files in the source directory and has nothing to do with the size of individual files.
You can try copying limited files (may be a set of 200 files)
This will resolve your issue.

Thanx
Manmohan
Michael Schulte zur Sur
Honored Contributor

Re: TRU64 5.1 File size limits

Hi,

aren't you mistaking that with the resolution of * by the shell? Since he is copying recursively, this should be no problem.

greetings,

Michael
Cara Rollins
Advisor

Re: TRU64 5.1 File size limits

This is advfs, yes.
Happiness lies in the joy of acheivement and the thrill of creative effort.
Cara Rollins
Advisor

Re: TRU64 5.1 File size limits

It isn't the ulimit settings. The settings are the same as another server where the copy works fine.

time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 131072
stack(kbytes) 8192
memory(kbytes) 2040360
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 4194304
Happiness lies in the joy of acheivement and the thrill of creative effort.
Cara Rollins
Advisor

Re: TRU64 5.1 File size limits

It is definitely the file size. I get the same error copying one 1 GB file.
Happiness lies in the joy of acheivement and the thrill of creative effort.
Cara Rollins
Advisor

Re: TRU64 5.1 File size limits

Also, the files over 1GB are getting truncated to 1GB.
Happiness lies in the joy of acheivement and the thrill of creative effort.
Ivan Ferreira
Honored Contributor

Re: TRU64 5.1 File size limits

Are you using quotas on that file system? use quota/repquota to verify that.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?