Aix

AIX:lqueryvg 文件.. 失去?

  • January 11, 2018

我想要一些關於 lqueryvg 的資訊。

man lqueryvg
Manual entry for lqueryvg not found or not installed.

在網上我找不到解釋的所有選項;一些選項是未知的。有人知道缺少的選項嗎?

lqueryvg -A     #?
lqueryvg -a     #?
lqueryvg -c     #?
lqueryvg -D     #?
lqueryvg -F     #?
lqueryvg -g     #specify VGid
lqueryvg -L     #?
lqueryvg -N     #?
lqueryvg -n     #?
lqueryvg -P     #show pvs of disk
lqueryvg -p     #specify disk,disk0 for example
lqueryvg -s     #?
lqueryvg -t     #?
lqueryvg -v     #verbose
lqueryvg -Z     #?
lqueryvg -z     #?

AIX 邏輯捲管理器的附錄 B.22從 A 到 Z:故障排除和2000 年的命令描述了以下內容:

lqueryvg - An object file command that queries the attributes of a volume group.
Usage: lqueryvg [-g VGID] [-p PVname] [-N] [-s] [-F] [-n] [-c] [-D] [-a] [-l] [-P] [-A] [-v] [-t]

-g VGID The VGID of the volume group to query.
-p PVname The name of the physical volume that contains the VGID.
-N Returns the maximum number of logical volumes allowed in the volume group.
-s Returns the physical partition size.
-F Returns the number of free physical partitions in the volume group.
-n Returns the current number of logical volumes in the volume group.
-c Returns the current number of physical volumes in the volume group.
-D Returns the total number of VGDAs for the volume group.
-a Returns all the static attributes for the volume group ( ).
-l Returns each LVID, logical volume name and state for each logical volume in the volume group.
-P Returns each PVID, number of VGDAs and state for each physical volume in the volume group.
-A Returns all attributes for the volume group (static attributes, logical volume details and physical volume details).
-v Used only with the -p PVName flag to return the VGID from that physical volume.
-t Includes the tags with the output for the above options.

在第 2.6.7 節末尾附近還有一條註釋說:

本質上,以 l 為前綴的低級命令只是充當解析器和 LVM API 呼叫的前端。為了更好地理解這些命令的功能,可以查找相關的 API 呼叫,例如,lvm_queryvgs 對應 lqueryvgs。這些呼叫在 AIX Version 4.3 Technical Reference: Kernel and Subsystems Technical Reference, Volume 1, SC23-4163 中列出。但是請記住,IBM 不會記錄 BigVG 功能。

這可以讓您訪問IBM® Knowledge Center 的 lvm_queryvg 子常式

引用自:https://unix.stackexchange.com/questions/416385