[OpenAFS] releasing volumes automatically

Lars Schimmer schimmer@cg.cs.tu-bs.de
Thu, 10 Feb 2005 11:57:14 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hans-Gunther Borrmann schrieb:
| On Thursday 10 February 2005 10:55, Marco Spatz wrote:
|
|>Hi,
|>
|>I've set up an OpenAFS und a 4 machines cluster, and have made replicas
|>of the user's home volumes. I know, that generally, this is a bad idea,
|>but I want to use this as backup the user can access without my help
|>(I've mounted the readonly volumes to another mountpoint).
|>And now I want the AFS system to release this volumes at night, but I
|>don't know how to this. Thought about writing a cronjob, but I don't
|>know how do gain access as admin to get the rights to execute 'vos
|>release'. Is there any possibility to tell OpenAFS to release certain (or
|>all) changed volumes at a certain time? Would be a great help.
|>
|>Thanks for your help,
|>
|>Marco
|
|
| You can run a cron job on your AFS fileservers which takes a list of the
| volumes to release and uses "vos release .... -localauth". Thats what I do.

Thats nearly what we do here, to.
All our home volumes follow the naming scheme user.XYZ.
So we wrote a small shell script "vos release user.XYZ" and let it run every
night inside the bosserver.
Remember, that you can't vos release user.* , you have to "for i in ls
/afs/a.b.c.d/home/ ; do vos release user.$i; done" or something similar.

| Gunther

Cya
Lars
- --
- -----------------------------------------------------------------
Technische Universität Braunschweig, Institut für Computergraphik
Tel.: +49 531 391-2109            E-Mail: schimmer@cg.cs.tu-bs.de
PGP-Key-ID: 0xB87A0E03


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCCz4KVguzrLh6DgMRAtdSAJoDDjQDquImltU1dXVLbIApnq/f9ACfVVrY
22XeqjlhEpVmK50zjpZ1/Og=
=MM89
-----END PGP SIGNATURE-----