Users Guide

Table 27. dellemc_idrac_storage_volume (continued)
Parameter Required Default Choices Comments
raid_init_operation No None
None
Fast
This option represents Initialization
Configuration operation to be performed
on the virtual disk.
Return Values
msg:
type: str
description: Overall status of the storage configuration operation.
returned: always
sample: "Successfully completed the view storage volume operation"
storage_status:
type: dict
description: Storage configuration job and progress details from the iDRAC.
returned: success
sample:
{
"Id": "JID_XXXXXXXXX",
"JobState": "Completed",
"JobType": "ImportConfiguration",
"Message": "Successfully imported and applied Server Configuration Profile.",
"MessageId": "XXX123",
"Name": "Import Configuration",
"PercentComplete": 100,
"StartTime": "TIME_NOW",
"Status": "Success",
"TargetSettingsURI": null,
"retval": true
}
Examples
-name: Create single volume
dellemc_idrac_storage_volume:
idrac_ip: "192.168.0.1"
idrac_user: "username"
idrac_pwd: "password"
controller_id: "RAID.Slot.1-1"
state: "create"
volumes:
- drives:
location: [5]
-name: Create multiple volume
dellemc_idrac_storage_volume:
idrac_ip: "192.168.0.1"
idrac_user: "username"
idrac_pwd: "password"
raid_reset_config: "True"
state: "create"
controller_id: "RAID.Slot.1-1"
volume_type: "RAID 1"
span_depth: 1
span_length: 2
number_dedicated_hot_spare: 1
disk_cache_policy: "Enabled"
write_cache_policy: "WriteBackForce"
read_cache_policy: "ReadAhead"
stripe_size: 65536
capacity: 100
raid_init_operation: "Fast"
volumes:
- name: "volume_1"
drives:
id: ["Disk.Bay.1:Enclosure.Internal.0-1:RAID.Slot.1-1",
"Disk.Bay.2:Enclosure.Internal.0-1:RAID.Slot.1-1"]
Modules for iDRAC
35