Linux - How to find physicaldisk of volumegroup, LVM find physical disk of a filesystem

How to find physicaldisk of volumegroup

Sometimes we will be in a situation to find which physical disk are used by a filesystem? Now a days servers are configured with lvm by default. you can use below command to find the physical disks used by a filesytem.

 # lvs -o +devices /dev/mapper/VG_Name

 # lvs -o +devices /dev/mapper/VG_techbluff

OUTPUT:
LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert Devices
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathak(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathao(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpatham(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathan(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathap(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathar(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathaq(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathas(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathat(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathaw(0)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathk(512)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathai(512)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathal(512)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathaj(512)
lvtechbluff VG_techbluff -wi-ao---- 2.31t /dev/mapper/mpathbf(0)

The topic on Linux - How to find physicaldisk of volumegroup is posted by - Math

Hope you have enjoyed, Linux - How to find physicaldisk of volumegroupThanks for your time

Tech Bluff