Open jjeganathan opened 5 years ago
@jjeganathan , could you please share the playbook with us?
Sure.
---
- hosts: localhost
connection: local
gather_facts: false
tasks:
- name: Create multiple volume.
dellemc_idrac_storage_volume:
idrac_ip: xxxxxx
idrac_user: root
idrac_pwd: xxxxxx
raid_reset_config: "True"
state: "create"
controller_id: "RAID.Integrated.1-1"
number_dedicated_hot_spare: 1
volumes:
- name: "System"
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"]
span_length: 7
volume_type: "RAID 6"
capacity: "128"
- name: "Data"
span_length: 7
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"]
volume_type: "RAID 6"
Moreover, I have "Disk.Bay.7:Enclosure.Internal.0-1:RAID.Integrated.1-1" and I want it to be a Global hotspare. How should I proceed ?
Thanks ! :)
I think the web browser makes the calculations to get the free space available. But not sure.
@jjeganathan Are you still facing the issue?
@rajeevarakkal Yes.
And I have the following message when I don't specify the capacity
Import of server Configuration Profile operation completed with errors.
I still have to do the calculation of the exact amount of space available. So based on your documentation which says:
capacity:
required: False
description: Virtual disk size in GB.
I think this is still a bug :p
I just found out that I can create a VirtualDisk with capacity "278.875" GB but not with "278.88" GB. 278.88GB is the value displayed in the storage panel of the IDRAC. 278.875GB is the value found in the menu of the virtual disk configuration (when you want to increase its size) (Sorry french)
It seems that it's waiting for the exact size. I've never thought that I will find such value :thinking:
Anyway, do you guys know why the capacity parameter is "Required: false" ? And how to not mention it ?
Hello,
I'm trying to create two virtual disks with 7 disks, each VD on RAID 6. The first one with 128Gb and the second with all the remaining disk space.
I can create the first VD without problem but I cannot find a way to create the second VD with left space (like for example: "capacity: -1") I know this is possible on the GUI by leaving a blank box in "Capacity"
Thanks !