Disk Arrays
Showing results for 
Search instead for 
Did you mean: 

SC10 mirroring

Go to solution
Marty Metras
Super Advisor

SC10 mirroring

I have an A500 "rp2450" with an SC10 with 10 drives. It it is set in as split mode.
This is a new box so I want to set up the as mirrored. Mirroring drives 1,3,5,7,9 to 2,4,6,8,10.
I have created 5 vol groups with one drive each. I used sam to do this.
How do I mirror them to the other 5 drives?
Can you help?
Did I miss a step?

The only thing that always remain the same are the changes.
S.K. Chan
Honored Contributor

Re: SC10 mirroring

Lets assume that this is what you currently got ..(I'll use the same notation 1,3,5,7,9 and 2,4,6,8,10) since you said you've got 5 VGs created already.


I would prefer to use command line if you don't mind. Next vgextend your VGs with the other set of drives.
# vgextend /dev/vg01 /dev/dsk/
# vgextend /dev/vg02 /dev/dsk/
# vgextend /dev/vg03 /dev/dsk/
# vgextend /dev/vg04 /dev/dsk/
# vgextend /dev/vg05 /dev/dsk/

Next when you create your LVs make sure you give a "-m 1" option to tell it to create a mirror copy and since you got only 2 disks in each VG, it'll create the mirrored copies on the other set of disks. For example ..

Creating lvol1 (800MB) in vg01 and make sure 1 copy is mirrored..
# lvcreate -L 800 -n lvol1 -m 1 /dev/vg01

Do ..
# lvdisplay -v /dev/vg01/lvol1 | more
and you'll see the extents are now mirrored..

Now create the FS and mount it..
# newfs -F vxfs /dev/vg01/rlvol1
# mkdir /test
# mount /dv/vg01/lvol1 /test
Remember to edit /etc/fstab to make the mount point permanent.