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

相关文章
|
8月前
|
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
75 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 文件上传大小受到限制,报错!!
813 0
|
数据安全/隐私保护
Internal error XFS_WANT_CORRUPTED_GOTO at line 1635 of file fs/xfs/libxfs/xfs_alloc.c.
下面为解决问题中报的错误: Internal error XFS_WANT_CORRUPTED_GOTO at line 1635 of file fs/xfs/libxfs/xfs_alloc.c. Caller xfs_free_extent
473 0
Internal error XFS_WANT_CORRUPTED_GOTO at line 1635 of file fs/xfs/libxfs/xfs_alloc.c.
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
/******************************************************************************** * FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. * 说明: * 系统更新的时候遇到这个错误,记录一下处理步骤,其原因是我自己把其umount了 * 导致的问题。
6454 0

热门文章

最新文章