User`s guide
Example 7–11 Cloning a Stripeset
HSJ> SHOW STORAGESETS
Name Storageset Uses Used by
------------------------------------------------------------------------------
ST1 stripeset DISK130 D799
DISK200
HSJ> run clone
Clone Local Program Invoked
Units available for cloning:
110
799
Enter unit to clone ? 799
Clone will create a new unit which is a copy of unit 799.
Enter the unit number which you want assigned to the new unit ? 798
The new unit may be added using one of the following methods:
1. Clone will pause after all members have been copied. The user must
then press RETURN to cause the new unit to be added.
2. After all members have been copied, the unit will be added automatically.
Under which above method should the new unit be added [] ? 1
Devices available for clone targets:
DISK220 (size=832317)
DISK240 (size=832317)
DISK310 (size=832317)
Use available device DISK220(size=832317) for
member DISK130(size=832317) (y,n) [y] ? y
mirror DISK130 C_MA
set C_MA nopolicy
set C_MA members=2
set C_MA replace=DISK220
Devices available for clone targets:
DISK240 (size=832317)
DISK310 (size=832317)
Use available device DISK240(size=832317) for
member DISK200(size=832317) (y,n) [y] ? y
mirror DISK200 C_MB
set C_MB nopolicy
set C_MB members=2
set C_MB replace=DISK240
Copy in progress for each new member. Please be patient...
copy from DISK130 to DISK220 is 15% complete
copy from DISK200 to DISK240 is 11% complete
copy from DISK130 to DISK220 is 27% complete
copy from DISK200 to DISK240 is 23% complete
.
.
.
copy from DISK130 to DISK220 is 100% complete
copy from DISK200 to DISK240 is 100% complete
Press RETURN when you want the new unit to be created
reduce DISK220 DISK240
unmirror DISK130
unmirror DISK200
add mirrorset C_MA DISK220
add mirrorset C_MB DISK240
add stripeset C_ST1 C_MA C_MB
init C_ST1 nodestroy chunk=128
add unit D798 C_ST1
D798 has been created. It is a clone of D799.
(continued on next page)
Diagnostics and Utilities 7–89