Logical Volume Manager (logical Volume management)

Source: Internet
Author: User

Logical Volume Manager (Logical Volume management )

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img0.ph.126.net/69EfOoVyHtdrXOo5E_ 7zcg==/6631235990978818632.jpg "/>

Pv

Phiscal Volume Physical Volume

Pe

: phiscal Extent Physical Block

Increased data, limited size of physical volumes, poor scalability

Pv:py

Create steps

: Partition –--formatted as Linux LVM format-----Create PV------Add VG------Divide PE-----composed LV

1:

FDISK/DEV/SDA Create new partition to LVM format

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img0.ph.126.net/ Mrktoa4zeux6wx30vyurng==/6630657647863942203.jpg "/>650) this.width=650;" Title= "LVM Logical Volume Management-zqiushi@yeah- Zqiushi@yeah "src=" Http://img2.ph.126.net/1fA43LT1amIj0v3FClovQw==/6630924829189506764.jpg "/>

2. Create PV, Pvcreate/devce

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img0.ph.126.net/ Fcndka6zfrl0z-938zioxq==/6630924829189506765.jpg "/>3650) this.width=650;" Title= "LVM Logical Volume Management-zqiushi@yeah- Zqiushi@yeah "src=" Http://img2.ph.126.net/3SLSvWLJy9Jfx2dQqLOHeQ==/6631447097211362954.jpg "/>

3. Create VG

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img0.ph.126.net/ Lsz37oahpnebzdn-thhvdq==/6631369031885773122.jpg "/>

4 Creating the LV

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img0.ph.126.net/ Avr40ahzczxr7pytbwhe4g==/6630555393281896644.jpg "/>

5.lv generated Files Myvg-mylv

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img1.ph.126.net/ Oqachcfuhixpi41qbwplhg==/6631222796839280845.jpg "/>

6. Format the LV and mount

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img0.ph.126.net/ Bksk12312eubt4cjwlrjfw==/6630773096584858476.jpg "/>

Two: extended VG

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img2.ph.126.net/0VSc_xm5nZ-WM5Jb_ Ms-ua==/6631217299281141272.jpg "/>

reduce VG: move a disk out of a volume group

Reduce the file system first----reduce the LV----pvmove650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src="/http Img0.ph.126.net/jdrzui9ndphgqjuxtjjpkg==/6631334947025314374.jpg "/>

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img1.ph.126.net/ Gsfu-esxyimjxe78dm4rsq==/6631231592932303009.jpg "/>

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img2.ph.126.net/ Ez7rurtgrtdzavehqxe1gg==/6630866555073220979.jpg "/>

Three: Extended LV

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img1.ph.126.net/ Zt8v6etw9blk9lr2mhpefg==/6630914933584841338.jpg "/>650) this.width=650;" Title= "LVM Logical Volume Management-zqiushi@yeah- Zqiushi@yeah "src=" http://img0.ph.126.net/FtyCgo7mYiBA9dyDXCtjVA==/6630601572770911083.jpg "/>650) this.width= 650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img2.ph.126.net/jiMH0bHA0yTbArNsnnCb_g==/ 6630873152142987611.jpg "/>

Note : df–lh View size remains unchanged after re-mount 650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src="/HTTP/ Img1.ph.126.net/8uzebqhq0aiq-jozp2qvha==/6630914933584841341.jpg "/>

Need to execute the following command: 650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img1.ph.126.net/arpi_- Zhjjbm_stnjj_mfq==/6631204105141608694.jpg "/>

Normal size

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img2.ph.126.net/ K0cvtoacgt03dv0hj7gplq==/6630334391444717291.jpg "/>

Four: Reduce LV

The steps are as follows: Umount; file system forced detection; narrow logical boundaries;

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" Http://img0.ph.126.net/JKs_ Kajxe00ezux5craddg==/6631361335304381343.jpg "/>

Note: This prompt is to be detected

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img2.ph.126.net/TSM_gpjJIuMxHuSZr7Gl _q==/6630603771794166647.jpg "/>

Reduced success

650) this.width=650; "Title=" LVM Logical Volume Management-Zqiushi@yeah-zqiushi@yeah "src=" http://img2.ph.126.net/ Qomskf-fqzrki69u7caqha==/6631369031885773133.jpg "/>650) this.width=650;" Title= "LVM Logical Volume Management-zqiushi@yeah- Zqiushi@yeah "src=" Http://img2.ph.126.net/g1Cz9Bc9-yoTcFqpFhgzhw==/6630287112444719381.jpg "/>



Logical Volume Manager (logical Volume management)

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.