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

简介:

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


[root@docker1 ~]# 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

   

[root@docker1 ~]# lvextend -L 17G /dev/mapper/cl-root

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

   

[root@docker1 ~]# lvextend -L 16G /dev/mapper/cl-root

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


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

[root@docker1 ~]# 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.




本文转自 Mr_sheng 51CTO博客,原文链接:http://blog.51cto.com/sf1314/2062126
相关文章
|
存储 运维 Linux
【MinIO异常】Storage reached its minimum free drive threshold 的解决方案
【MinIO异常】Storage reached its minimum free drive threshold 的解决方案
549 0
|
Java 应用服务中间件
【异常】The field file exceeds its maximum permitted size of 1048576 bytes.
【异常】The field file exceeds its maximum permitted size of 1048576 bytes.
170 0
|
7月前
|
Docker 容器
devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free dat
devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free dat
53 0
|
Java Spring
The field file exceeds its maximum permitted size of 1048576 bytes 文件上传大小受到限制,报错!!
The field file exceeds its maximum permitted size of 1048576 bytes 文件上传大小受到限制,报错!!
777 0
|
Java 应用服务中间件
The field file exceeds its maximum permitted size of 1048576 bytes.
The field file exceeds its maximum permitted size of 1048576 bytes.
|
前端开发 Java 关系型数据库
记录:The field files exceeds its maximum permitted size of 1048576 bytes...【亲测有效】
记录:The field files exceeds its maximum permitted size of 1048576 bytes...【亲测有效】
1144 0
|
Linux
Linux Buffer I/O error on device dm-4, logical block
Linux服务器日志(Oracle Linux Server release 5.7)里面出现了一些"Buffer I/O error on device dm-4, logical block 0"之类的错误,如下所示: Jul 3 02:33:24 localhost kernel: Buf...
7682 0