From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f678f,fcd71ed86677fc66,start X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,fcd71ed86677fc66,start X-Google-Attributes: gidfee84,public From: "Matt Delaney (System Manager)" Subject: Recovering a trashed filesystem Date: 1999/05/10 Message-ID: <3736AF41.ABD71D6B@astro.su.se>#1/1 X-Deja-AN: 476122201 Distribution: world X-Accept-Language: en Content-Type: multipart/alternative; boundary="------------34D6EFDFD7785FEF39FCACD4" Organization: Stockholm Observatory Mime-Version: 1.0 Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 --------------34D6EFDFD7785FEF39FCACD4 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 _______________________________ --------------34D6EFDFD7785FEF39FCACD4 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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
_______________________________
  --------------34D6EFDFD7785FEF39FCACD4-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,fcd71ed86677fc66 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,fcd71ed86677fc66 X-Google-Attributes: gidfee84,public From: "Adam Price" Subject: Re: Recovering a trashed filesystem Date: 1999/05/10 Message-ID: <926366718.21763.0.nnrp-01.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 476300975 X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <3736AF41.ABD71D6B@astro.su.se> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 926366718 nnrp-01:21763 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 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 From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fcd71ed86677fc66 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,fcd71ed86677fc66 X-Google-Attributes: gidf678f,public From: Srinivas Reddy Subject: Re: Recovering a trashed filesystem Date: 1999/05/11 Message-ID: <37382C15.78B9DDCF@AlliedSignal.com>#1/1 X-Deja-AN: 476580946 Content-Transfer-Encoding: 7bit References: <3736AF41.ABD71D6B@astro.su.se> <926366718.21763.0.nnrp-01.c2deb51d@news.demon.co.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: AlliedSignal Inc., Mime-Version: 1.0 Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 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 From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fcd71ed86677fc66 X-Google-Attributes: gidfee84,public 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 Message-ID: <7h9tkf$ba3$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 476702814 Distribution: world References: <3736AF41.ABD71D6B@astro.su.se> Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 In article <3736AF41.ABD71D6B@astro.su.se>, "Matt Delaney (System Manager)" 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