系统相关
首页 > 系统相关> > linux 逻辑卷扩容

linux 逻辑卷扩容

作者:互联网

扩容

[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.

生效

[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.

扩容成功

image

标签:扩容,逻辑,blocks,thomas,dev,resize2fs,lv,linux,extents
来源: https://www.cnblogs.com/zhangxuechao/p/13466809.html