* Recovering a trashed filesystem
@ 1999-05-10 4:00 Matt Delaney (System Manager)
1999-05-10 4:00 ` Adam Price
1999-05-11 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 2 replies; 4+ messages in thread
From: Matt Delaney (System Manager) @ 1999-05-10 4:00 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
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?
--
_______________________________
Matt Delaney
System Manager
Stockholm Observatory
SE-133 36 Saltsj�baden SWEDEN
e-mail: matt@astro.su.se
tel: +46 [0]8 164463
GSM: +46 [0]70 3025664
fax: +46 [0]8 7174719
_______________________________
[-- Attachment #2: Type: text/html, Size: 573 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Recovering a trashed filesystem
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.
1 sibling, 1 reply; 4+ messages in thread
From: Adam Price @ 1999-05-10 4:00 UTC (permalink / raw)
Matt Delaney (System Manager) wrote in message
<3736AF41.ABD71D6B@astro.su.se>...
>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?
>
Use disklabel -e to set the partition types back to the values you want.
Hope this helps.
Adam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Recovering a trashed filesystem
1999-05-10 4:00 ` Adam Price
@ 1999-05-11 4:00 ` Srinivas Reddy
0 siblings, 0 replies; 4+ messages in thread
From: Srinivas Reddy @ 1999-05-11 4:00 UTC (permalink / raw)
Adam Price wrote:
> Matt Delaney (System Manager) wrote in message
> <3736AF41.ABD71D6B@astro.su.se>...
> >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?
> >
>
> Use disklabel -e to set the partition types back to the values you want.
> Hope this helps.
> Adam
Use the following -s option
/sbin/disklabel -s partition fstype
Srini
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Recovering a trashed filesystem
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 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 0 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1999-05-11 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-05-11 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox