lsmdiskextent
Use the lsmdiskextent command to display the extent allocation between managed disks and volumes. The output lists a volume ID, volume copy ID, and the number of extents.
Syntax
>>- lsmdiskextent -- --+----------+-- --------------------------> '- -nohdr -' >--+-----------------------+-- --+- mdisk_name -+-------------->< '- -delim -- delimiter -' '- mdisk_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.
- -delim delimiter
- (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.
- mdisk_name | mdisk_id
- (Required) Specifies the specific object ID or name of the given type.
Description
The command displays a list, in which each entry contains a volume ID, volume copy ID, and the number of extents. These volume copies are using extents on the specified MDisk. The number of extents being used on each MDisk is also shown.
Every volume copy is constructed from one or more MDisks. At times, you might have to determine the relationship between the two objects. The following procedure allows you to determine the relationships.
lsvdiskmember vdisk_name | vdisk_id
where vdisk_name | vdisk_id is the name or ID of the volume copy. This displays a list of IDs that correspond to the MDisks that make up the volume copy.lsvdiskextent vdisk_name | vdisk_id
where vdisk_name | vdisk_id is the name or ID of the volume copy. This displays a table of MDisk IDs and the corresponding number of extents that each MDisk is providing as storage for the given volume copy.lsmdiskmember mdisk_name | mdisk_id
where mdisk_name | mdisk_id is the name or ID of the MDisk. This displays a list of IDs that correspond to the volume copies that are using this MDisk.lsmdiskextent mdisk_name | mdisk_id
where mdisk_name | mdisk_id is the name or ID of the MDisk. This command displays a table of volume copy IDs and the corresponding number of extents that are being used by each volume copy.An invocation example
lsmdiskextent -delim : mdisk0
The resulting output:
id:number_of_extents:copy_id
1:1:1