[OpenAFS-devel] Re: df wierdness on rhel6 / SL6

Andrew Deason adeason@sinenomine.net
Thu, 12 Sep 2013 15:17:57 -0500


On Thu, 12 Sep 2013 14:15:21 +0200
Christof Hanke <christof.hanke@rzg.mpg.de> wrote:

> [root@ht14 ~]# df /afs
> Filesystem           1K-blocks      Used Available Use% Mounted on
> -                      9000000         0   9000000   0% /afs
> [root@ht14 ~]# df 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/system-root
>                        5160576   2069520   2828912  43% /
> tmpfs                 12297268         0  12297268   0% /dev/shm
> /dev/sda1               148742     56616     84446  41% /boot
> df: `afs': No such file or directory

It's just trying to statfs the mount point according to /proc/mounts (or
/etc/mtab or whatever). The entry apparently has 'afs' in it, and not
'/afs', so the statfs fails. If you strace it, I assume that's what
you'll see. Maybe it would work if your cwd was / .

I didn't think we controlled that information, though. Did you maybe
mount afs by mounting 'afs' instead of '/afs' ? Maybe cacheinfo or
-mountdir specified 'afs' as the mount dir?

-- 
Andrew Deason
adeason@sinenomine.net