iBMCQuerying Logical Disk Information (ldinfo)
Function
The ldinfo command is used to query information about logical disks managed by a RAID controller card.
Format
ipmcget -t storage -d ldinfo -v <ctrlid> <option>
Parameters
Parameter |
Description |
Value |
---|---|---|
ctrlid |
Specifies the ID of the RAID controller that manages the target logical disk. |
0 to 255 |
option |
Specifies the ID of a logical disk. |
|
Usage Guidelines
- The RAID controller card supports iBMC out-of-band management. You can refer to the Technical Specifications section in the RAID controller card user guide to determined whether the RAID card supports the iBMC out-of-band management.
- The iBMA 2.0 has started on the OS.
Example
# Query information about logical disk 0 managed by RAID controller 0.
iBMC:/->ipmcget -t storage -d ldinfo -v 0 0
Logical Drive Information
----------------------------------------------------------------------
Target ID : 0
Name : example1
Type : RAID1
State : Optimal
Default Read Policy : Read Ahead
Default Write Policy : Write Back with BBU
Default Cache Policy : Direct IO
Current Read Policy : Read Ahead
Current Write Policy : Write Back with BBU
Current Cache Policy : Direct IO
Access Policy : Read Write
Span depth : 1
Number of drives per span : 2
Strip Size : 256 KB
Total Size : 100.234 GB
Disk Cache Policy : Enabled
Init State : No Init
Consistency Checking : No
BGI Enabled : Yes
Bootable : No
Used for Secondary Cache : No
SSCD Caching Enable : No
PD participating in LD (ID#) : 0,1
Dedicated Hot Spare PD (ID#) : N/A
----------------------------------------------------------------------
# Query information about all logical disks managed by RAID controller 0.
iBMC:/->ipmcget -t storage -d ldinfo -v 0 all
Logical Drive Information
----------------------------------------------------------------------
Target ID : 0
Name : example1
Type : RAID1
State : Optimal
Default Read Policy : Read Ahead
Default Write Policy : Write Back with BBU
Default Cache Policy : Direct IO
Current Read Policy : Read Ahead
Current Write Policy : Write Back with BBU
Current Cache Policy : Direct IO
Access Policy : Read Write
Span depth : 1
Number of drives per span : 2
Strip Size : 256 KB
Total Size : 100.234 GB
Disk Cache Policy : Enabled
Init State : No Init
Consistency Checking : No
BGI Enabled : Yes
Bootable : No
Used for Secondary Cache : No
SSCD Caching Enable : No
PD participating in LD (ID#) : 0,1
Dedicated Hot Spare PD (ID#) : N/A
----------------------------------------------------------------------
Logical Drive Information
----------------------------------------------------------------------
Target ID : 1
Name : example2
Type : RAID0
State : Optimal
Default Read Policy : Read Ahead
Default Write Policy : Write Back with BBU
Default Cache Policy : Direct IO
Current Read Policy : Read Ahead
Current Write Policy : Write Back with BBU
Current Cache Policy : Direct IO
Access Policy : Read Write
Span depth : 1
Number of drives per span : 5
Strip Size : 256 KB
Total Size : 1.149 TB
Disk Cache Policy : Enabled
Init State : No Init
Consistency Checking : No
BGI Enabled : Yes
Bootable : No
Used for Secondary Cache : No
SSCD Caching Enable : No
PD participating in LD (ID#) : 2,8,9,10,11
Dedicated Hot Spare PD (ID#) : N/A
----------------------------------------------------------------------