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 Storage Information

Querying Storage Information

Function

Query storage information.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD getraid -CI CONTROLLERID -LI LOGICALDRIVEID -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.

-

CONTROLLERID

Controller ID. It is an optional parameter. If this parameter is not set, the information of all controller IDs will be queried.

-

LOGICALDRIVEID

Logical disk ID. It is an optional parameter. If this parameter is not set, the information of all logical disk IDs will be queried.

-

{Enabled,Disabled}

Whether storage 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: Storage 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: Storage information is displayed on one page.

Usage Guidelines

None

Example

Obtain help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getraid -h
usage: urest getraid [-h] [-CI CONTROLLERID] [-LI LOGICALDRIVEID]
                     [-PA {Enabled,Disabled}]
 
optional arguments:
  -h, --help            show this help message and exit
  -CI CONTROLLERID      controller ID
  -LI LOGICALDRIVEID    virtual disk ID
  -PA {Enabled,Disabled}
                        get RAID information information paging display

Query storage information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getraid 
------------------------------------------------------------ 
Id                            : 0 
Name                          : RAID Card1 Controller 

[Status] 
Health                        : OK 
State                         : Enabled 

SpeedGbps                     : 12 
FirmwareVersion               : 4.270.00-4382 
Manufacturer                  : None 
Model                         : SAS3108 
SupportedDeviceProtocols      : SAS 
SASAddress                    : 5101b5442bcc7000 
ConfigurationVersion          : 3.1411.00-0023 
MaintainPDFailHistory         : True 
CopyBackState                 : True 
SmarterCopyBackState          : False 
JBODState                     : True 
MinStripeSizeBytes            : 65536 
MaxStripeSizeBytes            : 1048576 
DriverName                    : None 
DriverVersion                 : None 
MemorySizeMiB                 : 2048 
SupportedRAIDLevels           : RAID0,RAID1,RAID5,RAID6,RAID10,RAID50,RAID60 
DDRECCCount                   : 0 

[CapacitanceStatus] 
Health                        : OK 
State                         : Enabled 

Volumes 
    Id                        : 0 
    Name                      : LogicalDrive0 

    [Status] 
    Health                    : OK 
    State                     : Enabled 

    OptimumIOSizeBytes        : 262144 
    VolumeType                : NonRedundant 
    CapacityBytes             : 3997997989888 
    DefaultReadPolicy         : ReadAhead 
    DefaultWritePolicy        : WriteBackWithBBU 
    DefaultCachePolicy        : DirectIO 
    CurrentReadPolicy         : ReadAhead 
    CurrentWritePolicy        : WriteBackWithBBU 
    CurrentCachePolicy        : DirectIO 
    AccessPolicy              : ReadWrite 
    BGIEnable                 : True 
    BootEnable                : False 
    VolumeName                : 123 
    DriveCachePolicy          : Unchanged 
    AssociatedCacheCadeVolume : None 
    SSDCachecadeVolume        : False 
    ConsistencyCheck          : False 
    RaidControllerID          : 0 
    SSDCachingEnable          : False 
    OSDriveName               : None 
    VolumeRaidLevel           : RAID0 
    Drives                    : 7,8 
    -------------------------------------------------- 
Drives                        : 0,1,2,3,4,5,6,7,8,9,10,11 
------------------------------------------------------------ 

System Response

Table 3-28 Output description

Parameter

Description

Id

Storage controller ID.

Name

Storage controller name.

Status

Storage controller status, including:

  • State: storage controller enabling status
  • Health: storage controller health status

SpeedGbps

Storage controller interface speed

FirmwareVersion

Storage controller firmware version

Manufacturer

Storage controller manufacturer.

Model

Storage controller model.

SupportedDeviceProtocols

Protocol type supported by the storage controller.

SASAddress

Storage controller address.

ConfigurationVersion

Storage controller configuration version.

MemorySizeMB

Storage controller memory size.

MaintainPDFailHistory

Fault recording function enabling status of the storage controller.

CopyBackState

Copyback function of the storage controller.

SmarterCopyBackState

SMART error copyback function enabling status of the storage controller.

JBODState

Driver passthrough function enabling status.

MinStripeSizeBytes

Minimum stripe size. The unit is byte.

MaxStripeSizeBytes

Maximum stripe size. The unit is byte.

DriverName

Storage controller driver name.

DriverVersion

Storage controller driver version.

SupportedRAIDLevels

RAID level supported by the storage controller.

DDRECCCount

Number of correctable memory errors of the storage controller.

CapacitanceStatus

Storage controller capacitor status.

Volumes

Information of virtual disks managed by the storage controller.

Id

Virtual disk ID.

Name

Virtual disk name.

Status

Virtual disk status, including:

  • State: virtual disk enabling status
  • Health: virtual disk health status

OptimumIOSizeBytes

Virtual disk stripe size.

VolumeType

Virtual disk redundancy type.

CapacityBytes

Virtual disk capacity.

DefaultReadPolicy

Default read policy of the virtual disk.

DefaultWritePolicy

Default write policy of the virtual disk.

DefaultCachePolicy

Default cache policy of the virtual disk.

CurrentReadPolicy

Current read policy of the virtual disk.

CurrentWritePolicy

Current write policy of the virtual disk.

CurrentCachePolicy

Current cache policy of the virtual disk.

AccessPolicy

Access policy of the virtual disk.

BGIEnable

Background initialization enabling status.

BootEnable

Whether the disk is a boot disk.

VolumeName

Virtual disk name.

DriveCachePolicy

Physical disk cache policy.

AssociatedCacheCadeVolume

Access path of the associated CacheCade virtual disk.

SSDCachecadeVolume

Whether the disk is a CacheCade virtual disk.

ConsistencyCheck

Consistency check function enabling status.

RaidControllerID

ID of the controller to which the virtual disk belongs.

SSDCachingEnable

Whether the CacheCade virtual disk can be used.

OSDriveName

OS drive corresponding to the virtual disk.

VolumeRaidLevel

RAID level of the virtual disk.

Drives

List of drivers managed by the virtual disk.

Drives

List of drivers managed by the current controller.

Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 132665

Downloads: 601

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next