[OpenAFS] 'replication'

2002-08-28 Thread Turbo Fredriksson
A couple of weeks ago I created som replica 'sites' (it replicates some very important volumes to another partition /vicepc where the original volume is on /vicepb). I only have one machine at the moment, so I'm just replicating to the same host. This was more or less just a test on how it's done

RE: [OpenAFS] 'replication'

2002-08-28 Thread Rubino Geiß
> This was more or less just a test on how it's done. Any way, > I mounted my readonly replica on another directory, and > discovered that it's not real time replication! Ie, the files are OLD. That's what they supposed to be, without vos release XXX... > > Did I set it up wrongly, or is this

Re: [OpenAFS] 'replication'

2002-08-28 Thread Paul Blackburn
Turbo, You need to run the "vos release $name_of_RW_volume" to update the ReadOnly replica volumes to be copies of the current ReadWrite volume. I use "vos release $name_of_RW_volume -verbose" which gives a little more detail about the volume release process. It's also possible to automate this

Re: [OpenAFS] 'replication'

2002-08-28 Thread Hartmut Reuter
Rubino Geiß wrote: --snip-- > > Anyway, does anyone know a setup or trick to make a RO volume a RW > volume? > > Some time ago there was a reference to some "admin hack" or something > like that on this list, but nothing more. I'd like to regularly do vos > releases on a set of volumes and in ca

Re: [OpenAFS] 'replication'

2002-08-28 Thread Marc Schmitt
Hi Rubino, Rubino Geiß wrote: > Anyway, does anyone know a setup or trick to make a RO volume a RW > volume? Dump the volume and restore it as a readwrite. Greetz Marc ___ OpenAFS-info mailing list [EMAIL PROTECTED] https://lists.openafs.org/

Re: [OpenAFS] 'replication'

2002-08-28 Thread FBO
On Wed, Aug 28, 2002 at 10:10:42AM +0200, Hartmut Reuter wrote: [snip] > This "vos convert" command, however, is an extension I wrote for MR-AFS, > but suppose it could easily be implemented for OpenAFS with > NAMEI-interface as well. practically it only does things: Is there a schedule for impl

Re: [OpenAFS] 'replication'

2002-08-28 Thread Paul Blackburn
Rubino, If you lost a RW volume then you can recover data from the old RO copy of that RW. You can create a new RW volume copy the contents of the old RO volume to the new RW. vos dump volume.readonly -time 0 | vos restore newvolume Then you can undo mountpoints and do some volume renaming

[OpenAFS] dynamic hostnames...

2002-08-28 Thread Daniel Swärd
I've set up a Debian workstation image and I want the workstations to get names from dns. I'm using this for setting the ip: -- #!/bin/bash ipadress=$(/sbin/ifconfig eth0 | /bin/grep inet | /usr/awk '{print $2}' | /usr/bin/cut -d : -2) wsname=$(dig -x $ipadress | /bin/grep PTR | /usr/bin/aw

Re: [OpenAFS] 'replication'

2002-08-28 Thread klaas hagemann
Hi Turbo, as far as i can see it, you have to run "vos release" everytime the master-volume changed. Klaas - Original Message - From: "Turbo Fredriksson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 9:24 AM Subject: [OpenAFS] 'replication' > A couple of

Re: [OpenAFS] 'replication'

2002-08-28 Thread craigev
On Wednesday, 08/28/2002 at 10:10 ZE2, Hartmut Reuter <[EMAIL PROTECTED]> wrote: > .. > Whenever the original partition should break I will do a > "vos convert " > which converts the RO into a RW-volume. > > This "vos convert" command, however, is an extension I wrote for MR-AFS, > but suppo