From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98199433823818.tru64-unix-managers.marc@archive.invalid> From: Tobias Ernst Date: Mon, 12 Feb 2001 16:08:08 +0000 To: tru64-unix-managers Subject: Recovering partly destroyed advfs stripe-set. NEED HELP! X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98199433823818 Hi! We have an ADVFS stripeset over three 9GB disks: lilapause:~ # ls /etc/fdmns/heimat_domaene/ dsk5c dsk6c dsk7c Now, an inexperienced administrator has executed the following command: scu -f /dev/rdisk/dsk6c >> set stats off >> scan media >> scan media bs 64k limit 6m popts incr lbdata >> show stats While he thougt this to be a nondisruptive test, it actually lead to exactly the first 5 MB of the disk dsk6c to be overwritten with a test pattern, and consequently a machine crash. On reboot, the file system from this domain could not be mounted any more. Apart from restoring the last backup, what can we do do recover our domain? Is there a chance to get back the part of the data which is still intact, i.e. the data from the other two disks and the data which is located behind those five overmwritten megabytes? The standard "salvage", "verify" and "savemeta" advfs recovery command fail because obviously the tools cannot even find the advfs domain: lilapause:~ # showfdmn heimat_domaene showfdmn: unable to get info for domain 'heimat_domaene' showfdmn: error = E_BAD_MAGIC (-1167) (Note: We have already restored the disklabel by copying it from one of the intact disks.) Is there a chance to reproduce the meta data from the other two intact discs, or maybe it is duplicated somehwere near the end of the affected disk? Please be sure to mail your answers to "tobi@bland.fido.de" (set as replyto), as due to the missing home file system we cannot currently accept inbound mail at physcip.uni-stuttgart.de ... Kind Regards and thanks in advance for any tips. Tobias Ernst.