1834674 Members
2245 Online
110069 Solutions
New Discussion

PE's on a dead PV

 
Tim Rotunda
Frequent Advisor

PE's on a dead PV

I had a PV go out in a VG with 6 PV's. Is there anyway to see what PE's were on that PV?

Thanks for any help.
Tim
2 REPLIES 2
John Palmer
Honored Contributor

Re: PE's on a dead PV

Hi,

pvdisplay -v /dev/dsk/ may work.

If not then try lvdisplay -v /dev/vg??/lvol? for all the LV's in the VG.

Regards,
John
James R. Ferguson
Acclaimed Contributor

Re: PE's on a dead PV

Hi Tim:

# vgreduce -f

...will expose the missing extents. From the man pages for 'vgreduce':

"PVs which are missing will be candidates for removal. If all the physical extents on the missing PV are free then it will be removed from the volume group. Otherwise vgreduce will report the physical to logical extent mapping."

Regards!

...JRF...