Comments (9)
Please try GetStorageInventoryREDFISH.py.
Example:
user@yggdrasil:~/Redfish Python$ python ./GetStorageInventoryREDFISH.py -i 192.168.0.120 -u root -p calvin -o c
- Current controllers detected in server:
RAID.Slot.6-1
AHCI.Embedded.2-1
AHCI.Embedded.1-1
user@yggdrasil:~/Redfish Python$ python ./GetStorageInventoryREDFISH.py -i 192.168.0.120 -u root -p calvin -c RAID.Slot.6-1
- Supported disks and backplane for controller: RAID.Slot.6-1
CapacityBytes : 959656755200
HealthRollup : OK
State : Enabled
Health : OK
Model : SSDSC2BB960G7R
Name : Solid State Disk 0:1:0
Manufacturer : ATA
from idrac-redfish-scripting.
it didn't work for me. My iDRAC is at version 8. Any specific firmware version we should be on to get this information?
from idrac-redfish-scripting.
Hi, still doesn't work. is this depend on FW version?
from idrac-redfish-scripting.
any updates?
from idrac-redfish-scripting.
I've tested on a few 13G servers (iDRAC 8) and can't get size info for the disks on any of them. This is regardless of firmware version.
It looks like only 14G (iDRAC 9 and PERC 10) returns the disk sizes via Redfish at the moment. I'll check if the size information will be added to later firmware revisions.
This may or may not be useful in your case, but just in case:
It's possible to use the RACADM command line tool to get the disk sizes also on 13G / iDRAC 8. The command for this is "racadm storage get pdisks -o -p Size". If done remotely (you have RACADM installed on your management PC) you can use "racadm -r -u root -p calvin storage get pdisks -o -p Size". From Linux it can be done over SSH without having RACADM installed on the Linux management PC.
from idrac-redfish-scripting.
@eligosfx and @bdesika It indeed looks like the disk size info is considered for a near future release.
from idrac-redfish-scripting.
Currently iDRAC 8 doesn't support reporting disk size using Redfish but will be supported in next release which should be 2.60 version.
Thanks
from idrac-redfish-scripting.
from idrac-redfish-scripting.
End of June this year.
Thanks
from idrac-redfish-scripting.
Related Issues (20)
- Switching the storage controller from PERC to HBA and vice-versa HOT 3
- InsertEjectVirtualMediaREDFISH.py unable to insert ISO file residing on CIFS share; works from iDRAC GUI HOT 15
- Importing CA certificate to iDRAC via Redfish HOT 6
- Traceback error running ExportSystemConfigurationLocalREDFISH.py HOT 2
- Delete portion of CreateDeleteIdracUsersREDFISH.py only disables the account; it doesn't delete it. HOT 2
- Redfish Resource not found - Export Configuration HOT 1
- Can't insert CD and RemovableMedia virtual media simultaneously HOT 5
- iDRAC Version 7.00.00.171 Traceback Errors HOT 14
- Export/import certificates HOT 1
- Account Services Question HOT 6
- Set-IdracLcSystemAttributesREDFISH does not work on iDRAC8 HOT 3
- Invoke-ChangeIdracUserPasswordREDFISH - New-Object : Exception calling ".ctor" with .... HOT 5
- GetFirmwareInventoryREDFISH.py - Enhancement request: Add or create new version to save to network share HOT 2
- LLDP is not providing the Device ID and the Port ID information. HOT 1
- Use redfish to mount local iso for OS install similar to how webUI works HOT 2
- iDRAC per FQDN via Redfish HOT 13
- Exported ServerConfigurationProfile has commented out properties HOT 2
- Where is the script GetBiosBootOrderBootSourceStateREDFISH.py? HOT 2
- Attribute HttpDev1Interface Vs PxeDev1Interface HOT 7
- Redfish Query HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idrac-redfish-scripting.