[OpenAFS] Restore of partially deleted volume

Bob Cook bobcook@slac.stanford.edu
Tue, 17 Aug 2004 17:23:38 -0700 (PDT)


Hartmut Reuter wrote:
>Lukas Kubin wrote:
>> By a mistake I did "vos remove" of RW volume. I stopped the process
>> before it finished however now I have a corrupted volume (its entry is
>> only in VLDB).
>> I have .backup version of that RW volume created by "vos backupsys".
>> How can I restore the volume now?
>>
>> Thanks.
>>
>if the backup volume is still ok (you may create a mount point for it
>and look into it)
>you can pipe a vos dump into a vos create command:
>
>vos dump <name>.backup 0 | vos create <server> <partition> <newname>

Lukas, I assume you discovered that this "vos create" should really have been
"vos restore" (I'm sure Hartmut knows this).