Users Guide

Table 25. dellemc_idrac_storage_volume (continued)
Parameter Required Default Choices Comments
For C(create) operation, name and
drives are applicable options, other
volume options can also be specified.
NOTE: The drives is a required
option for C(create) operation and
accepts either location (list of drive
slot) or id (list of drive fqdd).
For C(delete) operation, only name
option is applicable.
capacity No NA NA Virtual disk size in GB
raid_reset_config No NA NA This option represents whether a Reset
Config operation needs to be performed on
the RAID controller. Reset Config operation
deletes all the virtual disks present on the
RAID controller.
raid_init_operation No None
None
Fast
This option represents Initialization
Configuration operation to be performed
on the virtual disk.
Table 26. Return Values
Name Description Returned Type Sample
Storage
volume
configuration
Configures the RAID
configuration related attributes
Success String
https://github.com/dell/Dell-EMC-Ansible-
Modules-for-iDRAC/blob/master/samples/
dellemc_idrac_storage_volume.md
Examples
-name: Create single volume
dellemc_idrac_storage_volume:
idrac_ip: "xx.xxx.xx.xx"
idrac_user: "xxxx"
idrac_pwd: "xxxxxxxx"
controller_id: "RAID.Slot.1-1"
state: "create"
volumes:
- drives:
location: [5]
-name: Create multiple volume
dellemc_idrac_storage_volume:
idrac_ip: "xx.xxx.xx.xx"
idrac_user: "xxxx"
idrac_pwd: "xxxxxxxx"
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:
Configuring PowerEdge Servers
29