<div class="gmail_quote">On Thu, Feb 23, 2012 at 8:05 PM, Digimer <span dir="ltr"><<a href="mailto:linux@alteeve.com">linux@alteeve.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 02/23/2012 08:53 PM, Terry wrote:<br>
> We had a disk loss where we lost 4 clustered volumes.  Any commands I<br>
> run give me errors similar to:<br>
> /dev/vg_data01h/lv_data01h: read failed after 0 of 4096 at<br>
> 6597069701120: Input/output erro<br>
><br>
> How do I just clean all of the broken pv's, lv's, and vg's out and start<br>
> fresh?  I have tried removing and it reports reports not found.<br>
><br>
> Thanks!<br>
<br>
</div></div>I make no claim to expertise, but I *think* you want:<br>
<br>
dmsetup remove /dev/vg_data01h/lv_data01h<br>
<br>
I use this for cleaning up VG/LVs when I kick out a USB based PV by<br>
accident.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Digimer<br>
E-Mail:              <a href="mailto:digimer@alteeve.com">digimer@alteeve.com</a><br>
Papers and Projects: <a href="https://alteeve.com" target="_blank">https://alteeve.com</a><br>
</font></span></blockquote></div><br><div><br></div><div>Thanks for this.  It cleaned them up fine and I was able to move forward with that one.  However, I am trying to recreate the PVs and pvdisplay is giving me these errors which has me concerned:</div>
<div><br></div><div><div>  Found duplicate PV e32c4FWG0wWpikEDk1O76SfLQ1n1NQoR: using /dev/sdag not /dev/sdq</div><div>  Found duplicate PV e32c4FWG0wWpikEDk1O76SfLQ1n1NQoR: using /dev/mapper/eql-0-8a0906-18a0eb801-d0f000000054e679-omadvnfs01-data01d not /dev/mapper/eql-0-8a0906-b560eb801-857006ad19b4f46a-omadvnfs01-data01c</div>
<div>  Found duplicate PV 0XsTBwrfBBEHJRuS1QoslkwKN0JJ9sBx: using /dev/sdc not /dev/sdb</div><div>  Found duplicate PV IprT4Sf1idGpLXJErPpzwywUpNRScX8H: using /dev/mapper/eql-0-8a0906-ef991aa01-5984c8d590748372-omadvnfs01-data01ap1 not /dev/mapper/eql-0-8a0906-ac70eb801-541006ad1984f46a-omadvnfs01-data01bp1</div>
</div><div><br></div><div>The last two volumes are data01b and data01c which are referenced in these errors.  </div>