Thanks to:
R. Morison <russel_at_huey.met.fsu.edu>
Paul Henderson <henderson_at_unx.dec.com>
"Dr. Tom Blinn, 603-884-0646" <tpb_at_doctor.zk3.dec.com>
alan_at_nabeth.cxo.dec.com
Soution:
# disklabel -r rz3 > /tmp/rz3label
# disklabel -z rz3
# disklabel -R -r -t advfs rz3 /tmp/rz3label rz29b
The original message:
> Greeting!
>
> I just made a mistake which screwed up the disklabel. The disk has
> two AdfFS partitions: one for root, one for usr. It also has two
> swap patitions and one UFS partitions. I want to use disklabel command
> to restore the disklabel but I do not know how to do it for AdvFS.
> Please help me!
>
> The following is the disk partition table before screwed up:
>
> a: 262144 0 ADVfs
> b: 393216 262144 swap
> e: 2072240 5898240 swap
> f: 409600 7970480 4.2BSD
> g: 5242880 655360 ADVfs
>
> -- Xihong
> + Nevis Lab, Columbia University
> _ O _ Tel:(914)591-2840 (office) __o
> ( `-|-' ) (212)749-8849 (home) /\
> \_+|+_/ Email: yang_at_nevis1.columbia.edu /)
> ----- WWW: http://nevis1.columbia.edu/~yang
>
>
-- Xihong
+ Nevis Lab, Columbia University
_ O _ Tel:(914)591-2840 (office) __o
( `-|-' ) (212)749-8849 (home) /\
\_+|+_/ Email: yang_at_nevis1.columbia.edu /)
----- WWW:
http://nevis1.columbia.edu/~yang
Received on Thu Oct 08 1998 - 14:44:03 NZDT