The virtual machine Linux extended hard drive has been added and added to the original hard drive, and the two implementations are similar.
Fdisk-l after the display as:/dev/sdb for the newly added hard disk;
FDISK/DEV/SDA add a new partition press N, then press p, enter two times, then press W, save the fdisk-l can see the new partition, this time to restart
After restarting, the SDA is generated PV pvcreate/dev/sda4, and then add PV to the VG Vgextend VG_THSGGQQSYHQTE/DEV/SDA4, the logical volume partition VG (LogVol00) increased 21G lvextend-l + 21g/dev/vg_thsggqqsyhqte/logvol02
Adjust ext2-4 size: resize2fs-p/dev/vg_thsggqqsyhqte/logvol02
Pvdisplay,vgdisplay,lvdisplay can see the relevant situation.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4C/7D/wKioL1Q-WWTjerCnAAENJ5DLNBw845.gif "title=" Pv-vg-lv.gif "alt=" Wkiol1q-wwtjercnaaenj5dlnbw845.gif "/>
This article is from the IT technology blog, so be sure to keep this source http://lysweb.blog.51cto.com/3468677/1564534
Virtual Machine Linux Expander command operation