[OpenAFS-devel] write returns 0 when quota full?

Roland Kuhn rkuhn@e18.physik.tu-muenchen.de
Wed, 29 Jun 2005 19:01:43 +0200


--Apple-Mail-26-23383748
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi!

I'm using 1.3.81 (Debian sarge) fileserver and client. While trying  
out large file support I encountered a very strange behaviour: at  
about 2.6GB dd told me "file too large". I thought that would be a  
very strange limit, so I tried 'echo test >> bigfile', which did  
nothing but burn CPU cycles. strace revealed that it keeps calling  
write(), which returns 0. After killing that rampage 'echo' I tried  
'fs lq', which told me that I used 5107945/5120000 blocks. Even if  
the quota would be used up, I wouldn't expect write() to return 0...

Ciao,
                     Roland

--
TU Muenchen, Physik-Department E18, James-Franck-Str. 85747 Garching
Telefon 089/289-12592; Telefax 089/289-12570
--
A mouse is a device used to point at
the xterm you want to type in.
Kim Alm on a.s.r.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS/CS/M/MU d-(++) s:+ a-> C+++ UL++++ P-(+) L+++ E(+) W+ !N K- w--- M 
+ !V Y+
PGP++ t+(++) 5 R+ tv-- b+ DI++ e+++>++++ h---- y+++
------END GEEK CODE BLOCK------



--Apple-Mail-26-23383748
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCwtP9I4MWO8QIRP0RAiSUAJ9G1vB00e3RCa+qmpOWinF2VhripwCdEQ+9
uzHh3emok0e2bqt4adgqNLc=
=CH6k
-----END PGP SIGNATURE-----

--Apple-Mail-26-23383748--