5.4.13. 显示逻辑卷


有三个命令可显示 LVM 逻辑卷的属性:lvslvdisplaylvscan
The lvs command provides logical volume information in a configurable form, displaying one line per logical volume. The lvs command provides a great deal of format control, and is useful for scripting. For information on using the lvs command to customize your output, see 第 5.8 节 “为 LVM 自定义报告”.
lvdisplay 命令用混合格式显示物理属性(大小、布局和映射)。
The following command shows the attributes of lvol2 in vg00. If snapshot logical volumes have been created for this original logical volume, this command shows a list of all snapshot logical volumes and their status (active or inactive) as well.
# lvdisplay -v /dev/vg00/lvol2
Copy to Clipboard Toggle word wrap
lvscan 命令扫描系统中所有逻辑卷并将其列出,如下:
# lvscan
 ACTIVE                   '/dev/vg0/gfslv' [1.46 GB] inherit
Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat