From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653647621943.tru64-unix-managers.marc@archive.invalid> From: Paul Casteels Date: Fri, 18 May 2001 12:47:59 +0000 To: tru64-unix-managers Subject: SUMMARY : Broken disk X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653647621943 On a disk with 2 UFS partitions, several blocks were damaged and the disklabel was gone. I used an old output of df to estimate the size of the a and b partitions. By increasing the size of the a partition until fsck did no longer protest on the higher blocks it was possible to recover this. It was necessary to use disklabel -e to change the fstype to 4.2BSD before it could be mounted. Finding the start of the second partition was done with a small script that repetitively calls fsck to find a block where there is a superblock at b, b+32, b+53968,... After this the same was done as for partition a. Although after this step fsck no longer reported any errors, it was still impossible to mount the partition. What did work then was : dump -f dumpfile /dev/rz1b >From the resulting dump most of the files could be restored. Many thanks for help from : Jim Belonis Ryan McConigley Sheila Hollenbaugh "O'Brien, Pat" Thomas M. Payerle