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

2004-10-13 Thread Hartmut Reuter
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
Hi!
Just a question about RO/RW copies.
We have set up 3 volumes for every user (home, work, ftp) and few others
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 release
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.
Cya
Lars
- --
- -
Technische Universität Braunschweig, Institut für Computergraphik
Tel.: +49 531 391-2109E-Mail: [EMAIL PROTECTED]
PGP-Key-ID: 0xB87A0E03
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBbOo/VguzrLh6DgMRAjcjAKCZOu57oAGC4UCu7uiVgMCCjg5OnwCeP6hn
wLaX2jZOksBZfo7iA6bI+40=
=GIK6
-END PGP SIGNATURE-
___
OpenAFS-info mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-info

--
-
Hartmut Reuter   e-mail [EMAIL PROTECTED]
   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)
-
___
OpenAFS-info mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-info


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

2004-10-13 Thread Frank Burkhardt
Hi,

On Wed, Oct 13, 2004 at 10:41:35AM +0200, Lars Schimmer wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi!
> 
> Just a question about RO/RW copies.
> We have set up 3 volumes for every user (home, work, ftp) and few others
> 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 release
> 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.

Are you *really* sure, the mountpoints to these volumes (home, work, ftp)
are correct?

Try this:

 $ fs lsm /afs/path/to/home
 '/afs/path/to/home' is a mount point for volume '%home'

The '%' is important.

Another possible mistake is to have a difference between
RO and RW of the volume containing '/afs/path/to' (=the
volume containing the mountpoint to 'home'). Maybe you
changed the mountpoint for 'home' but you didn't release
the containing volume.

HTH.

Regards,

Frank
___
OpenAFS-info mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-info


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

2004-10-13 Thread Lars Schimmer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi!
Just a question about RO/RW copies.
We have set up 3 volumes for every user (home, work, ftp) and few others
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 release
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.
Cya
Lars
- --
- -
Technische Universität Braunschweig, Institut für Computergraphik
Tel.: +49 531 391-2109E-Mail: [EMAIL PROTECTED]
PGP-Key-ID: 0xB87A0E03
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBbOo/VguzrLh6DgMRAjcjAKCZOu57oAGC4UCu7uiVgMCCjg5OnwCeP6hn
wLaX2jZOksBZfo7iA6bI+40=
=GIK6
-END PGP SIGNATURE-
___
OpenAFS-info mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-info