LVM报错:New size given (4096 extents) not larger

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了LVM报错:New size given (4096 extents) not larger相关的知识,希望对你有一定的参考价值。

问题 New size given (4096 extents) not larger than existing size (5120 extents)


[[email protected] ~]# vgdisplay

  --- Volume group ---

  VG Name               cl

  System ID             

  Format                lvm2

  Metadata Areas          2

  Metadata Sequence No      5

  VG Access             read/write

  VG Status             resizable

  MAX LV                0

  Cur LV                2

  Open LV               2

  Max PV                0

  Cur PV                2

  Act PV                2

  VG Size               38.99 GiB

  PE Size               4.00 MiB

  Total PE              9982

  Alloc PE / Size       5376 / 21.00 GiB

  Free  PE / Size       4606 / 17.99 GiB

  VG UUID               0g6KUL-2kdC-e4Ml-EMFH-2JYs-SNUT-bn09Od

   

[[email protected] ~]# lvextend -L 17G /dev/mapper/cl-root

  New size given (4352 extents) not larger than existing size (5120 extents)

   

[[email protected] ~]# lvextend -L 16G /dev/mapper/cl-root

  New size given (4096 extents) not larger than existing size (5120 extents)


给lvm---根目录/dev/centos/cl-root扩容

[[email protected] ~]# lvextend -l +100%FREE /dev/mapper/cl-root

  Size of logical volume cl/root changed from 20.00 GiB (5120 extents) to 37.99 GiB (9726 extents).

  Logical volume cl/root successfully resized.


以上是关于LVM报错:New size given (4096 extents) not larger的主要内容,如果未能解决你的问题,请参考以下文章

LVM增大缩小分区,复现减小分区报错并修复

CMake报错:add_subdirectory not given a binary directory but the given source directory

pymysql报错 takes 1 positional argument but 2 were given

迁移学习调用预训练模型出现Given input size: (512x3x3). Calculated output size: (512x-3x-3)错误

CentOS 8 扩展LVM,更改xfs卷报错解决方法

1282. Group the People Given the Group Size They Belong To