Linux – How to mount Physical Volumes separately which are bound using LVM

centoslinuxlvm

I have a VG (volume group) containing 3 PVs (Physical Volumes). Some physical fault has come up in one of the PVs (maybe?).
At the attempt of mounting each PV separately, it gives mount: unknown filesystem type 'LVM2_member' error.

I need to check which PV is failing. Any way to do that?
Is there any way I can separately mount the PVs to check the faulty one or is there any other solution/work-around to my problem? Thank You!

Best Answer

Hello I am new to this site so please be patient. My experience in this situation has been that I am better off to dd (dd if=/dev/oldDish of=/dev/newDisk) the PVs to new disks & replace the old ones. I don't generally spend to much time trying to find which disk is failing, simply because I can't risk the lose of data associated with a LVM failure. To your questions:

I need to check which PV is failing. Any way to do that?

If you are using SATA Disks then smartctl -l error /dev/pv will give you the answer.

Is there any way I can separately mount the PVs to check the faulty one or is there any other solution/work-around to my problem?

This has already been answered above. No. The PVs are part of the LVM & can only be viewed as separated hardware (with smartctl) or as a complete LVM.

Hope my answer has been help full.