我想要一些有关 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 #?
答案1
附录B.22AIX 逻辑卷管理器从头到尾:故障排除和命令从 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 调用,例如 lqueryvgs 的 lvm_queryvgs。这些调用在 AIX Version 4.3 Technical Reference: Kernel and Subsystems Technical Reference, Volume 1, SC23-4163 中列出。不过,请记住,IBM 不会记录 BigVG 功能的文档。
which could land you at the IBM® Knowledge Center for the lvm_queryvg Subroutine.