Linux – How to map iostat device names to LVM /dev/mapper/XXX names

iostatlinuxlvmmount

mount shows mount devices like:

/dev/mapper/VolGroup01-LogVol00 on /var type ext3 (rw)

or

/dev/mapper/VolGrp_backups-backups on /mnt/backups type ext3 (rw)

but

iostat uses dm- notation. like dm-0, dm-1 and so on.

Where can I find a way to know which is which?

Best Answer

ls -l /dev/mapper/*, the device minor number (field 6 of what ls -l outputs) corresponds to the number in dm-\d+.