[OpenAFS-devel] negative Quota
Hans-Werner Paulsen
hans@MPA-Garching.MPG.DE
Wed, 16 Oct 2002 17:03:45 +0200
Hello,
I created a new volume and set the Quota to 4000000 kbyte.
Then I try to create a 2 gbyte file:
>dd if=/dev/zero of=2gbyte bs=1048576 count=2048
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%
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.
--
Hans-Werner Paulsen hans@MPA-Garching.MPG.DE
MPI für Astrophysik Tel 089-30000-2602
Karl-Schwarzschild-Str. 1 Fax 089-30000-2235
D-85741 Garching