lsarraylba

Use the lsarraylba command to permit an array logical block address (LBA) to be found from a drive and LBA.

Syntax

lsarraylba [ -nohdr ] [ -delim delimiter ] -drivelba lba -drive drive_id

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delimdelimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum possible width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a one-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
-drivelbalba
The LBA on the drive to convert to the array LBA. The lba value must be specified in hex, with a 0x prefix.
-drivedrive_id
The ID of the drive to view.

Description

This command permits an array LBA to be found on a drive and LBA.

The system provides volumes that have LBAs for 512-byte block sizes; however, back-end disks that have a block size of either 512 or 4096 bytes can also be used. Drives are listed in their physical size.

Use the lsdrive command to display the drive block size, and use the lsdrive or lsarray command to list each object (the drive and the MDisk).

Table 1 shows possible outputs.
Table 1. lsarraylba output
Attribute Value
type The type of MDisk extent allocation:
  • allocated
  • unallocated
For distributed arrays only:
  • If the LBA is an unused rebuild area, this value displays rebuild_area.
  • If the LBA is a used rebuild area, this value displays allocated.
mdisk_lba The LBA on the array MDisk (blank if none).
mdisk_start The start of range of LBAs (strip) on the array MDisk (blank if none).
mdisk_end The end of range of LBAs (strip) on the array MDisk (blank if none).
drive_start The start of range of LBAs (strip) on the drive (blank if none).
drive_end The end of range of LBAs (strip) on the drive (blank if none).

An invocation example to map drive 2 LBA -xff to MDisk 2 LBA 0xff

lsarraylba -delim : -drivelba 0xff -drive 2

The resulting output:

mdisk_id:mdisk_name:type:mdisk_lba:mdisk_start:mdisk_end:drive_start:drive_end
0:mdisk2:allocated:0x00000000000001ff:0x0000000000000100:0x00000000000001ff:0x0000000000000000:0x00000000000000ff

An invocation example for an allocated space

lsarraylba -drivelba 0x00 -drive 2

The resulting output:

mdisk_id mdisk_name type      mdisk_lba          mdisk_start        mdisk_end          drive_start        drive_end
1        mdisk1     allocated 0x0000000000000000 0x0000000000000000 0x00000000000001FF 0x0000000000000000 0x00000000000001FF

An invocation example for an unused rebuild area

lsarraylba -drivelba 0x00 -drive 16

The resulting output:

mdisk_id mdisk_name type         mdisk_lba          mdisk_start        mdisk_end          drive_start        drive_end
3        mdisk3     rebuild_area                                                          0x0000000000000000 0x0000000000000A1F