[OpenAFS] Question about RO/RW Volumes...

Hartmut Reuter reuter@rzg.mpg.de
Wed, 13 Oct 2004 11:03:22 +0200


use the "-rw"  option for "fs mkm" to force use of the RW volume.
We do the same: all user volumes are mounted with -rw and have 2
RO copies one in the same partition to make the reclone fast and
another one on another fileserver as a backup in case the 1st
partition gets lost.

We also have another tree where the RO-volumes are mounted to
allow users to get back their files from yesterday.

The automatic release of volumes theat have changed is done in
a cron job on each fileserver machine during the night.

Hartmut

Lars Schimmer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi!
>=20
> Just a question about RO/RW copies.
> We have set up 3 volumes for every user (home, work, ftp) and few other=
s
> with CVS, svn, data,...
> For easy backup we've made RO copies of nearly all volumes.
> But now, with 2 database servern and all the RO copies, we run into a
> problem not thought about before.
> With the 2nd database server in the cellservdb, most machine use the RO=

> copies of the volumes. With some volumes (archive, cdonline) that's OK
> for working (but hey, these data isn't really small to hold a RO copy),=

> but with CVS, svn or home dirs, a RO copy-mount isn't really nice.
> How can we be sure, to have RW Access to these volumes?
> It would be nice, if OpenAFS would loadbalance the read to all the RW &=

> RO volumes, but write only to the RW volume and than automaticly releas=
e
> this volume...
> The only dirty solution I found is to mount the root.cell volume RW as
> /afs/.url.to.domain to have guranteed RW access to the volumes.
>=20
> Cya
> 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
> iD8DBQFBbOo/VguzrLh6DgMRAjcjAKCZOu57oAGC4UCu7uiVgMCCjg5OnwCeP6hn
> wLaX2jZOksBZfo7iA6bI+40=3D
> =3DGIK6
> -----END PGP SIGNATURE-----
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info


--=20
-----------------------------------------------------------------
Hartmut Reuter                           e-mail reuter@rzg.mpg.de
					   phone +49-89-3299-1328
RZG (Rechenzentrum Garching)               fax   +49-89-3299-1301
Computing Center of the Max-Planck-Gesellschaft (MPG) and the
Institut fuer Plasmaphysik (IPP)
-----------------------------------------------------------------