aix系統vg

xiexingzhi發表於2013-02-19

lsvg command

Purpose

Displays information about volume groups.

Syntax

lsvg [-map | -lv | -pv ] [ -field FieldName ] [ -fmt Delimiter ] VolumeGroup...

Description

The lsvg command displays information about volume groups. If you use the VolumeGroup parameter, only the information for that volume group is displayed. If you do not use the VolumeGroup parameter, a list of the names of all defined volume groups is displayed.

When information from the Device Configuration database is unavailable, some of the fields will contain a question mark (?) in place of the missing data. The lsvg command attempts to obtain as much information as possible from the description area when the command is given a logical volume identifier.

Full scripting support is provided to the lsvg command by using the -field FieldNames and -fmt Delimiter flags. The -field flag will allow the user to select which output fields to display and in what order, while the -fmt flag provides scriptable output. The output fields will be displayed in the order they appear on the command line.

If you do not specify any flags, the following information will be displayed:

Volume groupName of the volume group. Volume group names must be unique and can range from 1 to 15 characters.
Volume group stateState of the volume group. If the volume group is active, the state is either active/complete (indicating all physical volumes are active) or active/partial (indicating some physical volumes are not active). If the volume group is not active, the state is inactive.
PermissionAccess permission: read-only or read-write.
Max LVsMaximum number of logical volumes allowed in the volume group.
LVsNumber of logical volumes currently in the volume group.
Open LVsNumber of logical volumes within the volume group that are currently open.
Total PVsTotal number of physical volumes within the volume group.
Active PVsNumber of physical volumes that are currently active.
VG identifierThe volume group identifier.
PP sizeSize of each physical partition.
Total PPsTotal number of physical partitions within the volume group.
Free PPsNumber of physical partitions not allocated.
Alloc PPsNumber of physical partitions currently allocated to logical volumes.
QuorumNumber of physical volumes needed for a majority.
VGDSNumber of volume group descriptor areas within the volume group.
Auto-onAutomatic activation at IPL (yes or no).
ConcurrentStates whether the volume group is Concurrent Capable or Non-Concurrent Capable.
Auto-ConcurrentStates whether you should auto activate the Concurrent Capable volume group in concurrent or non-concurrent mode. For volume groups that are Non-Concurrent Capable, this value defaults to Disabled.
VG ModeThe mode of the volume group: Concurrent or Non-Concurrent.
Node IDNode id of this node if volume group is in concurrent node.
Active NodesNode ids of other concurrent nodes that have this volume group active.
Max PPs Per PVMaximum number of physical partitions per physical volume allowed for this volume group.
Max PVsMaximum number of physical volumes allowed in this volume group.
LTG sizeLogical track group size, in number of kilobytes, of the volume group.
BB POLICYBad block relocation policy of the volume group.
SNAPSHOT VGSnapshot volume group name if the snapshot volume group is active else snapshot volume group identifier.
PRIMARY VGOriginal volume group name of a snapshot volume group if the original volume group is active else original volume group identifier.




來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22531473/viewspace-754300/,如需轉載,請註明出處,否則將追究法律責任。

相關文章