[OpenAFS] scripts for automatic installation + client cache questions

Derek Atkins warlord@MIT.EDU
02 Oct 2002 09:17:44 -0400


"Klaas Hagemann" <kerberos@northsailor.de> writes:

> Hello,
> 
> i am currently trying to write scripts for an automatic setup for
> openafs-file-servers and dbms-servers.
> Therefor i use the bos exec command quite a lot.
> But when adding a new server, i have to restart all servers.
> So i want a "bos exec host "/etc/init.d/afs restart"
> But it ends up with a communication failure. Does someone have an idea for a
> workaround for this?

No, because the bosserver get's killed before the command completes.
Is there any particular reason you don't use "bos restart -all -bosserver"?

> Then i have got another question:
> what are the advances for an own partition for the client on
> /usr/vice/cache?
> Currently, i do not have a seperate partition for it and it works good.

Basically, if your cache partition fills, AFS is screwed.  The benefit
of having your own AFS cache partition is that if only AFS uses the
partition you are guaranteed that it will never fill to capacity.  If
you share the cache partition, then you have to always worry about how
much space is left, because AFS will crash ungracefully in the face of
a full cache (or worse, it could destroy data).

> Thanks for your answers
> Klaas

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available