Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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?
Cara Rollins
Advisor

Re: TRU64 5.1 File size limits

is that a command?
Happiness lies in the joy of acheivement and the thrill of creative effort.
Ivan Ferreira
Honored Contributor

Re: TRU64 5.1 File size limits

Can you also post the results of:

df -ik /dir2
showfdmn domain_name
showfsets domain_name fset_name

Where domain and fset name corresponds to the one that holds /dir2
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Sial_1
Frequent Advisor

Re: TRU64 5.1 File size limits

I think Ferreira is right. It is defiantly just because of your quota limitation on your destination Fileset (/dir2) where you try to copying your 52 GB data. Nothing related to ulimit.

Can you also post the results of:

#/sbin/advfs/vdf -k -l domain#fileset