Giter Club home page Giter Club logo

Comments (9)

tehbluemuppetz avatar tehbluemuppetz commented on June 21, 2024

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.

bdesika avatar bdesika commented on June 21, 2024

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.

eligosfx avatar eligosfx commented on June 21, 2024

Hi, still doesn't work. is this depend on FW version?

from idrac-redfish-scripting.

eligosfx avatar eligosfx commented on June 21, 2024

any updates?

from idrac-redfish-scripting.

jonas-werner avatar jonas-werner commented on June 21, 2024

Hi @eligosfx and @bdesika ,

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.

jonas-werner avatar jonas-werner commented on June 21, 2024

@eligosfx and @bdesika It indeed looks like the disk size info is considered for a near future release.

from idrac-redfish-scripting.

texroemer avatar texroemer commented on June 21, 2024

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.

eligosfx avatar eligosfx commented on June 21, 2024

from idrac-redfish-scripting.

texroemer avatar texroemer commented on June 21, 2024

End of June this year.

Thanks

from idrac-redfish-scripting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.