Centos6.5 under VM disk capacity

Edit the settings, modify the hard disk size
[Root@localhost ~]# # review your disk partitions
/SDA:59.1 GB, 59055800320 bytes # existing disk capacity
255 heads, 63 sectors/track, 7179 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000efc13
Device Boot Start End Blocks Id System # existing disk allocations
/Dev/sda1 * 1 64 512000 83 Linux # main partition
Partition 1 does not end on cylinder boundary.
/Dev/sda2 64 1045 7875584 8e Linux LVM # expand partition
/Dev/sda3 1045 6527 44039519+ 8e Linux LVM # expand partition
Disk /dev/mapper/VolGroup-lv_root: 51.2 GB, 51229229056 bytes
255 heads, 63 sectors/track, 6228 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/VolGroup-lv_swap: 855 MB, 855638016 bytes
255 heads, 63 sectors/track, 104 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Close VMWARE Linux systems, set after the original hard drive boot.
# Add a new partition in the capacity load on new capacity
[root@localhost ~]# fdisk /dev/sda
WARNING: DOS-compatible mode is deprecated. It’s strongly recommended to
switch off the mode (command ‘c’) and change display units to
sectors (command ‘u’).
Command (m for help):
Type n, press ENTER. Added a new section
Command (m for help): n
Command action
e extended
p primary partition (1-4)
Input p and enter to select a primary partition
Enter 4, enter 4 Select partition, because the above query to the sda1,sda2,sda3 has been used
Enter the 8e, enter changes to LVM
Enter w, enter to save the settings, and then restart the computer
Boot after format the new partition
[root@localhost ~]#
# Implementation capacity
[Root@localhost ~]# LVM # LVM mode
LVM>/sda3 this is to initialize the partitions, you must
LVM> initialized partition into a virtual volume group vg_dc01
LVM> +29./vg_dc01/lv_root extend the capacity volume (explained later in many 29.9G)
LVM>pvdisplay view volume capacity, then you will see a large volume
LVM>quit exit
[root@localhost ~]# resize2fs /dev/mapper/VolGroup-lv_root
Then enter the check drive capacity