raid 1 on root slice on Solaris 10

From: Kory Wheatley (wheakory@isu.edu)
Date: Tue Mar 21 2006 - 13:17:12 EST


Hi All,
I have a couple questions on mirroring the root and other slices, all
explain my current layout first.

I have two 73gb drives, and currently one has Solaris 10 sparc
configured on it. On slice 6 and 7 on the active disk I've created
space for the State Databases. On slice 0 of course is "/", slice 1
"/var", slice 3 "/opt", and slice 5 "/home".

Below is the commands I will use to create the mirror on the root file
system.

prtvtoc /dev/rdsk/c1t0d0s2 |fmthard -s - /dev/rdsk/c1t1d0s2

metadb -a -f -c2 c1t0d0s7 c1t1d0s7
metainit d1 -f 1 1 c1t0d0s0
metainit d1 -f 1 1 c1t1d0s0
metaroot d0
metattach d0 d2

Please let me know if there is a problem here.

Now my second question if I wanted to mirror the rest of the disk/slices
how would I do that, and would I need to create more State Databases?

Maybe the better question is how would I mirror all the slices.

[demime 1.01b removed an attachment of type text/x-vcard which had a name of wheakory.vcf]
_______________________________________________
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:39:21 EDT