Lists block storage devices on the Virtual I/O Server that are capable of being added to a shared memory pool for use as paging space devices. This command is operable only in an Integrated Virtualization Manager environment.
lsmemdev -r avail [-m ManagedSystem ] [-p <VIOS LPAR name> | --id <VIOS LPAR ID>] [--min <minimum size in MB>] [--max <maximum size in MB> [ --filter "FilterData" ] [ -F "AttributeNames" ] [--header] [--help]
The lsmemdev command lists block storage devices on the Virtual I/O Server that are capable of being added to a shared memory pool for use as paging space devices. Only devices in the available state are displayed.
Flag name | Description |
---|---|
-r ResourceType | The type of resources to list: avail: available resources |
-m ManagedSystem | The name of the managed system. This attribute is optional because only one system is managed. The name can either be the user-defined name for the managed system, or be in the form tttt-mmm*ssssssss, where tttt is the machine type, mmm is the model, and ssssssss is the serial number of the managed system. |
--filter FilterData | The filters to apply to the resources to be
listed. Filters are used to select which resources of the specified
resource type are to be listed. If no filters are used, all of the
resources of the specified resource type are listed. For example,
specific logical partitions can be listed by using a filter to specify
the names or IDs of the logical partitions to list. Otherwise, if
no filter is used, all the logical partitions in the managed system
are listed. The filter data consists of filter name/value pairs, which are in comma-separated value (CSV) format. The filter data must be enclosed in quotation marks. The format of the filter data
is as follows:
Note
that certain filters accept a comma-separated list of values, as follows:
When a list of values is specified, the filter name/value pair must be enclosed in quotation marks. Depending on the shell being used, nested quotation marks might need to be preceded by an escape character, which is usually a backslash (\) character. Unless otherwise indicated, multiple values can be specified for each filter. Valid
filter names:
types | storage_pools | redundant |
-F AttributeNames | A delimiter separated list of attribute names
for the desired attribute values to be displayed for each resource.
If no attribute names are specified, values for all of the attributes
for the resource are displayed. When this option is specified, only attribute values are displayed. No attribute names are displayed. The attribute values displayed are separated by the delimiter which was specified with this option. This option is useful when only attribute values are desired to be displayed, or when the values of only selected attributes are desired to be displayed. Attribute
names for partitions:
|
--header | Displays a header record, which is a delimiter-separated list of attribute names for the attribute values that are displayed. This header record is the first record displayed. This option is only valid when used with the -F option. |
This command has a return code of 0 on success.
This command is accessible by all users.
lsmemdev -r avail