Translated message

A translation of this page exists in English.

在 RHEL 中,'lvextend -l 100%FREE' 调整大小到可用扩展的数量,而不是将它们添加到当前大小

Solution In Progress - Updated -

Issue

  • 我认为情况是这样的:

    # lvextend -l 100%FREE /dev/VolGroup00/lv_root
    
  • 错误

  New size given (XXX extents) not larger than existing size (XXX extents)

...将逻辑卷 lvroot 扩展到其当前大小,加上卷组中当前的可用空间。  但这并不是它试图要做的。

  • 当使用以下命令调整逻辑卷大小时,会尝试将其调整为可用扩展的数量,而不是当前大小加上可用扩展的数量

    # lvextend -l 100%FREE <logvol path>
    

Environment

  • Red Hat Enterprise Linux (RHEL) 4, 5, 6, 7, 8, 9

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