Help with mirroring drives

Hi all..

I have an e450 box which has 2x18 GB hdd and 2x36 GB hdd & 2GB RAM. I have managed to install solaris 9 on it. I want to mirror the 2 18GB HDD & 2 36GB HDD. When I had to lay out the file system, I did the following: I had to choose c0t0d0 (boot disk) which is the 18GB

I have done the following on 18GB HDD

SliceFile system Size in MB

0/7168

1/swap6144

3/var3872

4/metadb64

I have done the following on 36GB HDD

I then chose c0t2d0 and did the following

SliceFile systemSize in MB

0/u0112288

1/u0212288

3/export/home10144

Can someone advise me how to I do the mirroring now. Thanks a lot.

my df -k looks like this

/dev/dsk/c0t0d0s07228813 1475542 568098321%/

/proc 0000%/proc

mnttab 0000%/etc/mnttab

fd 0000%/dev/fd

/dev/dsk/c0t0d0s33904146 244101 36210047%/var

swap797098440 79709441%/var/run

swap79709440 79709440%/tmp

/dev/dsk/c0t0d0s4615031041543122%/metadb

/dev/dsk/c0t2d0s012386458 996798 112657969%/u01

/dev/dsk/c0t2d0s11238645812305 122502891%/u02

/dev/dsk/c0t2d0s31022537910172 101129541%/export/home

Message was edited by:

tejaspandya

[1238 byte] By [tejaspandya] at [2007-11-26 11:51:27]
# 1

Hello,

You can use two ways to mirror disks. One way is to use Solaris Management Console. Use Enhanced Storage Tool within the SMC. from create volume you can create two volumes and mirror them, it is very easy via SMC.

Second way is to use command line.

1. create sufficient number of state database replicas

2. create RAID-0 volume by using # /usr/sbin/metainit -f d11 1 1 c#t#d#s#

3. create a RAID-0 volume on second drive # /usr/sbin/metainit d12 1 1 c#t#d#s#

4. create one-way RAID-1 volume # /usr/sbin/metainit d10 -m d11

5. update# /usr/sbin/metaroot d10

6. reboot the system

7. attach second submirror # /usr/sbin/metattach d10 d12

Regards,

Zulusa

zulusa at 2007-7-7 12:06:32 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...