* SUMARY: Recover of data on partition after disklabel
@ 1996-03-04 20:54 Universidade de Pelotas - Radar Meteorologico
0 siblings, 0 replies; only message in thread
From: Universidade de Pelotas - Radar Meteorologico @ 1996-03-04 20:54 UTC (permalink / raw)
To: tru64-unix-managers
As ever, the answers came almost before the questions. Tanks!
My question was:
Is it possible to recover the data on a disk partition that had advfs
after a partition table cleaning (disklabel -w)?
I received wo answers.
From: "Craig I. Hagan" <hagan@ttgi.com>
> yes, ou will need to restore the partition table to waht it
> was before you ran disklabel -w.
From: alan@nabeth.cxo.dec.com
> The disklabel should only affect the first sector of the
> disk, the one where the label is. If you restore the
> partition table to the one that was in affect when the
> AdvFS was created, then it should be able to find all
> the data.
I used disklabel -e rz3 to edit the partition table, setting it exactly
as is was before. I changed from
a: 131072 0 unused 1024 8192 # (Cyl. 0 - 82*)
b: 401408 131072 unused 1024 8192 # (Cyl. 82*- 336*)
c: 4110480 0 ADVfs # (Cyl. 0 - 2594)
d: 1191936 532480 unused 1024 8192 # (Cyl. 336*- 1088*)
e: 1191936 1724416 unused 1024 8192 # (Cyl. 1088*- 1841*)
f: 1194128 2916352 unused 1024 8192 # (Cyl. 1841*- 2594*)
g: 1787904 532480 unused 1024 8192 # (Cyl. 336*- 1464*)
h: 1790096 2320384 unused 1024 8192 # (Cyl. 1464*- 2594*)
to
a: 131072 0 unused 1024 8192 # (Cyl. 0 - 82*)
b: 401408 131072 unused 1024 8192 # (Cyl. 82*- 336*)
c: 4110480 0 ADVfs # (Cyl. 0 - 2594)
d: 1191936 532480 unused 1024 8192 # (Cyl. 336*- 1088*)
e: 1191936 1724416 unused 1024 8192 # (Cyl. 1088*- 1841*)
f: 1194128 2916352 unused 1024 8192 # (Cyl. 1841*- 2594*)
g: 1787904 532480 ADVfs # (Cyl. 336*- 1464*)
h: 1790096 2320384 ADVfs 1024 8192 # (Cyl. 1464*- 2594*)
Then I made the file domains by hand:
# cd /etc/fdmns
# mkdir tmp1 tmp2
# ln -s /dev/rz3g tmp1/rz3g
# ln -s /dev/rz3h tmp2/rz3h
Thanks to all. I think this should be added to the FAQ.
====================================================================
Carlos A M dos Santos
Universidade Federal de Pelotas - Centro de Pesquisas Meteorologicas
Pelotas, RS, Brasil - Phone +55 0532 23.4788 - Fax +55 0532 23.4814
e-mail: ufpelrm@eu.ansp.br
====================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-03-04 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-04 20:54 SUMARY: Recover of data on partition after disklabel Universidade de Pelotas - Radar Meteorologico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox