[OpenAFS] afs recoverability
Tue, 03 Feb 2009 18:57:55 -0500
Derrick Brashear wrote:
> On Tue, Feb 3, 2009 at 5:45 PM, David Miguel <firstname.lastname@example.org> wrote:
>> I have some questions about recovering afs. Concerning two scenarios:
>> 1. If I loose all afs servers (binaries, configurations, etc...), and I'm
>> left with the partitions with the volumes inside, can I read the data in the
>> volumes without mounting the entire cell again?
> not in a manner which is likely sensible, but you can.
>> 2. Often some files in a disk partition become corrupt, still, we can get
>> all other files from the partition. If part of a volume in /vicepxx becomes
>> corrupt, I loose the hole volume or only some files?
> you lose only the files which go bad. if your storage is unreliable, i
> suggest keeping backups though, and just restoring when you notice an
> unhappy file
If I recall ,just install and one-machine AFS cell, run vos syncserv or
vos syncvlb (I can't remember which). Then the volumes will be online.
If you need to recover from tape into non-afs space, look into the
read_tape command. If you want to restore volume dumps from files into
non-afs space, use restorevol.