[OpenAFS] 2 problems for me newbie...
Dexter 'Kim' Kimball
dhk@ccre.com
Thu, 16 Sep 2004 14:09:32 -0600
I'd use a script. The "vos release" command doesn't take multiple =
volume
name arguments.
In general, if you need to find out what volumes are mounted below a =
given
node in your directory tree in order to recursively vos release them you =
can
use "bos exec" to run /usr/afs/bin/salvager -showmounts on each =
fileserver,
redirecting the output to a world-writeable AFS directory for =
convenience.
I can send an example if you'd like.
The /usr/afs/bin/salvager -showmounts command will output a list of =
volumes
and for each volume will indicate any mount points in that volume, and =
the
path, relative to the root node of the volume. You can awk out the =
volume
names relative to your top (root) volume and vos release them in a
loop/script.
This breaks the dependency on mount point names and doesn't depend on
running a recursive "find," for example, which will frequently recurse
indefinitely in AFS file space. =20
Kim
> -----Original Message-----
> From: openafs-info-admin@openafs.org
> [mailto:openafs-info-admin@openafs.org] On Behalf Of Lars Schimmer
> Sent: Thursday, September 16, 2004 2:57 AM
> To: openafs-info@openafs.org
> Subject: [OpenAFS] 2 problems for me newbie...
>=20
>=20
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi!
>=20
> I'm new to this list and start with 2 questions:
> 1. Has anyone compiled OpenAFS 1.3.70 for debian sarge with
> the 2.6.8 kernel? For me it breaks with error 2 and a lot of=20
> error output while the compile run. 2. Is it possible in=20
> OpenAFS 1.3.70 to release all volumes under a "root" volume=20
> in one bosserver-command? E.G. volume home and under this=20
> "home" volume 500 volumes, each user one volume. Now I want=20
> to release ALL these 500 volumes with one command, but "vos=20
> release home.*" doesn't work. Yes, these 500 volumes are all=20
> named home.XYZ , so this could be easy. Right now i release=20
> them by hand, klog admin and then for i in.... do vos release=20
> home.$i...
>=20
> Cya & thanks
> Lars
> - --
> - -----------------------------------------------------------------
> Technische Universit=E4t Braunschweig, Institut f=FCr Computergraphik
> Tel.: +49 531 391-2109 E-Mail: schimmer@cg.cs.tu-bs.de
> PGP-Key-ID: 0xB87A0E03
>=20
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
>=20
> iD4DBQFBSVVKVguzrLh6DgMRAvwuAKDQV/9ZjeQmFDgRbaIY6B833KbDTACYzcmQ
> oeS4Uw6gBstPHLdrSRm+DQ=3D=3D
> =3DM/NN
> -----END PGP SIGNATURE-----
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org=20
> https://lists.openafs.org/mailman/listinfo/openafs-info
>=20