CArclib::ArcCreateRaidSet

The ArcCreateRaidSet method creates a raidset with a group of devices (disks).

 

Method1:

virtual ARC_STATUS ArcCreateRaidSet (

DWORD nDevMask,

char *szRaidSetName

);

 

Method2:

virtual ARC_STATUS ArcCreateRaidSet (

IN pDEVICE_LIST pDevPairList,

IN char *szRaidName,

);

Parameters:

[IN]

 

nDevMask: The devices mask represents the index of devices that use to create a raidset,

             Bit0 represents device0, Bit1 represents device1….and so on.

             Example: The mask of 0x0000000F means that create a raidset with device0, 1, 2, 3.

 

pDevPairList: Pointer to a sDEVICE_LIST structure containing a list of devices

 

szRaidSetName: Null-terminated character string representing a name of raidset.

 

Return Values

This method returns the ARC_STATUS.

Note:

The szRaidSetName must be <= 16 characters with a null-terminated.

Password required if password enabled, use ArcChkPassword member function to validate the password.

The method1 is deprecated and only use for Non-SAS controller, please use the method2 instead.