[OpenAFS] empty /afs

Dan Hyde drh@umich.edu
Wed, 11 Jul 2012 21:44:05 -0400


There be dragons. We learned the had way a long time ago that it is possible=
 to have your server require you have a working client before the server wou=
ld start (before it had access to what the client could provide).  Please re=
consider.

On Jul 11, 2012, at 9:25 PM, "Lewis, Dave" <LEWIS@NKI.RFMH.ORG> wrote:

> Hi,
>=20
> On one of our fileservers, /afs is empty.  (We're running the AFS client
> on the fileserver because I sometimes do client operations there.)  All
> of our other servers and clients seem fine.
>=20
> I looked through the AFS log files and didn't see anything obvious (but
> I could have missed something).  The /usr/vice/cache partition is ext3.
>=20
> CentOS 5.6, OpenAFS 1.4.14.1, 64-bit
>=20
> $ ls -la /afs
> total 8
> drwxr-xr-x  2 root root 4096 Apr 14  2010 ./
> drwxr-xr-x 34 root root 4096 May 26 19:16 ../
>=20
> # service openafs-client status
> afsd (pid 4320) is running...
>=20
> # du -sh /usr/vice/cache
> 24M     /usr/vice/cache
>=20
> # cat /usr/vice/etc/cacheinfo
> /afs:/usr/vice/cache:900000
>=20
> $ cat /etc/sysconfig/openafs
> # OpenAFS Client Configuration
> AFSD_ARGS=3D"-fakestat -stat 4000 -dcache 4000 -daemons 6 -volumes 256
> -files 50000 -nosettime"
>=20
> # OpenAFS Server Configuration
> BOSSERVER_ARGS=3D
>=20
>=20
> On another server (set up the same way):
>=20
> $ ls -la /afs
> total 15
> drwxrwxrwx  2 root root 2048 May 17  2000 ./
> drwxr-xr-x 33 root root 4096 May 26 19:20 ../
> lrwxr-xr-x  1 bin  root   13 May 17  2000 cabi -> cabi.rfmh.org/
> drwxrwxrwx  2 root root 2048 Jun 14  2011 .cabi.rfmh.org/
> drwxrwxrwx  2 root root 2048 Jun 14  2011 cabi.rfmh.org/
>=20
> # du -sh /usr/vice/cache
> 827M    /usr/vice/cache
>=20
> Would it be safe to restart the AFS client and see if it fixes the
> problem?  Since the computer is a server and I haven't figured out the
> cause of the problem, I thought I would ask here first.
>=20
> Thanks,
> Dave
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
> David P. Lewis=20
> Center for Advanced Brain Imaging, Division of Medical Physics=20
> The Nathan S. Kline Institute for Psychiatric Research=20
> 140 Old Orangeburg Road, Orangeburg, NY 10962=20
>=20
>=20
>=20
>=20
>=20
> Conserve Resources. Print only when necessary.
>=20
> IMPORTANT NOTICE: This e-mail is meant only for the use of the intended re=
cipient. It may contain confidential information which is legally privileged=
or otherwise protected by law. If you received this e-mail in error or from s=
omeone who is not authorized to send it to you, you are strictly prohibited f=
rom reviewing, using, disseminating, distributing or copying the e-mail. PLE=
ASE NOTIFY US IMMEDIATELY OF THE ERROR BY RETURN E-MAIL AND DELETE THIS MESS=
AGE FROM YOUR SYSTEM. Thank you for your cooperation.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>=20
>=20