dellemc-openmanage-ansible-modules
dellemc-openmanage-ansible-modules copied to clipboard
dellemc_idrac_storage_volume -> span length and depth value calculation
Hello All,
can anyone kindly help me understand the value of span length and depth for RAID 10 when we want to create the raid using drives such as 6, 8, 10, 12, 14 etc?
for 4 drives it's 2,2 how is that calculated?
I tried for 14drive value using the below but it does not work length = 14, depth 2 length = 14, depth 7
@rajeevarakkal can you help with this?
the error that I get is invalid physical drive slot or span length or span depth
- name: Create single volume. dellemc_idrac_storage_volume: idrac_ip: "{{ idrac_ip }}" idrac_user: "{{ idrac_user }}" idrac_password: "{{ idrac_password }}" state: "create" raid_reset_config: "True" controller_id: "RAID.Integrated.1-1" volumes: - name: "Virtual-Disk-0" volume_type: "RAID 10" disk_cache_policy: "Default" write_cache_policy: "WriteBack" read_cache_policy: "ReadAhead" raid_init_operation: "Fast" span_length: 14 #other value tried was 7 length, 7 depth | 7 length, 2 depth, 2 length, 2 depth etc and none works span_depth: 2 number_dedicated_hot_spare: 1 stripe_size: 262144 drives: id: ["Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.3:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.4:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.5:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.6:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.7:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.8:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.9:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.10:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.11:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.12:Enclosure.Internal.0-1:RAID.Integrated.1-1", "Disk.Bay.13:Enclosure.Internal.0-1:RAID.Integrated.1-1"]
Also facing this issue trying to create a volume with the following config. Config via idrac shows that span length is 1 and depth is 4, so I know this is correct. If I change the ansible parameters to span_depth: 2 & span_length: 2, I get no errors, but this is not the desired config.
volumes:
- name: RAID10
volume_type: "RAID 10"
span_depth: 1
span_length: 4
read_cache_policy: "ReadAhead"
write_cache_policy: "WriteBack"
drives:
location: [0, 1, 2, 3]
ERROR: "The value for the span_depth parameter is invalid."