'Azure after shrinking disk - Not able to mount

I am trying to shrink a data disk (512 -> 256 GB) attached to same Linux VM (Centos) in Azure . I followed the link https://github.com/jrudlin/Azure/blob/master/General/Shrink-AzDisk.ps1 to do shrinking. I am able to create new shrunk disk (sde) and attach it to the same VM. lsblk output

I tried to mount in a different path and i get the below error mount error

When i run pvs command, i get the below output. pvs output

I ran lvmdiskscan and got the below output lvmdisckscan

I tried to run pvcreate and got the below error. error

I want to understand is it possible to mount new disk.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source