DiskSuite 4.2.1 question

From: Ioan Nemes (Inemes@fairfieldcity.nsw.gov.au)
Date: Tue Mar 20 2007 - 00:06:49 EST


Greetings,

I have an Sun--Fire 280R (Solaris 8), which runs some Oracle
databases.
-----------------------------------------------------------------------
SunOS sf280r 5.8 Generic_117350-24 sun4u sparc SUNW,Sun-Fire-280R

/u01/oradata is mounted on a metadevice d7 which is a mirrored pair
of two RAID5 (see configuration below). One of the disks failed in
metadevice d47 (`Needs Maintenance`), so I have to replace it.

I am not very familiar with DiskSuite, but I draw up a plan, please
comment and correct me if I am wrong or I missed something:

a) stop database software running, and bring the system in single
user mode;

b) unmount /u01/oradata;

c) edit/rem out the mount point for /u01/oradata in vfstab;

d) metadetech d7 d47 (detach softdisk d47 from d7 - the mirror);

e) metaclear d47 (clear the RAID5 configuration for d47);

f) shutdown the system;

g) replace faulty disk;

h) restart the system in single user mode;

i) run fdisk to format the new disk (c4t9d0), allocate all available
space on the disk to slice 7 (as per current configuration);

j) metainit d47 -r c4t8d0s2 c4t9d0s2 c4t10d0s2 (recreate metadevice
d47);

k) metattach d7 d47 (recreate the mirror);

l) metastst d7 (to see/check the status of d7);

m) recreate the entry for d7 in vfstab and mount /u01/oradata;

n) bring the system in multiuser mode;

o) if everything is OK, restart the RDBMS.

Regards,

Ioan

---------------------------------------
current d7 configuration
---------------------------------------

sf280r@root # metastat d7
d7: Mirror
    Submirror 0: d37
      State: Okay
    Submirror 1: d47
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 213369984 blocks

d37: Submirror of d7
    State: Okay
    Size: 213369984 blocks
    Stripe 0: (interlace: 128 blocks)
        Device Start Block Dbase State Hot Spare
        c3t8d0s2 0 No Okay
        c3t9d0s2 2889 No Okay
        c3t10d0s2 2889 No Okay

d47: Submirror of d7
    State: Needs maintenance
    Invoke: metareplace d7 c4t9d0s2 <new device>
    Size: 213369984 blocks
    Stripe 0: (interlace: 128 blocks)
        Device Start Block Dbase State Hot Spare
        c4t8d0s2 0 No Okay
        c4t9d0s2 2889 No Maintenance
        c4t10d0s2 2889 No Okay
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:47 EDT