3PAR InForm® OS 2.2.4 Concepts Guide (320-200085 Rev B, March 2009)

A.4
Creating Spare Chunklets
3PAR InForm OS Concepts Guide InForm OS Version 2.2.4
A.3 Creating Spare Chunklets
Use the createspare command to allocate chunklets that can be used in the event of a
system failure. To identify the chunklets, first identify the physical disk that contains them,
either by ID or by position, and then give the position of the chunklet you want to add to the
list of spares. To mark all the chunklets on a physical disk as spare, use the letter
a (for “all”)
instead of a chunklet number. You can enter more than one chunklet on a line, separated by
spaces.
The following example identifies the physical disk by ID (0) and a chunklet by number (3):
The following example uses the
-pos command to identify two physical disks by position (in
the format cage:side.magazine:disk:chunklet) and then selects all the chunklets on each disk.
Two options can be used with the
createspare command:
The -f option forces the command, marking the chunklet as spare even if it is in use.
The -p option allows partial execution of the command, marking all unused chunklets as
spare even if some of the chunklets identified in the command line are in use.
If you use an option, it follows the command and precedes the chunklet identification.
A.4 Removing Spare Chunklets
To remove chunklets from the list of spare chunklets, use the removespare command
followed by the
-f or -p option (if applicable) and the disk and chunklet to be removed. The
identification of chunklets for this command follows the same patterns explained for the
createspare command in the previous section.
cli% createspare 0:3
cli% createspare -pos 1:2.1:1:a 1:1.1:2:a
CAUTION: Removing the spare chunklets that were reserved during system setup
can cause problems in the event of a disk failure. There might not be enough
spare space to service the failed physical disk.