在ubuntu guest虚拟机vmware中增加磁盘大小的问题

遵循链接

我正在尝试增加分配给vmware中的ubuntu guest的磁盘的大小,这些都是我已经完成的事情

Increased max setting in vmware settings - Done Partition the new disk space - Done fdisk /dev/sda created primary partion changed system type of partition 4 to 8e (Linux LVM) scaning root@ubuntu:~# partprobe -s /dev/sda: msdos partitions 1 3 2 <5> 4 

3.增加逻辑卷

root @ ubuntu:〜#pvcreate / dev / sda4

物理卷“/ dev / sda4”已成功创build

这是主要问题

 root@ubuntu:~# vgdisplay No volume groups found expected :- root@ubuntu:~# vgdisplay --- Volume group --- VG Name ubuntu xxxxx xxxxxx 

也试过pvdisplay它没有给vg名称,但为什么?????

 root@ubuntu:~# pvdisplay "/dev/sda4" is a new physical volume of "14.00 GiB" --- NEW Physical volume --- PV Name /dev/sda4 VG Name PV Size 14.00 GiB Allocatable NO PE Size 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID syysU7-5XI0-swB9-aOPJ-ur2c-R0Ys-OnPWYf root@ubuntu:~# fdisk -l Disk /dev/sda: 36.5 GB, 36507222016 bytes 255 heads, 63 sectors/track, 4438 cylinders, total 71303168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000d1d96 Device Boot Start End Blocks Id System /dev/sda1 * 2048 35127295 17562624 83 Linux /dev/sda2 35129342 41940991 3405825 5 Extended /dev/sda3 35127296 35129341 1023 8e Linux LVM /dev/sda4 41940992 71303167 14681088 8e Linux LVM /dev/sda5 35129344 41940991 3405824 82 Linux swap / Solaris 

任何想法为什么它显示“找不到卷组”