Pre-mpatters

fireblade sees the following disks:
c0t0d0 - SUN18G (internal?)
c0t1d0 - SUN18G (internal?)
c1t1d0 - SUN-T300 (must be the T3 array)

/             /dev/md/dsk/d0    2gb
/var          /dev/md/dsk/d3    2gb
/fsys1        /dev/dsk/c1t1d0s4 270gb
/opt          /dev/md/dsk/d4    4gb
/export/home  /dev/md/dsk/d5    5gb

d0 is: c0t0d0s0 c0t1d0s0
d3 is: c0t0d0s3 c0t1d0s3
d4 is: c0t0d0s4 c0t1d0s4
d5 is: c0t0d0s5 c0t1d0s5

So we want to make sure we've backed up:
* /export/home
* bits of /opt that aren't OS, so:
  * /opt/IBMdb2
  * /opt/IMNSearch

OpenFirmware 5.15.2

17GB
/   : 8gb: 8002mb
/var: 5gb: 5001mb
swap: rest: 4265mb

Post-mpatters

fireblade sees the following disks:
c0t0d0 - SUN18G (internal)
c0t1d0 - SUN18G (internal)
c1t1d0 - SUN-T300 (T3 array)

c0t0d0xx:
Part Tag     Flag   Cylinders
0       root wm      0 - 3477  7.81gb
1        var wm   3478 - 5651  4.88gb
2     backup wm      0 - 7505 16.86gb
3 unassigned wm   5652 - 5652  2.30mb
4 unassigned wm   5653 - 5653  2.30mb
5       swap wu   5654 - 7504  4.16gb

so partition c0t1d0 the same way

This makes our metadb devices
c0t0d0s3
c0t0d0s4
c0t1d0s3
c0t1d0s4

metadb -a -f c0t0d0s3 c0t0d0s4 c0t1d0s3 c0t1d0s4
metainit -f d10 1 1 c0t0d0s0
metainit d20 1 1 c0t1d0s0
metainit d0 -m d10
metaroot d0
lockfs -fa
shutdown -y -g0 -i6

so d0 is the master root, d10 is the real first root, d20 is the mirror

now for /var
d1 will be master var, d11 real first var, d12 mirror
metainit -f d11 1 1 c0t0d0s1
metainit -f d12 1 1 c0t1d0s1
metainit d1 -m d11
metattach d1 d12

-- MikePatterson - 19 Mar 2005

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2005-03-19 - MikePatterson
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback