I am running the ilorest.exe tool from WinPEv10 on some test 380 Gen9 and 10 servers.
Looking through all the documentation doesn't give me the correct syntax for creating a logical drive.
I am running this command from powershell:
ilorest.exe --nologo --nocache createlogicaldrive customdrive RAID1 "1I:3":"1,1I:3:2" --name=LogicalDrive0 --spare-drives="1I:3:3" --spare-type=Dedicated--capacityGiB=-1 --accelerator-type=ControllerCache --controller="Slot 0"
It tells me "One or more properties were changed and will not take effect until system is restarted"
So it all looks fine.
When I run ilorest.exe pending it shows the logical drive pending creation but the "Sparedrives=" and "Datadrives=" sections are both blank, no drive identifiers are listed.
Does anyone know how to tell this command which drives to use?
I have tried the drive identifiers above (1I:3:1, etc) and [1] and 1 but none seem to work.