Linux lvm Expansion

Source: Internet
Author: User
Linux lvm expansion-general Linux technology-Linux technology and application information. For more information, see the following. The previously installed winxp + fedora8 dual system allocated 20 GB of hard disk space for linux, and now more than one GB is full, now, 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 does not expand after df.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.