I'm sorry but a friend of mine (thanks to you, vincenzo) has found
something missing from my previous summary.
I forgot to make bootable the a partition of rz1 disk!
It worked the same to me because the partition was already bootable.
Nevertheless, at least at the very first time you want to boot from rz1a
you have to do as follows:
disklabel -w -r -t advfs rz1 rz28
(where rz28 is any disktype you have)
So, please, add the above command at the very beginning of point 1) in
my previous summary wich becomes as follows:
1) Make an alternate bootable disk (rz1a)
disklabel -w -r -t advfs rz1 rz28
mkfdmn -r /dev/rz1a root2_domain
mkfset root2_domain root
mount root2_domain#root /mnt
clonefset root_domain root root_clone
mount root_domain#root_clone /clone
vdump 0f - /clone | vrestore -xf - -D /mnt
umount /clone
rmfset root_domain root_clone
rmdir /clone
--edit of /mnt/etc/fstab so that:
a) the / filesystem is no more root_domain#root but
root2_domain#root
b) eliminating rz0b from swap device.
2) shutdown e reboot using the alternate disk
shutdown -h now
>>> boot dka1
3) delete old root_domain
rmfset root_domain root
rmfdmn root_domain
4) modify rz0 disklabel
disklabel rz0 > disklabl.rz0
cp disklabel.rz0 disklabel.rz0.new
--edit disklabel.rz0.new so that the a and b partitions limits are
as wanted. Check that size+offset of partition b is the same as
in the original disklabel. This ensures that other partitions are
left untouched.
disklabel -R rz0 disklabel.rz0.new
5) re-make the normal bootable disk (rz0a)
mkfdmn -r /dev/rz0a root_domain
mkfset root_domain root
mount root_domain#root /mnt
mkdir /clone
clonefset root2_domain root root_clone
mount root2_domain#root_clone /clone
vdump 0f - /clone | vrestore -xf - -D /mnt
umount /clone
rmfset root2_domain root_clone
rmdir /clone
--edit of /mnt/etc/fstab so that the / filesystem is back
root_domain#root and rz0b is again used as swap
6) shutdown e reboot using the enlarged normal disk
shutdown -h now
>>> boot dka0
Sorry for my mistake,
Emanuele
--
Emanuele Lombardi
mail: AMB-GEM-CLIM ENEA Casaccia
I-00060 S.M. di Galeria (RM)
ITALY
mailto:lele_at_mantegna.casaccia.enea.it
tel +39 6 30483366
fax +39 6 30483591
Received on Wed Jun 03 1998 - 11:15:52 NZST