dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
341 stars 163 forks source link

dellemc_idrac_storage_volume -> span length and depth value calculation #456

Open amitchettri opened 2 years ago

amitchettri commented 2 years ago

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

amitchettri commented 2 years ago

@rajeevarakkal can you help with this?

the error that I get is invalid physical drive slot or span length or span depth

amitchettri commented 2 years ago
joshmullis commented 3 months ago

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."