linux 逻辑卷扩容
发布时间:2020-12-13 22:32:05 所属栏目: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]# 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
扩容成功 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |