SUMMARY : Broken disk

From: Paul Casteels <Paul.Casteels_at_ua.ac.be>
Date: Fri, 18 May 2001 14:47:59 +0200 (MET DST)

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 <belonis_at_dirac.phys.washington.edu>
  Ryan McConigley <ryan_at_cs.uwa.edu.au>
  Sheila Hollenbaugh <shollen_at_cs.wright.edu>
  "O'Brien, Pat" <pobrien_at_mitidata.com>
  Thomas M. Payerle <payerle_at_physics.umd.edu>
Received on Fri May 18 2001 - 12:49:00 NZST

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