FW: [OpenAFS] afs: failed to store file (145)
Wheeler, JF (Jonathan)
J.F.Wheeler@rl.ac.uk
Tue, 20 Apr 2004 08:42:26 +0100
> -----Original Message-----
> From: Robert Petkus [mailto:rpetkus@bnl.gov]
> Sent: 19 April 2004 18:04
> To: openafs-info@openafs.org
> Subject: [OpenAFS] afs: failed to store file (145)
>
> I'm having a problem copying files in AFS that exceed the threshold
> specified for cachemanager. For example, I have an openafs 1.2.11
> client and server on the same system (Solaris 2.9). The cache is set at
> 750Mb. I try to copy a 1Gb file and at ~750Mb the fileserver crashes
> and I get the error:
>
> afs: Lost contact with file server x.x.x. in cell rhic.bnl.gov (all
> multi-homed ip addresses down for the server)
> cp: vola4/Bonnie.9126: Invalid argument
> afs: failed to store file (145)
>
> I receive the same error when attempting the copy from other openafs
> clients.
I have seen problems copying files if the size of the cache configured in
/usr/vice/etc/cacheinfo is more than 90% of the size of the cache
filesystem. For example on one of our (Linux) systems:
[a] $ cat /usr/vice/etc/cacheinfo
/afs:/usr/vice/cache:100000
[a] $ df -k /usr/vice/cache
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda6 116648 93038 17588 85% /afscache
Note that 100000 / 116648 = .857
The cache size can be checked using a command like "fs getcacheparms" and
reset using "fs setcachesize"
Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory