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.

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 学习(十六)


下一篇:vim详解