We help IT Professionals succeed at work.

How to tell if one Physical Volume member of LVM has failed without opening the case.

Jeff swicegood
I'm running a server with Ubuntu 14.04 and LVM set up. I have several physical drives set up as members of a Volume group and then a logical volume. Everything about LVM is set up properly, but lately I have noticed that some files are missing. Does LVM have a tool to test the PV's and tell you if one has failed? What's the easiest way?
Watch Question

In redhat there is an LVM partition manager.  You can find its options with:

lvm help

You can see your physical volumes with:

Jeff swicegoodTechnician


Ok. that reminded me of a utility, smartctl. The result of

smartctl -t short /dev/sdc is passed
smartctl -t short /dev/sdd is passed

Can I trust the SMART status?
Yes, That is what SMART (Self-Monitoring, Analysis, and Reporting Technology) is for.

LVM doesn't have tool to test about PV health but you can check the underline device with SMART.