Linux LVM creation and expansion and reduction

Source: Internet
Author: User


LVM logical Volumes

  1. LVM Logical Volume mechanism

    An LVM logical Volume (Logical volumes manager) is a logical division of multiple partitions or physical hard disks from which different logical partitions are divided, and logical partitions can be scaled up and down as needed

    The entire creation of the logical partitioning process was created in turn PV, VG, LV;

    PV is a partition or physical hard disk, and PE as the basic unit composition;

    VG a whole of one or more PV components

    LV is the partition from the VG volume group, which can be formatted to set up a file system;

  2. LVM Creation and Management

    Because Linux supports LVM mechanism, it is inseparable from the creation and management of LVM, LVM management tools include PV, VG, LV, scan, create, delete, expand, display, reduce, and PE size settings;

    <TD style= "pad

    function

    PV

    vg

    lv

    Span style= "font-family: ' The song Body '; Font-size:10pt;background-color: #FFFFFF;" > scan

    pvscan

    vgscan

    lvscan

    Span style= "font-family: ' The song Body '; Font-size:10pt;background-color: #FFFFFF;" > create

    pvcreate

    vgcreate

    lvcreate

    Span style= "font-family: ' The song Body '; Font-size:10pt;background-color: #FFFFFF;" > display

    pvdisplay

    vgdisplay

    lvdisplay

    Span style= "font-family: ' The song Body '; Font-size:10pt;background-color: #FFFFFF;" > delete

    pvremove

    vgremove

    lvremove

    Span style= "font-family: ' The song Body '; Font-size:10pt;background-color: #FFFFFF;" > extended

    --

    vgextend

    lvextend

    Reduce

    --

    Vgreduce

This article is from the "Woonlinux" blog, make sure to keep this source http://woonlii.blog.51cto.com/9869103/1613280

Linux LVM creation and expansion and reduction

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.