Translated message

A translation of this page exists in English.

如何在 Red Hat Enterprise Linux 中在线扩展逻辑卷及其文件系统?

Solution Verified - Updated -

Issue

  • 增加基于逻辑卷的现有文件系统的步骤是什么?
  • 如何在命令行中扩展逻辑卷和文件系统?
  • 如何同时调整逻辑卷和我的文件系统的大小?
  • 我有一个 lvm 设备,在扩展了相关的卷组后,我的文件系统的大小没有变化。如何增加逻辑卷和文件系统?
  • 我已使用 lvextend 扩展了一个逻辑卷,卷组 vgdisplay 显示了相关的扩张,但 df 并没有显示大小的变化。这是什么原因?
  • 如何在 LVM 上增加 ext3/ext4/XFS 文件系统的大小?
  • 如何在不卸载文件系统的情况下实时增加文件系统的大小?
  • 我们使用 LVM 挂载文件系统,如何使用 lvextend 命令来扩展卷组并增加文件系统大小?
  • 在扩展了 LUN 容量后,如何扩展文件系统?
  • 增加 LVM2 逻辑卷大小并调整其文件系统的步骤是什么?
  • 我需要扩展 LVM 分区上创建的文件系统,是否需要先卸载文件系统才能进行扩展?是否可以在线调整文件系统的大小?
  • 如何使用 pvcreatevgextendlvextendresize2fs 命令增加 ext 文件系统
  • 如何使用 pvcreate, vgextend, lvextendxfs_growfs 命令扩展一个 XFS 文件系统
  • 我已使用 lvextend 命令扩展了逻辑卷大小,但文件系统的大小并没有变化
  • 系统需要更多的 inode
  • 如何增加可用 inode 的数量

Environment

  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • Logical Volume Manager (LVM) 2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content