WMware, partition resize with LVM

If you need to resize an LVM partition on a virtual server.
And there are no partitions created, so no partition visible via fdisk
Disk /dev/sdb: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 by

Rescan disk
echo '1' > /sys/class/scsi_disk/2\:0\:0\:0/device/rescan

pvcreate /dev/sdb

vgextend vg0 /dev/sdb

Check if suceeded

Next extend desired logical group
lvextend -l +100%FREE /dev/volgroup/logvol

And resize file system on disk (this command if ext file system is used)
resize2fs /dev/volgroup/logvol