Linux   发布时间:2022-03-31  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了linux 逻辑卷扩容大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

扩容 [root@localhost lohr]# lvextend -L ʲG /dev/thomas/thomas-lv Size of logical volume thomas/thomas

扩容

[root@localhost lohr]# lvextend -L +2G /dev/thomas/thomas-lv 
  Size of logical volume thomas/thomas-lv changed from 1.00 GiB (256 extents) to 3.00 GiB (768 extents).
  Logical volume thomas/thomas-lv successfully resized.

ext4文件系统生效

[root@localhost lohr]# resize2fs /dev/thomas/thomas-lv 
resize2fs 1.42.9 (28-Dec-2013)
Filesystem at /dev/thomas/thomas-lv is mounted on /mnt/thomas-lv; on-line resizing required
old_desc_blocks = 1,new_desc_blocks = 1
The filesystem on /dev/thomas/thomas-lv is Now 786432 blocks long.

xfs文件系统生效

[root@localhost lohr]# xfs_growfs /dev/thomas/thomas-lv 

扩容成功

linux 逻辑卷扩容

大佬总结

以上是大佬教程为你收集整理的linux 逻辑卷扩容全部内容,希望文章能够帮你解决linux 逻辑卷扩容所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: