Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dellemc_idrac_storage_volume -> span length and depth value calculation #456

Open
amitchettri opened this issue Nov 19, 2022 · 3 comments
Open
Labels
type/question Further information is requested

Comments

@amitchettri
Copy link

amitchettri commented Nov 19, 2022

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 amitchettri added the type/question Further information is requested label Nov 19, 2022
@amitchettri
Copy link
Author

@rajeevarakkal can you help with this?

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

@amitchettri
Copy link
Author

  • 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"]

@joshmullis
Copy link

joshmullis commented Aug 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants