ISolidFireElementAddDrivesAsync Method (CancellationToken, NewDrive) |
AddDrives enables you to add one or more available drives to the cluster, enabling the drives to host a portion of the cluster's data.
When you add a node to the cluster or install new drives in an existing node, the new drives are marked as "available" and must be
added via AddDrives before they can be utilized. Use the ListDrives method to display drives that are "available" to be added. When
you add multiple drives, it is more efficient to add them in a single AddDrives method call rather than multiple individual methods
with a single drive each. This reduces the amount of data balancing that must occur to stabilize the storage load on the cluster.
When you add a drive, the system automatically determines the "type" of drive it should be.
The method is asynchronous and returns immediately. However, it can take some time for the data in the cluster to be rebalanced
using the newly added drives. As the new drives are syncing on the system, you can use the ListSyncJobs method to see how the
drives are being rebalanced and the progress of adding the new drive. You can also use the GetAsyncResult method to query the
method's returned asyncHandle.
Namespace:
SolidFire.Element.Api
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax Task<AddDrivesResult> AddDrivesAsync(
CancellationToken cancellationToken,
NewDrive[] Drives
)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
- Drives
- Type: SolidFire.Element.ApiNewDrive
Return Value
Type:
TaskAddDrivesResultSee Also