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
to "restore" your volume names and mountpoints.

See also:
http://www.mail-archive.com/info-afs@transarc.com/msg04144.html

I hope this helps.
--
cheers
paul                                    http://acm.org/~mpb

References:

[0] "Recovery of RW volume" posting on [EMAIL PROTECTED]
    http://www.mail-archive.com/info-afs@transarc.com/msg04144.html

[1] "vos dump"
    
http://www.transarc.ibm.com/Library/documentation/afs/3.6/unix/en_US/HTML/AdminRef/auarf260.htm#HDRVOS_DUMP

[2] "vos restore"
    
http://www.transarc.ibm.com/Library/documentation/afs/3.6/unix/en_US/HTML/AdminRef/auarf274.htm#HDRVOS_RESTORE

[3]
Rubino Geiß wrote:

>>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 expected (to run 'vos 
>>release ...')? 
>>
>
>Yes, vos release is required.
>
>
>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 case of disaster switch to the RO as
>RW volumes... is possible or do we have to "hack" openAFS for that? -- I
>know backups do the trick (of some kind of disaster recovery; and we do
>daily  backups), but restoring > 100GB will cause significant outage!
>
>_______________________________________________
>OpenAFS-info mailing list
>[EMAIL PROTECTED]
>https://lists.openafs.org/mailman/listinfo/openafs-info
>



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

Reply via email to