[OpenAFS] reading files from problem volume

Jeffrey Hutzelman jhutz@cmu.edu
Thu, 22 Aug 2013 17:09:59 -0400

On Thu, 2013-08-22 at 14:24 +0000, sabah s. salih wrote:
> Dear All,
>       We have the following case. Is there away where we could recover files from this volume please.
> # vos exam 536873829
> vsu_ClientInit: Could not get afs tokens, running unauthenticated.
> Could not fetch the information about volume 536873829 from the server
> : No such device
> Volume does not exist on server afs21.hep.manchester.ac.uk as indicated by the VLDB
> Dump only information from VLDB
> kiran
>     RWrite: 536873829
>     number of sites -> 1
>        server afs21.hep.manchester.ac.uk partition /vicepc RW Site
> [root@afs21 vicepcc]#
> [root@afs21 vicepcc]# ls /vicepcc/V0536873829.vol
> /vicepcc/V0536873829.vol

So, the VLDB says the volume is on /vicepc, but you salvaged a volume
on /vicepcc.  The fileserver is not very clever about the same volume
appearing on multiple partitions; if there _is_ a volume header
on /vicepc, then the server is likely trying to online that one instead
of the one on /vicepcc.