$ sudo sfdisk -l /dev/vda
To display Total Partition Size
$ sudo sfdisk -s
To display Partition size of specific partition
$ sudo sfdisk -s /dev/vda
To dump disk partition details to text file
$ sudo sfdisk -d /dev/vda > vda.out
To display Disk Geometry for Debugging
$ sudo sfdisk -G
To display the kernel’s idea of the geometry of the device
$ sudo sfdisk -g
To display All Disk Partition types
$ sudo sfdisk -T
To display the partition type of a specific partition
$ sudo sfdisk --print-id /dev/vda 1
regards,
T.Dhanasekar