Each of the modes supported by PRAID requires a specific syntax, but they all share some common parameters.
Parameter | Description | Usage |
---|---|---|
Restore-defaults
mode |
Restores the RAID controller with the controller number specified by n to factory-default settings and then returns immediately. No RAID configuration is performed if you use this parameter. If no value is specified for the controller number, all RAID controllers are reset to factory-default settings. Used alone, the parameter provides the Restore-defaults mode. You must use this parameter in conjunction with the Deploy mode parameters to reset controllers to the factory default settings before deploying a new configuration. |
Restores
all controllers to factory-default settings.
Restores
controller three to factory-default settings. No other controllers
are affected.
Configures
the RAID controllers in the system by using the policies file policies.ini,
sets the verbose mode to maximum, and returns an error code if there
were no matching policies for any controllers. |
Specifies
the policy file |
The policy file name. This parameter is required for the Capture mode and Deploy mode unless the /d parameter is used. In Deploy mode, this parameter points to the policies that you want PRAID to use when configuring the RAID controllers. You cannot use this parameter with the /d parameter. In Capture mode, this parameter points to the file where you want the captured configurations to be written. If the file does not exist, PRAID creates it. If the file does exist, PRAID appends to the end of it. The /f parameter is valid in both Deploy and Capture modes. |
Uses
the policies file, myfile.ini, to configure all
RAID controllers.
Captures
the RAID configuration of all controllers to the policy file, myfile.ini. |
Suppresses prompting |
Suppresses the confirmation prompt. This parameter is optional. If you select the /y parameter, PRAID does not prompt you before resetting controllers to factory-default settings. PRAID always resets all controllers to factory-default settings before configuring them. If you do not supply this parameter, PRAID pauses to warn you before resetting the RAID controllers to factory-default settings. The /y parameter is valid in the Deploy and Restore-defaults modes. This parameter is optional. |
Uses
the policies in myfile.ini to configure the RAID controllers and does
not prompt before resetting all controllers to factory-default settings. |
Error code 2 if no
supported controllers found |
Returns an error code of 2 if there were no supported RAID controllers found in the system. By default, PRAID does not return an error if no controllers are found in the system. This parameter is valid in all modes. This parameter is optional. |
Captures
the RAID configuration of all RAID controllers to c:\myfile.ini,
and returns an error if no controllers are found in the system. |
Error code 3 if no
supported drives found |
Returns an error code of 3 if at least one controller was found with no drives attached. By default, PRAID does not return an error if no drives are attached to a RAID controller. This parameter is valid in any mode. This parameter is optional. |
Configures
all RAID controllers with default settings and returns an error if
one or more controllers has no drives attached. |
Verbose level |
Sets the verbosity level, where n is:
This parameter is valid in any mode. This parameter is optional.to ‘max'. |
Configures
all RAID controllers with default settings and sets the verbose level |
PRAID.EXE /f:policies /r /d /p:path /e1 /e2 /e3
/v:n /y /b
The parameters unique to
Deploy mode are described below.Parameter | Description | Usage |
---|---|---|
|
Configure with defaults Configures all controllers in the system by using default settings instead of a policies file. The default settings used are the same as the default settings for the policies file. You cannot use this parameter with the /f parameter. See Table 1 for the default values that are assigned for each RAID controller based on the number of drives attached to the controller. This parameter is required unless the /f parameter is specified. |
Configures
all RAID controllers in the system by using default settings. |
|
Error if no policy foundReturns an error code of 1 if one or more controllers are not configured due to the fact that there was no policy found to configure them This parameter is optional. |
Configures
all RAID controllers using the policies file, policy.ini, and returns
an error if no matching policy was found. |
PRAID.EXE /c[:p] /f:policies /e2 /e3 /v:n
The
parameters unique to Capture mode are described below.Parameter | Description | Usage |
---|---|---|
|
Capture mode Indicates capture mode. The :p portion is optional. If you do not include the optional portion, then :p assumes the default value: t,d. You can use :p to provide a list of parameters describing the AppliesTo that should be created when capturing the parameters to a policy. See AppliesTo.n. :p is a list
containing any of the following:
Note: You must specify the name of the policies file by using
the /f parameter when using the /c parameter.
If the file exists, the policy or policies created are appended to the end of the file. If the file does not exist, a new file is created. If there are multiple RAID controllers in the system, their configurations are placed in the file in scan order. |
Captures
the configuration of all RAID controllers to the myfile.ini file
by using the machine type of the server and the RAID controller type
as the AppliesTo.1 entry. |
PRAID /r:n /e2 /v:n /y