linux centos7 分区扩容 命令 系统盘 【别人机子上的脚本,自己未测试】


CHANGED: partition=1 start=2048 old: size=3772416 end=3774464 new: size=23066591 end=23068639

resize2fs 1.42.9 (28-Dec-2013)
Filesystem at /dev/vda1 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 2
The filesystem on /dev/vda1 is now 2883323 blocks long.

Partition successfully extended.
If not working, please execute growpart /dev/vda 1 && resize2fs /dev/vda1 manually.

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享