Summary
To create a logical drive that uses the exact same configuration of another logical drive, use the SizeBlocks
parameter to specify the size, thus avoiding the rounding that can occur with the Size parameter.
XML support
SSA scripting supports an XML file format for input and output.
XML output
To create an XML output document, use an XML suffix with the output file name:
C:\ssascripting -c out.xml
The following text is an example XML output file.
<?xml version="1.0"?>
<Config.document>
<!-- Date captured: Fri Apr 28 18:06:51 2017 -->
<!-- Version: 3.10.2.0 2017-04-14 -->
<Action>Configure</Action>
<Method>Custom</Method>
<Controller ID="SLOT 0">
<!-- Controller HPE Smart Array P408i-a SR Gen10, FirmwareVersion 0.01, Build 868, License Keys
Supported -->
<!-- SerialNumber PEYHC0XRH570YT -->
<!-- PowerModeOperational= MaxPerformance -->
<!-- PowerModeConfigured= MaxPerformance -->
<!-- SurvivalMode= Enabled -->
<ReadCache>10</ReadCache>
<WriteCache>90</WriteCache>
<WriteCacheBypassThreshold>1040</WriteCacheBypassThreshold>
<RebuildPriority>High</RebuildPriority>
<ExpandPriority>Medium</ExpandPriority>
<ParallelSurfaceScanCount>1</ParallelSurfaceScanCount>
<SurfaceScanMode>Idle</SurfaceScanMode>
<SurfaceScanDelay>3</SurfaceScanDelay>
<Latency>Disable</Latency>
<DriveWriteCache>Disabled</DriveWriteCache>
<NoBatteryWriteCache>Disabled</NoBatteryWriteCache>
<MNPDelay>60</MNPDelay>
<IRPEnable>Disabled</IRPEnable>
<DPOEnable>Disabled</DPOEnable>
<ElevatorSortEnable>Enabled</ElevatorSortEnable>
<QueueDepth>Automatic</QueueDepth>
<PredictiveSpareActivation>Disable</PredictiveSpareActivation>
<!-- Unassigned Drives 1I:1:3 (SATA HDD, 6000.0 GB), 1I:1:4 (SATA HDD, 6000.0 GB) -->
<UnassignedDrives>1I:1:3;SATA, 1I:1:4;SATA</UnassignedDrives>
<Array ID="A">
<DriveType>SAS</DriveType>
<FreeSpaceKB>1073741823</FreeSpaceKB>
<!-- 1I:1:1 (SAS HDD, 2000.3 GB) -->
<Drive>1I:1:1</Drive>
<OnlineSpare>No</OnlineSpare>
<LogicalDrive ID="1">
<Raid>0</Raid>
<Size>102398</Size>
<!--SizeBlocks= 209712000 -->
SSA Scripting 88