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) (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. Salvaging volume will fix "used space" value Regards, Gregory Touretsky Senior System Engineer IEC - Unix platforms and storage [EMAIL PROTECTED] > (+) 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 <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] 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=/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 [EMAIL PROTECTED] MPI f�r Astrophysik Tel 089-30000-2602 Karl-Schwarzschild-Str. 1 Fax 089-30000-2235 D-85741 Garching _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel
