[OpenAFS] Re: OpenAFS 1.4.2fc2 and Vanilla Linux kernel 2.6.18

Aaron M. Ucko ucko@debian.org
Sun, 08 Oct 2006 14:38:48 -0400


FB <fbo2@gmx.net> writes:

> Unfortunately, The statfs()-problem remains - AFS still shows zero
> remaining blocks which confuses some "clever" programs.

At least in my case, the problem is the reported block *size*, which
comes back as 2^64 - 1 -- so while I also get absurd numbers, they're
at least absurdly high rather than absurdly low:

$ df -BE /afs
Filesystem           1E-blocks      Used Available Use% Mounted on
AFS                  144000000E        0E 144000000E   0% /afs
$ stat -f /afs
  File: "/afs"
    ID: 6300001234 Namelen: 256     Type: UNKNOWN (0x0)
Block size: 18446744073709551615 Fundamental block size: 18446744073709551615
Blocks: Total: 9000000    Free: 9000000    Available: 9000000
Inodes: Total: 9000000    Free: 9000000

afs_statfs appears to be getting the block size from sbp; being too
lazy to instrument the code, I'm not sure which structure's getting
corrupted.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu@monk.mit.edu (NOT a valid e-mail address) for more info.