Copying Data from an Array
Three methods are available by which you can create a RAID-Copy array from a
RAID-1 or RAID-10 array.Those methods are:
vUsing the ssaraid command from the command line
vUsing SMIT
vUsing the ssa_make_copy command (the recommended method)
Using the ssaraid Command to Create a RAID-Copy Array from a RAID-1 orRAID-10 Array
This section describes how to use the ssaraid command to create RAID-copy arrays.
This method and the SMIT menu method (see Using SMIT to Create a RAID-Copy
Array from a RAID-1 or RAID-10Arrayon page 155) are particularly suitable if you are
not using Logical VolumeManager (LVM).
Note: Data must be separately synchronized from system memory cache before the
copy is uncoupled.
The procedure that is described here enables you to:
vCreate a RAID-Copy array from available candidate disk drives
vCouple the RAID-Copy array to your selected parent RAID-1 or RAID-10 array
vCopy data from the parent array to the RAID-Copy array
vUncouple the RAID-Copy array from the parent array
vDelete the RAID-Copy array when the copy data is no longer required
The following examples show how you might create a RAID-Copy of a RAID-1 array.
For these examples, the RAID-1 array is called hdisk5, and the RAID manager for
hdisk5 is ssa2.
Note: If you are not sure which adapter is the RAID manager for the hdisk that you
want to copy,give the command:
ssaadap -l hdiskx
where hdiskx is the name of the hdisk that you want to copy.
For more information on the ssaraid command, see Chapter12, Using the SSA
Command Line Interface for RAID Configurationson page 235.
1. List all the suitable disk drives that can be used to create a RAID-Copy array for the
selected array.Type:
ssaraid -l ssa2 -t raid_copy -c -r hdisk5
Alist of suitable candidate disk drives is displayed, for example:
000629CD8A3900D
000629D03BD000D
Chapter7. Copying Data from Arrays and from Volume Groups 151
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|