配置LVM
1 为虚拟机新加一块disk,用fdisk把它分成lvm的分区。 {% highlight sh %} root@localhost:~# fdisk /dev/xvdb Command (m for help): m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m