CArclib::ArcExpandRaidSet

The ArcExpandRaidSet method expands a raidset with or without modifying volumesets.

 

Method1:

virtual ARC_STATUS ArcExpandRaidSet (

BYTE nRaidNum,

DWORD nDevMask,

pVolModList volmodlist = NULL

);

 

Method2:

virtual ARC_STATUS ArcExpandRaidSet(

IN BYTE nRaidNum,

IN pDEVICE_LIST pDevPairList,

 IN pVolModList volmodlist = NULL

);

Parameters:

[IN]

nRaidNum: The index of a raidset being expanded.

 

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

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

             Example: The mask of 0x00000010 means that expand a raidset with device4.

 

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

 

volmodlist: Pointer to a sVolModList structure that contains a list of volumeset to be modified.

             Default volmodlist is NULL, when it is NULL the ArcExpandRaidSet just expands the raidset

without modifying any volumeset(s) in the raidset.

            

Return Values

This method returns the ARC_STATUS.

Note:

The device must be Free State when use to expand a raidset.

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.