环境: 虚拟化环境,SUSE Linux Enterprise Server 11sp3,直接把虚拟磁盘从100G改成150G. 现有的LVM是100G,/home 的LV需要再加50G. 步骤: fdisk 先把多加的50G分成一个区,再把该区划成pv,把该pv加到vg里面,再扩LV,最后扩文件系统. LVM在线扩容" title="Linux LVM在线扩容"> Last login: Sat Mar 28 16:29:42 2015 from 10.31.29.
1:创建磁盘分区(注意红色命令部分) [root@hongyin-test- ~]# fdisk /dev/sda Welcome to fdisk (util-linux ). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): m Command action a toggle a