beautypg.com

Creating a raid 10 and raid 0+1 – SANRAD I3.1.1205 User Manual

Page 113

background image

Chapter 6: Volume Configuration

6-21

You need to define two parameters to synchronize a volume:

S

WITCH

P

ARAMETER

D

EFINITION

S

TATUS

E

XAMPLE

-src

SOURCE
VOLUME

ORIGINAL VOLUME
TO SYNCHRONIZE
TO

MANDATORY

Simple3

-dst

DESTINATION
VOLUME

NEW VOLUME TO
ADD TO
SYNCHRONINZE

MANDATORY

Simple5

Example:

The online volume Simple3 is synchronized to the online volume Simple5.

volume mirror sync –src Simple3 –dst Simple5

Creating a RAID 10 and RAID 0+1

You will need two separate commands to create a RAID 10 or 0+1 volume.
RAID 10 first creates mirrored volumes and then creates a striped volume of the
mirrored volumes. This gives the advantage of both high performance and data
redundancy.

In Figure 6-15, in the first mirrored volume, data block 1 is mapped to both
block 1 on Disk 1 and block 1 on Disk 2. Data blocks 3, 5 and 7 are mapped to
blocks 2, 3 and 4 on both Disks 1 and 2.

In the second mirrored volume, data block 2 is mapped to both block 1 on Disk
3 and block 1 on Disk 4. Data blocks 4, 6 and 8 are mapped to blocks 2, 3 and 4
on Disks 3 and 4.

Data blocks 1 and 2 are then compiled in a striped pattern, along with blocks 3 –
8.

RAID 0+1 first creates striped volumes and then creates mirrored volumes of
the striped volumes.