Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Recovering a trashed filesystem
Date: 1999/05/11	[thread overview]
Message-ID: <7h9tkf$ba3$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 3736AF41.ABD71D6B@astro.su.se


In article <3736AF41.ABD71D6B@astro.su.se>, "Matt Delaney (System Manager)" <matt@astro.su.se> writes:

>I have managed to trash the filesystem on an alpha running DU 4.0. The
>disk itself is fine, but disklabel -r reports that all partitions are
>"unused".
>Is there any way of recovering the data that is in these partitions?

Maybe.  But you haven't given enough information to recommend how.

I think the two most important questions you need to answer are:

1.  What file system were you using?

2.  What did you to "trash" it?

If all you did was to clear the disklabel, then all the data and
file system structure is still there.  If the file system happened
to be on the whole disk, how it was partitioned doesn't matter.
If there were multiple file systems or you were using a custom
partition table, it gets a little harder.  If the disk was under
the control of LSM and then carved up, it gets even harder.

If the file system is actually damaged and you were using AdvFS
you may be able to use salvage to recover some of the data.  If
the file system was UFS and is relatively unharmed you just need
to get a partition starting at the right offset, so that the
primary superblock is at sector 16 from that offset.


>
--
Alan Rollow				alan@nabeth.cxo.dec.com




      parent reply	other threads:[~1999-05-11  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-10  4:00 Recovering a trashed filesystem Matt Delaney (System Manager)
1999-05-10  4:00 ` Adam Price
1999-05-11  4:00   ` Srinivas Reddy
1999-05-11  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive

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