Article Title: instance parsing: How to expand LVM in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source systems, and other basic categories of the previously installed winxp + fedora8 dual systems. At that time, linux was allocated 20 GB of hard disk space, now there is more than one GB left, and a partition/dev/sda6 (30 GB space) in windows is allocated to linux LVM. The specific operations are as follows:
1. use fdisk/dev/sda to partition. after entering the partition page, press p to view the partition. Remember to enter the Partition Number of the original windows disk, enter t to convert the partition type, and enter Partition Number 6; input 8e to convert to linux lvm partition; input w to save and exit.
2. pvcreate/dev/sda6
3. vgextend VolGroup00/dev/sda6
4. lvextend-L + 10G/dev/VolGroup/LogGroup02
5. e2fsck-f/dev/VolGroup/LogGroup02
6. resize2fs/dev/VolGroup/LogGroup02
This is fine. Step 1 is to make the Extended Space take effect, or you will find that the disk space after df is not expanded.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service