PowerFlex Manager: Ein unerwarteter "State"-Schlüssel wird in der Antwort zurückgegeben, wenn physische Laufwerke mithilfe der REST API abgefragt werden.

Summary: Es wird erwartet, dass die Feldwerte von PhysicalDisk die WSMAN-DCIM_PhysicalDiskView-Details widerspiegeln und "State" darin nicht angezeigt wird.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Beim Ausführen einer API-Abfrage für das Feld "PhysicalDisk" enthält die Antwort einen "state"-Schlüssel, der im WSMAN-ähnlichen Abfragebefehl DCIM_PhysicalDiskView nicht angezeigt wird, wie in den folgenden Beispielen zu sehen ist.
Der Statusschlüssel wurde versehentlich hinzugefügt, da er von keiner Komponente oder Entität im System festgelegt oder verwendet wird.
Der "state"-Schlüssel und verschiedene Werte sollten bedenkenlos ignoriert werden.


Beispiel für eine API-JSON-Antwort

$ curl -s -k --location -X GET -H "x-dell-auth-key: $apiKey" -H "x-dell-auth-signature: $signature" -H "x-dell-auth-timestamp: $timestamp" "https://10.1.1.1/Api/V1/Server"
...
{
    "id" : "8a6af86585e8ff530186010d3a681020",
    "fqdd" : "NonRAID.Integrated.1-1",
    "productName" : "Dell HBA330 Mini",
    "deviceDescription" : "Integrated Storage Controller 1",
    "firmwareVersion" : "16.17.01.00",
    "driverVersion" : null,
    "pciSlot" : 1,
    "numPhysDisks" : 8,
    "cacheSizeInMB" : 0,
    "physicalDisks" : [ {
      "fqdd" : "Disk.Bay.4:Enclosure.Internal.0-1:NonRAID.Integrated.1-1",
      "deviceDescription" : "Disk 4 in Backplane 1 of Integrated Storage Controller 1",
      "raidStatus" : "NON_RAID",
      "securityState" : "NOT_CAPABLE",
      "busProtocol" : "SAS",
      "mediaType" : "SSD",
      "size" : 1920383409664,
      "driveNumber" : 4,
      "deviceSerial" : "17T0A027TF2E",
      "manufacturer" : "TOSHIBA",
      "model" : "PX05SRB192Y",
      "remainingRatedWriteEndurance" : "95",
      "rollUpStatus" : "1",
      "predictiveFailureState" : "0",
      "state" : null,
      "supportedEncryptionTypes" : [ "None" ],
      "hotSpareStatus" : "No"
    },
...

Beispiel für eine WSMAN-Befehlsantwort

C:\Users\Administrator>winrm e cimv2/root/dcim/dcim/DCIM_PhysicalDiskView -u:root -p:Abcd@1234 -r:https://10.1.1.1/wsman -auth:basic -encoding:utf-8 -SkipCACheck -SkipCNCheck
...
DCIM_PhysicalDiskView
    BlockSizeInBytes = 512
    BusProtocol = 6
    ConfigLockdownCapable = 0
    ConfigLockdownState = 0
    Connector = 0
    DeviceDescription = Disk 4 in Backplane 1 of Integrated Storage Controller 1
    DriveFormFactor = 2
    FQDD = Disk.Bay.4:Enclosure.Internal.0-1:NonRAID.Integrated.1-1
    ForeignKeyIdentifier = null
    FreeSizeInBytes = 0
    HotSpareStatus = 0
    InstanceID = Disk.Bay.4:Enclosure.Internal.0-1:NonRAID.Integrated.1-1
    LastSystemInventoryTime = 20221102201007.000000+000
    LastUpdateTime = 20220831001933.000000+000
    Manufacturer = TOSHIBA
    ManufacturingDay = 0
    ManufacturingWeek = 7
    ManufacturingYear = 2020
    MaxCapableSpeed = 4
    MediaType = 1
    Model = KPM5XVUG960G
    OperationName = None
    OperationPercentComplete = 0
    PPID = PH0WFGTHTBPKK02B1BK2A02
    PredictiveFailureState = 0
    PrimaryStatus = 1
    RAIDType = 0
    RaidStatus = 8
    RemainingRatedWriteEndurance = 100
    Revision = B01C
    RollupStatus = 1
    SASAddress = 58CE38EE20E0FF6A
    SecurityState = 0
    SerialNumber = 20B0A004TP5F
    SizeInBytes = 960197123584
    Slot = 4
    SupportedEncryptionTypes = Cryptographic Erase Capable
    SystemEraseCapability = 2
    T10PICapability = 0
    UpdateLockdownCapable = 0
    UpdateLockdownState = 0
    UsedSizeInBytes = 0

Affected Products

PowerFlex rack, PowerFlex Appliance, PowerFlex custom node
Article Properties
Article Number: 000214767
Article Type: How To
Last Modified: 13 Feb 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.