No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Tools 2.0 uREST User Guide 16

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Querying Physical Disk Information

Querying Physical Disk Information

Function

Query physical disk information.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD getpdisk -I DRIVEID -PA {Enabled,Disabled}

Parameters

Parameter

Description

Value

HOST

iBMC IP address or domain name. It is a mandatory parameter. If an IPv6 address is used, the IPv6 address must be included in square brackets, such as [1001::1001].

-

PORT

Port number. The default value is 443. It is an optional parameter.

Enter the port number if the default value 443 is not used.

USERNAME

iBMC user name. It is a mandatory parameter.

-

PASSWORD

Password of the iBMC user. It is a mandatory parameter.

-

DRIVEID

Physical disk ID. It is an optional parameter.

-

{Enabled,Disabled}

Whether physical disk information is displayed on different pages. It is an optional parameter. If this parameter is not set, information is displayed on one page by default.

  • Enabled: Physical disk information is displayed on different pages. One record is displayed first. Then you can press any key to display the remaining information or press q to exit.
  • Disabled: Physical disk information is displayed on one page.

Usage Guidelines

None

Example

Obtain help information.

[root@localhost bin]# ./urest -H 172.100.10.45 -U root -P ****** getpdisk -h
usage: urest getpdisk [-h] [-I DRIVEID] [-PA {Enabled,Disabled}]
 
optional arguments:
  -h, --help            show this help message and exit
  -I DRIVEID            physical disk ID
  -PA {Enabled,Disabled}
                        get physical disk information information paging
                        display

Query physical disk information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getpdisk
-------------------------------------------------- 
Id                                      : 0 
Name                                    : Disk0 
Position                                : HDDPlane 
[Status] 
Health                                  : OK 
State                                   : Enabled 
Manufacturer                            : HITACHI 
Model                                   : HUC106060CSS600 
Protocol                                : SAS 
FailurePredicted                        : False 
CapacityBytes                           : 598999040000 
HotspareType                            : None 
IndicatorLED                            : Off 
PredictedMediaLifeLeftPercent           : None 
MediaType                               : HDD 
SerialNumber                            : PZK70DJD 
CapableSpeedGbs                         : None 
NegotiatedSpeedGbs                      : 6 
Revision                                : A202 
StatusIndicator                         : OK 
TemperatureCelsius                      : None 
HoursOfPoweredUp                        : None 
FirmwareStatus                          : Online 
SASAddress                              : 5000cca03cb5da81,0 
PatrolState                             : DoneOrNotPatrolled 
RebuildState                            : DoneOrNotRebuilt 
RebuildProgress                         : None 
Type                                    : Disk 
SpareforLogicalDrives                   : None 
Volumes                                 : RAIDStorage0-LogicalDrive0 
SASSmartInformation 
DiskStripeTemperatureCelsius            : None 
NumberOfMinutesUntilNextSMARTTest       : None 
BlocksSentToInitiator                   : None 
MediaErrorCount                         : 0 
ElementsInGrownDefectList               : 0 
HealthStatus                            : None 
BlocksReceivedFromInitiator             : None 
OtherErrorCount                         : 0 
ElementsInPrimaryDefectList             : None 
SequenceNumberOfLastPredFailEvent       : None 
PrefailErrorCount                       : 0 
WeekAndYearOfManufacture                : None 
DiskTemperatureCelsius                  : None 
SATASmartInformation 
AttributeRevision                       :25 
AttributeRevisionNumber                 :21 
AttributeItemList                       :0 
RawValue                                :47637533 
UpdateMode                              :Always 
AttributeName                           :DISK_CURRENT_PENDING_SECTOR 
NormalizedValue                         :76 
Flag                                    :0x000f 
WorstValue                              :63 
FaultStatus                             :null 
Threshold                               :44 
FaultWarningMode                        :Pre-fail 
SmartAttributeID                        :3 
--------------------------------------------------

If you run the getpdisk command, all information will be displayed by default.

System Response

Table 3-37 Output description

Parameter

Description

Id

Driver ID.

Name

Driver name.

Position

Driver container.

Status

Driver status. The value can be one of the following:

  • State: driver enabling status
  • Health: driver health status

Manufacturer

Driver manufacturer.

Model

Driver model.

Protocol

Protocol that the driver complies with.

FailurePredicted

Whether the driver detects a predictive failure. The value can be one of the following:

  • True: yes
  • False: no

CapacityBytes

Driver capacity. The unit is byte.

HotspareType

Driver hot spare status. The value can be one of the following:

  • None
  • Global
  • Dedicated

IndicatorLED

Driver locating indicator status. The value can be one of the following:

  • Off
  • Blinking

PredictedMediaLifeLeftPercent

Percentage of the remaining life of the driver.

MediaType

Media type of the driver.

SerialNumber

Serial number of the driver.

CapableSpeedGbs

Maximum speed of the driver port.

NegotiatedSpeedGbs

Negotiated speed of the driver port.

Revision

Driver version information.

StatusIndicator

Driver indicator status. The value can be one of the following:

  • OK
  • Fail
  • Rebuild
  • PredictiveFailureAnalysis
  • Hotspare
  • InAFailedArray

TemperatureCelsius

Current temperature of the driver.

HoursOfPoweredUp

Running duration of the driver in power-on status.

FirmwareStatus

Driver status. The value can be one of the following:

  • UnconfiguredGood
  • UnconfigureBad
  • HotSpareDrive
  • Offline
  • Failed
  • Online
  • GettingCopied
  • JBOD
  • UnconfiguredShieded
  • HotSpareShielded
  • ConfiguredShielded
  • Foreign
  • Active
  • Standby
  • Sleep
  • DSTInProgress
  • SMARTOfflineDataCollection
  • SCTCommand

SASAddress

Driver SAS address.

PatrolState

Driver inspection status. The value can be one of the following:

  • DoneOrNotPatrolled
  • Patrolling

RebuildState

Driver data reconstruction status. The value can be one of the following:

  • DoneOrNotRebuilt
  • Rebuilding

RebuildProgress

Driver data reconstruction progress.

Type

Driver type. The value can be one of the following:

  • Disk
  • SDCard
  • PCIe SSD Card

SpareforLogicalDrives

Logical disk list to which the driver belongs when the driver is a dedicated hot spare disk.

Volumes

Logical disk list to which the driver belongs.

SASSmartInformation

SAS port SMART information.

DiskStripeTemperatureCelsius

Driver stripe temperature (ºC).

NumberOfMinutesUntilNextSMARTTest

Duration until the next internal SMART test (minute).

BlocksSentToInitiator

Block sent to the initiator.

MediaErrorCount

Number of media errors.

ElementsInGrownDefectList

Element in the grown defect list (G list).

HealthStatus

Health status.

BlocksReceivedFromInitiator

Block received from the initiator.

OtherErrorCount

Number of other errors.

ElementsInPrimaryDefectList

Element in the primary defect list (P list).

SequenceNumberOfLastPredFailEvent

Serial number of the last predictive fault event.

PrefailErrorCount

Number of predictive errors.

WeekAndYearOfManufacture

Manufacturing date.

DiskTemperatureCelsius

Driver temperature (ºC).

SATASmartInformation

SATA port SMART information.

AttributeRevision

SMART attribute version.

AttributeItemList

SMART attribute list.

RawValue

SMART attribute physical value (usually corresponding to a number or physical unit, such as the number of sectors, ºC, or second).

UpdateMode

SMART attribute update mode.

AttributeName

SMART attribute name.

NormalizedValue

Standard value of the SMART attribute.

Flag

SMART attribute flag.

WorstValue

Historical worst value of the SMART attribute.

FaultStatus

Invalid status of the SMART attribute.

Threshold

SMART attribute threshold.

FaultWarningMode

SMART attribute fault type.

SmartAttributeID

SMART attribute ID.

Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 121355

Downloads: 588

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next