tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY : Broken disk
@ 2001-05-18 12:47 Paul Casteels
  0 siblings, 0 replies; only message in thread
From: Paul Casteels @ 2001-05-18 12:47 UTC (permalink / raw)
  To: tru64-unix-managers

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@dirac.phys.washington.edu>
  Ryan McConigley <ryan@cs.uwa.edu.au>
  Sheila Hollenbaugh <shollen@cs.wright.edu>
  "O'Brien, Pat" <pobrien@mitidata.com>
  Thomas M. Payerle <payerle@physics.umd.edu>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-18 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-18 12:47 SUMMARY : Broken disk Paul Casteels

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox