[OpenAFS-devel] RE: negative Quota
Touretsky, Gregory
gregory.touretsky@intel.com
Wed, 16 Oct 2002 18:30:31 +0200
There was a bug in server code, fixed by IBM in IBM AFS 3.6 patch 4
As far as I remember, volume used space became negative when one of =
it's
files exceeded (2GB-1k) or so
From patch 4 release notes:
Defect 12870 (APAR IY25146)=20
(All) This fix resolves a condition where various volume related =
commands
showed the used space of a volume as negative when the size of any file =
in
the volume exceeded 2 GB.=20
Salvaging volume will fix "used space" value
Regards,
Gregory Touretsky
Senior System Engineer
IEC - Unix platforms and storage
gregory.touretsky@intel.com
> (+) 972-4-865-6377, Fax: 04-865-5999
iNET: 465-6377, M/S: IDC-1B
Date: Wed, 16 Oct 2002 17:03:45 +0200
From: Hans-Werner Paulsen <hans@MPA-Garching.MPG.DE>
To: openafs-devel@openafs.org
Subject: [OpenAFS-devel] negative Quota
Hello,
I created a new volume and set the Quota to 4000000 kbyte.
Then I try to create a 2 gbyte file:
>dd if=3D/dev/zero of=3D2gbyte bs=3D1048576 count=3D2048
Filesize limit exceeded
>ls -l
total 2097152
-rw-r--r-- 1 hans 10100 2147483647 Oct 16 16:49 2gbyte
>fs listquota .
data.hans.test 4000000 -2097149 -52% 92%
>rm 2gbyte
>ls -l
total 0
>fs listquota .
Volume Name Quota Used %Used Partition
data.hans.test 4000000 -4194301 -105% 93% =20
I know that there is a filesize limit of 2^^31-1.
But now the used quota is wrong, and the quota limit does not
work as expected.
This is with Linux Kernel 2.4.19 and OpenAFS 1.2.7.
--=20
Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
MPI f=FCr Astrophysik Tel 089-30000-2602
Karl-Schwarzschild-Str. 1 Fax 089-30000-2235=09
D-85741 Garching