Data recovery on AdvFS disks

From: Thomas kachelhoffer <kachelho_at_ccimap.in2p3.fr>
Date: Wed, 26 Jan 2000 18:16:03 +0100

    Hello,

    We have an alpha 2100A server where the users directory was mounted
on 3 disks (rz8c, rz17c, rz33c) using advfs. The file domain name was
home and the filset was also home. After an electrical crash on one disk
(rz33c), we try to recover the users files on a fourth disk from our
central daily bakup. To reused the 2 disks (rz8c and rz17c), I made:

rmfset home home
rmfdmn home
mkfdmn /dev/rz8c aleph
mkfset aleph aleph

and mount this new domain. No other operations are made on this domain
like writing a file...
    Unfortunatly, the recover failed and I unmounted this domain. We
find a new electrical module for the third disk (rz33c) and it works
again as it is before the crash. To recover the users data from the 3
disks, we try to use salvage with different options:

salvage -p -l -v 2 -S -D /some_disk home home -> it fails
salvage -p -l -v 2 -D /some_disk -V /dev/rz8c -V /dev/rz17c -V
/dev/rz33c -> it fails (it recovers 3 GB of 10 we had before and
90% of these recovers files are partials and without their names).

    My question is: Is it possible to recover these 10 GB of user files
in some way ie to rebuild the files from the 3 disks ? If yes, how ?

        Thanks for any help.

    We have check (using od -a /dev/rz33c for example) that advfs write
the files by 8K blocks without any information inside about the file
name, the previous or next 8K block. The next 8K block can also be a
part of an another file. We now that we have lost a part of the files
allocation table to rebuild the files.

    Can we find some informations somewhere on the disks wich can help
us to rebuild as many files as possible ?


                                                    Thomas

----------------------------------------------------------
Thomas Kachelhoffer
Centre de Physique des Particules de Marseille (CPPM)
169 av. de Luminy
13009 MARSEILLE

tel: +33 491.82.72.58
fax: +33 491.82.72.99
std: +33 491.82.72.00
Received on Wed Jan 26 2000 - 17:17:17 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT