mirroring system disk with multiple advfs vols

From: SIMEONE, Allan J. <Allan.SIMEONE_at_rp-rorer.com>
Date: Thu, 08 Jan 1998 04:55:51 -0500

hi,

I have one more task left with building an 8400 running du4.0b. I need
to mirror the
system disk. I have mirrored 3 other systems before but this system
disk has a little
bit of a different setup, so I'm not exactly sure of the procedure to
get this done.

The system disks I mirrored before were pretty standard in that
/ and /usr (var under /usr) were advfs and swap was also mirrored.

The new system is a little different in that / is ufs and /usr is advfs.
 There is a seperate
partition for /var using advfs on the same disk as / and /usr. var also
has an added volume
using a whole rz29b disk. Anotherwords, the var_domain has links to
rz1d and rz24c in the
fdmns directory. This is the part I'm not sure about. I need to
mirror /, /usr and swap partiton
to a rz29b and also mirror /var so that is uses the same rz29b disk and
also use another rz29b.

below are the steps I used to mirror the standard disks from prior
systems. I would appreciate
it if someone could fill in the steps (if any) to get the multiple disks
mirrored for /var.

instructions are for rz8 as system disk and rz9 for mirrored disk...

thanks,
allan

    1 : disklabel -r rz8 > :usr /local /disklabel-rz8 (save of label
...)
    2 :volsetup rz9
    3 :disklabel -r rz9 (verify if partition c=LSM PRIV et partition
h=LSM PUB)
    4 :volencap rz8
    5 :shutdown -r now
    6 :voldctl add disk rz8
    7 :voldg rmdisk rz9
    8 :voldisk rm rz9
    9 :voldctl rm disk rz9
  10 :disklabel -z rz9
  11 :disklabel -rw rz9 rz29b
  12 :volrootmir rz9
  13 :voladvdomencap usr_domain
  14 :voladvdomencap products_dmn
  15 :shutdown -r now
  16 :disklabel -e rz9 and modify g and h partition like rz8
  17 :voldisk init rz9g type=nopriv
  18 :voldisk init rz9h type=nopriv
  19 :voldg adddisk rz9g
  20 :voldg adddisk rz9h
  21 :voldctl add disk rz9
  22 :volassist mirror volrz8g rz9g
  23 :volassist mirror volrz8h rz9h
  24 :voldisk list
  25 :volprint -Aht
Received on Thu Jan 08 1998 - 10:59:29 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT