beautypg.com

HP Array Controller HSG V8.7 Software User Manual

Page 353

background image

CLI Commands

B–81

Example

This example shows how to create a one-member mirrorset from each
member of a stripeset. These commands set the nominal number of
members in each mirrorset to two and add a second disk to each
mirrorset. It is not necessary to initialize the mirrorsets or add them as
units; the higher-level structure of the stripeset is carried down to the
mirrorsets.

ADD DISK DISK10100 1 1 0
ADD DISK DISK20100 2 1 0
ADD DISK DISK30100 3 1 0
ADD STRIPESET STRIPE1 DISK10100 DISK20100 DISK30100
INITIALIZE STRIPE1
ADD UNIT D102 STRIPE1
MIRROR DISK10100 MIRROR1
SET MIRROR1 MEMBERSHIP=2
SET MIRROR1 REPLACE=DISK20200
MIRROR DISK20100 MIRROR2
SET MIRROR2 MEMBERSHIP=2
SET MIRROR2 REPLACE=DISK30200
MIRROR DISK30100 MIRROR3
SET MIRROR3 MEMBERSHIP=2
SET MIRROR3 REPLACE=DISK10200

See also

ADD MIRRORSET
REDUCE
SHOW MIRRORSETS
UNMIRROR