To find the label of a partition, use following command with appropriate changes:
[root@server]# blkid -s LABEL /dev/
You will have to replace a “partition-name” with the actual partition for which you want to find out the label.
Example is given below:
========================================
[root@server]# blkid -s LABEL /dev/sda7
/dev/sda7: LABEL=”/backup”
========================================