We occasionally get errors in /var/log/messages like:
Buffer I/O error on device dm-17, logical block 6045

I am trying to find the command(s) I can script to translate "dm-17" back to a file system name.

I have looked at df, lvdisplay, etc and do not see anything that helps.

Can someone point me in the correct direction of where/what to look at?

TIA,
Scott