[168] in Info-AFS_Redistribution
Problem with Large Files on rt_aix221
daemon@ATHENA.MIT.EDU (Dan_Hamel@transarc.com)
Mon Jun 24 16:12:01 1991
Date: Mon, 24 Jun 1991 14:23:06 -0400 (EDT)
From: Dan_Hamel@transarc.com
To: Info-AFS@transarc.com
Several users have reported problems with copying large files on the
IBM/RT running AIX 2.2.1. Usually, after copying a file larger than 4Mb,
the target file is 0-length.
I was able to resolve the problem on our RT's by setting the filesize
limit to a very large value, both for users and for AFS processes (the
default is 4Mb).
For users, a new filesize limit can be encoded in the 'information'
field of the /etc/passwd file, as follows:
hamel:!:6622:11:Dan Hamel/100000:/afs/transarc.com/usr/hamel:/bin/csh
^^^^^^^
This sets the filesize to 100000 * 512, or 50Mb for the user. As an
alternative to editing the passwd file directly, you can set the
user's filesize limit via the "users" tool.
The filesize limit also has to be increased before any AFS processes are
started, whether they are started via the rc script or at the command
line. Execute the following commands (or add to the appropriate rc script)
before starting afsd or bosserver (other processes will inherit filesize
limit from bosserver):
ulimit n # bourne shell - ulimit is n 512k blocks
or
limit filesize n # c shell - ulimit is n 512k blocks
I was able to copy files > 35Mb after making these changes, (all the space
I had on my vice partitions). Hopefully these changes will allow you to
manipulate arbitrarily large files.
Dan Hamel
Transarc
Product Support Specialist