-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hi,
I've identified a issue while creating volumes through ilorest 6.0 and 6.1. To you have some idea for version 5.2 doesn't matter the order of creation - this one makes any sense - works as expected.
$ ilorest
iLORest : RESTful Interface Tool version 5.2.0.0
Copyright (c) 2014-2024 Hewlett Packard Enterprise Development LP
Both remote and local mode is accessible when RESTful Interface Tool is run as administrator. Only remote mode is available for non-admin user groups.
iLORest > login 2.210.114.102 -u Administrator
Password:
Discovering data...Done
iLORest > storagecontroller
List of RDE storage devices
DE009000: HPE MR408i-o Gen11: Health OK: Enabled
iLORest > storagecontroller --storageid=DE009000 --physicaldrives
Drives on Storage DE009000
[1:1:1]: HPE 300GB 12.0G SAS HDD, Model EG000300JWSJP, Location 1:1:1, Type HDD, Serial Z4J0A03WFJSL - 300000000000 Bytes
[1:1:3]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:3, Type HDD, Serial WFKEXJZF - 1200243695616 Bytes
[1:1:5]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:5, Type HDD, Serial WFKEXRAC - 1200243695616 Bytes
[1:1:6]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:6, Type HDD, Serial WFKEXKD2 - 1200243695616 Bytes
[1:1:7]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:7, Type HDD, Serial WFKEXJZK - 1200243695616 Bytes
[1:1:4]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:4, Type HDD, Serial WFKEXG9G - 1200243695616 Bytes
[1:1:8]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:8, Type HDD, Serial WFKEXK0V - 1200243695616 Bytes
[1:1:2]: HPE 300GB 12.0G SAS HDD, Model EG000300JWSJP, Location 1:1:2, Type HDD, Serial Z4J0A03HFJSL - 300000000000 Bytes
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
[238]: Name sparedg RAIDType RAID6 VUID 600062B2214833402FDD6C54BD85720B Capacity 4798820646912 Bytes - Health OK
[239]: Name rootdg RAIDType RAID1 VUID 600062B2214833402FDD6C4BB034916B Capacity 299439751168 Bytes - Health OK
iLORest > deletevolume --storageid=DE009000 --controller=0 --all --force
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
iLORest > createvolume volume RAID6 1:1:3,1:1:4,1:1:5,1:1:6,1:1:7,1:1:8 --storageid=DE009000 --DisplayName sparedg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/1'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/2'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/3'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/4'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/5'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/6'}]}, 'RAIDType': 'RAID6', 'DisplayName': 'sparedg'}
Volume created successfully
iLORest > createvolume volume RAID1 1:1:1,1:1:2 --storageid=DE009000 --DisplayName rootdg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/0'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/7'}]}, 'RAIDType': 'RAID1', 'DisplayName': 'rootdg'}
Volume created successfully
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
[238]: Name rootdg RAIDType RAID1 VUID 600062B2214833402FDD73987A4BE744 Capacity 299439751168 Bytes - Health OK
[239]: Name sparedg RAIDType RAID6 VUID 600062B2214833402FDD738B670B59AD Capacity 4798820646912 Bytes - Health OK
iLORest > deletevolume --storageid=DE009000 --controller=0 --all --force
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
iLORest > createvolume volume RAID1 1:1:1,1:1:2 --storageid=DE009000 --DisplayName rootdg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/0'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/7'}]}, 'RAIDType': 'RAID1', 'DisplayName': 'rootdg'}
Volume created successfully
iLORest > createvolume volume RAID6 1:1:3,1:1:4,1:1:5,1:1:6,1:1:7,1:1:8 --storageid=DE009000 --DisplayName sparedg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/1'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/2'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/3'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/4'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/5'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/6'}]}, 'RAIDType': 'RAID6', 'DisplayName': 'sparedg'}
Volume created successfully
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
[238]: Name sparedg RAIDType RAID6 VUID 600062B2214833402FDD6C54BD85720B Capacity 4798820646912 Bytes - Health OK
[239]: Name rootdg RAIDType RAID1 VUID 600062B2214833402FDD6C4BB034916B Capacity 299439751168 Bytes - Health OK
Now for ilorest 6.0 and ilorest 6.1 if I create the RAID 6 before the RAID 1 I wasn't able to create the RAID1 - so I need to remove RAID6, create the RAID1 and then create the RAID6 again.
ILOREST 6.0 and ILOREST 6.1
$ ilorest
iLORest : RESTful Interface Tool version 6.0.0.0
Copyright (c) 2014-2025 Hewlett Packard Enterprise Development LP
iLORest > login 2.210.114.102 -u Administrator
Password:
Discovering data...Done
iLORest > storagecontroller
DE009000: HPE MR408i-o Gen11: Health OK: Enabled
iLORest > storagecontroller --storageid=DE009000 --physicaldrives
Drives on Storage DE009000
[1:1:1]: HPE 300GB 12.0G SAS HDD, Model EG000300JWSJP, Location 1:1:1, Type HDD, Serial Z4J0A03WFJSL - 300000000000 Bytes
[1:1:3]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:3, Type HDD, Serial WFKEXJZF - 1200243695616 Bytes
[1:1:5]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:5, Type HDD, Serial WFKEXRAC - 1200243695616 Bytes
[1:1:6]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:6, Type HDD, Serial WFKEXKD2 - 1200243695616 Bytes
[1:1:7]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:7, Type HDD, Serial WFKEXJZK - 1200243695616 Bytes
[1:1:4]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:4, Type HDD, Serial WFKEXG9G - 1200243695616 Bytes
[1:1:8]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:8, Type HDD, Serial WFKEXK0V - 1200243695616 Bytes
[1:1:2]: HPE 300GB 12.0G SAS HDD, Model EG000300JWSJP, Location 1:1:2, Type HDD, Serial Z4J0A03HFJSL - 300000000000 Bytes
iLORest > createvolume volume RAID6 1:1:3,1:1:4,1:1:5,1:1:6,1:1:7,1:1:8 --storageid=DE009000 --DisplayName sparedg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/1'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/2'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/3'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/4'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/5'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/6'}]}, 'RAIDType': 'RAID6', 'DisplayName': 'sparedg'}
Volume created successfully
iLORest > createvolume volume RAID1 1:1:1,1:1:2 --storageid=DE009000 --DisplayName rootdg --controller=0
ERROR : Unable to continue, requested number of drives not actually present under the storage ID or the drives requested are in use by another volume
ERROR : Unable to continue, requested number of drives not actually present under the storage ID or the drives requested are in use by another volume
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
[239]: Name sparedg RAIDType RAID6 VUID 600062B2214833402FDD681C6804117D Capacity 4798820646912 Bytes - Health OK
iLORest > createvolume volume RAID1 1:1:1,1:1:2 --storageid=DE009000 --DisplayName rootdg --controller=0
ERROR : Unable to continue, requested number of drives not actually present under the storage ID or the drives requested are in use by another volume
ERROR : Unable to continue, requested number of drives not actually present under the storage ID or the drives requested are in use by another volume
iLORest > createvolume volume RAID1 1:1:1,1:1:2 --storageid=DE009000 --DisplayName rootdg --controller=0
ERROR : Unable to continue, requested number of drives not actually present under the storage ID or the drives requested are in use by another volume
ERROR : Unable to continue, requested number of drives not actually present under the storage ID or the drives requested are in use by another volume
iLORest >
When I invert the order, works as expected!!!
iLORest > deletevolume --storageid=DE009000 --controller=0 --all
Are you sure you would like to continue deleting all volumes? (y/n)y
iLORest > storagecontroller --storageid=DE009000 --physicaldrives
Drives on Storage DE009000
[1:1:1]: HPE 300GB 12.0G SAS HDD, Model EG000300JWSJP, Location 1:1:1, Type HDD, Serial Z4J0A03WFJSL - 300000000000 Bytes
[1:1:3]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:3, Type HDD, Serial WFKEXJZF - 1200243695616 Bytes
[1:1:5]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:5, Type HDD, Serial WFKEXRAC - 1200243695616 Bytes
[1:1:6]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:6, Type HDD, Serial WFKEXKD2 - 1200243695616 Bytes
[1:1:7]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:7, Type HDD, Serial WFKEXJZK - 1200243695616 Bytes
[1:1:4]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:4, Type HDD, Serial WFKEXG9G - 1200243695616 Bytes
[1:1:8]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:8, Type HDD, Serial WFKEXK0V - 1200243695616 Bytes
[1:1:2]: HPE 300GB 12.0G SAS HDD, Model EG000300JWSJP, Location 1:1:2, Type HDD, Serial Z4J0A03HFJSL - 300000000000 Bytes
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
Volumes not found.
iLORest > createvolume volume RAID1 1:1:1,1:1:2 --storageid=DE009000 --DisplayName rootdg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/0'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/7'}]}, 'RAIDType': 'RAID1', 'DisplayName': 'rootdg'}
Volume created successfully
iLORest > createvolume volume RAID6 1:1:3,1:1:4,1:1:5,1:1:6,1:1:7,1:1:8 --storageid=DE009000 --DisplayName sparedg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/1'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/2'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/3'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/4'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/5'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/6'}]}, 'RAIDType': 'RAID6', 'DisplayName': 'sparedg'}
Volume created successfully
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
[238]: Name sparedg RAIDType RAID6 VUID 600062B2214833402FDD6BC9EE3583FB Capacity 4798820646912 Bytes - Health OK
[239]: Name rootdg RAIDType RAID1 VUID 600062B2214833402FDD6BAEC601808D Capacity 299439751168 Bytes - Health OK
======== VERSION 6.1 - SAME BEHAVIOR ===========
$
ilorest
iLORest : RESTful Interface Tool version 6.1.0.0
Copyright (c) 2014-2025 Hewlett Packard Enterprise Development LP
iLORest > login 2.210.114.102 -u Administrator
Password:
Discovering data...Done
iLORest > storagecontroller
DE009000: HPE MR408i-o Gen11: Health OK: Enabled
iLORest > storagecontroller --storageid=DE009000 --physicaldrives
Drives on Storage DE009000
[1:1:1]: HPE 300GB 12.0G SAS HDD, Model EG000300JWSJP, Location 1:1:1, Type HDD, Serial Z4J0A03WFJSL - 300000000000 Bytes
[1:1:3]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:3, Type HDD, Serial WFKEXJZF - 1200243695616 Bytes
[1:1:5]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:5, Type HDD, Serial WFKEXRAC - 1200243695616 Bytes
[1:1:6]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:6, Type HDD, Serial WFKEXKD2 - 1200243695616 Bytes
[1:1:7]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:7, Type HDD, Serial WFKEXJZK - 1200243695616 Bytes
[1:1:4]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:4, Type HDD, Serial WFKEXG9G - 1200243695616 Bytes
[1:1:8]: HPE 1.20TB 12.0G SAS HDD, Model EG001200JXLWA, Location 1:1:8, Type HDD, Serial WFKEXK0V - 1200243695616 Bytes
[1:1:2]: HPE 300GB 12.0G SAS HDD, Model EG000300JWSJP, Location 1:1:2, Type HDD, Serial Z4J0A03HFJSL - 300000000000 Bytes
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
[238]: Name rootdg RAIDType RAID1 VUID 600062B2214833402FDD73987A4BE744 Capacity 299439751168 Bytes - Health OK
[239]: Name sparedg RAIDType RAID6 VUID 600062B2214833402FDD738B670B59AD Capacity 4798820646912 Bytes - Health OK
iLORest > deletevolume --storageid=DE009000 --controller=0 --all --force
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
Volumes not found.
iLORest > createvolume volume RAID6 1:1:3,1:1:4,1:1:5,1:1:6,1:1:7,1:1:8 --storageid=DE009000 --DisplayName sparedg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/1'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/2'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/3'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/4'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/5'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/6'}]}, 'RAIDType': 'RAID6', 'DisplayName': 'sparedg'}
Volume created successfully
iLORest > createvolume volume RAID1 1:1:1,1:1:2 --storageid=DE009000 --DisplayName rootdg --controller=0
ERROR : Unable to continue, requested number of drives not actually present under the storage ID or the drives requested are in use by another volume
iLORest > deletevolume --storageid=DE009000 --controller=0 --all --force
iLORest > createvolume volume RAID1 1:1:1,1:1:2 --storageid=DE009000 --DisplayName rootdg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/0'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/7'}]}, 'RAIDType': 'RAID1', 'DisplayName': 'rootdg'}
Volume created successfully
iLORest > createvolume volume RAID6 1:1:3,1:1:4,1:1:5,1:1:6,1:1:7,1:1:8 --storageid=DE009000 --DisplayName sparedg --controller=0
CreateVolume path and payload: /redfish/v1/Systems/1/Storage/DE009000/Volumes, {'Links': {'Drives': [{'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/1'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/2'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/3'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/4'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/5'}, {'@odata.id': '/redfish/v1/Chassis/DE009000/Drives/6'}]}, 'RAIDType': 'RAID6', 'DisplayName': 'sparedg'}
Volume created successfully
iLORest > storagecontroller --storageid=DE009000 --logicaldrives
Volumes on Controller None and Storage DE009000
[238]: Name sparedg RAIDType RAID6 VUID 600062B2214833402FDD6BC9EE3583FB Capacity 4798820646912 Bytes - Health OK
[239]: Name rootdg RAIDType RAID1 VUID 600062B2214833402FDD6BAEC601808D Capacity 299439751168 Bytes - Health OK