<div dir="ltr">Just delete the image directory (remove_me_8eb435f3-e8c1-4042-<wbr>8180-e9f342b2e449) located under <span style="font-size:12.8px"> /rhev/data-center/%<wbr>spuuid%/%</span><span style="font-size:12.8px">sduuid%/images/</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">As for the LV, please try the following:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">dmsetup remove /dev/mapper/%device_name% --&gt; device name could be fetched by &#39;dmsetup table&#39;</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 2:00 PM, Gianluca Cecchi <span dir="ltr">&lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 31, 2018 at 12:33 PM, Elad Ben Aharon <span dir="ltr">&lt;<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">You can correlate according to /rhev/data-center/%spuuid%/%</span><span style="font-size:12.8px">sd<wbr>uuid%/images/</span><div><span style="font-size:12.8px">The image id you can take from:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"># </span><span style="color:rgb(0,0,0);font-family:monospace">lvs -o name,tags |less -S</span></div><span style="font-family:monospace"><br></span><div><font face="monospace">IU, under LV Tage, is the LV&#39;s image id, fir example:</font></div><div><font face="monospace"><br></font></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">  LV                               <wbr>    LV Tags                               <wbr>                              <wbr>                  </span><br> 13f5b7c1-ad93-41f3-96eb-14770<wbr>9640d1a IU_3646e381-d237-4940-a02d-90b<wbr>b90b1d45a,MD_5,PU_00000000-000<wbr>0-0000-0000-000000000000<br></span></div></div><div class="m_6266204328831086962gmail-HOEnZb"><div class="m_6266204328831086962gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 30, 2018 at 5:58 PM, Gianluca Cecchi <span dir="ltr">&lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Tue, Jan 30, 2018 at 4:51 PM, Elad Ben Aharon <span dir="ltr">&lt;<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Please try:</span></span></div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div>vdsClient -s 0 teardownImage </span></span><span style="font-family:monospace"><span style="color:rgb(0,0,0)">&lt;spUUID&gt; &lt;sdUUID&gt; &lt;imgUUID&gt;</span></span></div></blockquote><div><br></div><div><br></div></span><div>How do I map spUUID, sdUUID and imgUUID ? </div><div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div><div class="gmail_extra">OK, thanks.</div><div class="gmail_extra">In my case even after detaching and removing the original SD and putting <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">the target SD (now the only attached to the DC) into maintenance, </span>putting host into maintenance and rebooting the host, I still get these old LVs with flags ao (san visibility to the old source sd is still here... I&#39;m going to remove when cleaned up..).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Could it depend on the fact that there was another host in the DC that I put into maintenance and then powered off (because at the moment only one host was able to see the target SD where I moved all the disks)?</div><div class="gmail_extra">So a sort of retained lock?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Anyway after restarting this host and activating it with also 2 running VMS I have this kind of LV situation related to disks.</div><div class="gmail_extra">Note that I also included vg_name and you can see 3 VGs</div><div class="gmail_extra"><br></div><div class="gmail_extra">be0c72ca-2dbc-4e02-ab48-<wbr>5491ea0c01b7 and  f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 are two VGs on source old storage domains from where I moved disks<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef is VG on target new storage domain where I moved the disks<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">#  lvs -o vg_name,name,tags <br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">   be0c72ca-2dbc-4e02-ab48-<wbr>5491ea0c01b7 9094cc5a-a05c-47e0-8ad9-<wbr>0fef274ea97b IU__remove_me_eb553b69-fafb-<wbr>40de-9892-66b9f2826fd3,MD_6,<wbr>PU_00000000-0000-0000-0000-<wbr>000000000000 </div><div class="gmail_extra">  be0c72ca-2dbc-4e02-ab48-<wbr>5491ea0c01b7 c1250065-e137-46da-9c11-<wbr>38b095ff93a7 IU__remove_me_de47a038-28f9-<wbr>4131-9650-042f73088c46,MD_7,<wbr>PU_00000000-0000-0000-0000-<wbr>000000000000 </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 014ce954-d645-43f6-823a-<wbr>73112b80f5ae IU_72fb2b45-e1b3-4ea3-a95d-<wbr>c19aa4b5aad4,MD_20,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 09bdad3f-eae1-4449-bb6e-<wbr>3c3f85e690e9 IU_7e97309c-5aad-468c-81fc-<wbr>e2179e4dea3a,MD_6,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 0afa6f2e-e4eb-481a-955c-<wbr>4569e8eb737a IU_4721b70f-7146-490f-b351-<wbr>c4fbff05f62e,MD_7,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 45e20ac8-f3c6-462b-a2c3-<wbr>30f0c8262f84 IU_a50a9024-e951-4755-9a71-<wbr>c47b93f99d58,MD_5,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 4d27c0e1-546b-48ba-80fb-<wbr>95dcd87b5583 IU_3f949bfa-749b-4201-aa94-<wbr>13bbad45132a,MD_17,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 6d23ec3e-79fb-47f0-85ff-<wbr>08480476ea68 IU_8eb435f3-e8c1-4042-8180-<wbr>e9f342b2e449,MD_9,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 75aacb1d-5ce5-4b72-b481-<wbr>646abfa7a652 IU_190135c5-710d-4ca4-9e0c-<wbr>cf19e7ca0f8b,MD_11,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 7f695bba-eba1-4ec2-ad24-<wbr>3a0a5f03ea2d IU_2aef413b-b2d1-4a7c-8fbb-<wbr>df81c93050ea,MD_19,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 8b48d5bb-a643-4c2b-9979-<wbr>1a1be532ae71 IU_d258a707-0bb6-47d4-88b7-<wbr>e0bf01b59f78,MD_16,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 9094cc5a-a05c-47e0-8ad9-<wbr>0fef274ea97b IU_eb553b69-fafb-40de-9892-<wbr>66b9f2826fd3,MD_14,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef a1ebb202-458a-4c3a-8020-<wbr>adbd432cdc75 IU_bc0de77d-796b-4c8d-94b3-<wbr>0829110a542f,MD_12,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef a20bb16e-7c7c-4ed4-85c0-<wbr>cbf297048a8e IU_6d8d41d5-2502-4392-8d4a-<wbr>cca07581ec1e,MD_8,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef a2d5f043-55c2-4701-ac8c-<wbr>ccb796a799d1 IU_c4cb42d2-c2ae-4336-8905-<wbr>f743576869bc,MD_10,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef acb04c1e-488e-469f-9905-<wbr>21540dfe4361 IU_48ca28fb-9c08-44ff-8599-<wbr>7ba767a96b32,MD_13,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef c1250065-e137-46da-9c11-<wbr>38b095ff93a7 IU_de47a038-28f9-4131-9650-<wbr>042f73088c46,MD_15,PU_<wbr>00000000-0000-0000-0000-<wbr>000000000000           </div><div class="gmail_extra">  c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef e26eac74-4445-4f3b-b2f5-<wbr>ef048ae6d91b IU_fe80f8f0-17d7-43b5-beb6-<wbr>68983d9fd66c,MD_4,PU_00000000-<wbr>0000-0000-0000-000000000000       f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 45e20ac8-f3c6-462b-a2c3-<wbr>30f0c8262f84 IU__remove_me_a50a9024-e951-<wbr>4755-9a71-c47b93f99d58,MD_13,<wbr>PU_00000000-0000-0000-0000-<wbr>000000000000</div><div class="gmail_extra">  f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 4d27c0e1-546b-48ba-80fb-<wbr>95dcd87b5583 IU__remove_me_3f949bfa-749b-<wbr>4201-aa94-13bbad45132a,MD_16,<wbr>PU_00000000-0000-0000-0000-<wbr>000000000000</div><div class="gmail_extra">  f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 675d5f06-320a-4236-8d57-<wbr>9ff7cc7eb200 IU_23f37083-2282-41df-a01f-<wbr>3e79949a758e,MD_7,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">  f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 6d23ec3e-79fb-47f0-85ff-<wbr>08480476ea68 IU__remove_me_8eb435f3-e8c1-<wbr>4042-8180-e9f342b2e449,MD_14,<wbr>PU_00000000-0000-0000-0000-<wbr>000000000000</div><div class="gmail_extra">  f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 823a79f2-b09a-4665-9dfa-<wbr>8ccd2850225f IU_b71340d7-1e9e-45a4-a531-<wbr>95963cb34b26,MD_6,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">  f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 863062c3-b3b0-4494-ad2f-<wbr>76a1c29c069a IU_c57ef2e7-f34a-4788-b354-<wbr>8d77ff57fb22,MD_5,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">  f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 a2d5f043-55c2-4701-ac8c-<wbr>ccb796a799d1 IU__remove_me_c4cb42d2-c2ae-<wbr>4336-8905-f743576869bc,MD_15,<wbr>PU_00000000-0000-0000-0000-<wbr>000000000000</div><div class="gmail_extra">  f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 e26eac74-4445-4f3b-b2f5-<wbr>ef048ae6d91b IU__remove_me_fe80f8f0-17d7-<wbr>43b5-beb6-68983d9fd66c,MD_12,<wbr>PU_00000000-0000-0000-0000-<wbr>000000000000</div><div><br></div><div class="gmail_extra"><div class="gmail_extra"><br></div><div class="gmail_extra">So there are on the two old VGs some &quot;remove_me&quot; tagged LVs... that I think corresponds to the erorrs I got during move disk operations</div><div class="gmail_extra"><br></div><div class="gmail_extra">And if I take as reference the <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">6d23ec3e-79fb-</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">47f0-85ff-<wbr>08480476ea68 related LV<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">,</span> I get these two entries</span></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">c0097b1a-a387-4ffa-a62b-<wbr>f9e6972197ef 6d23ec3e-79fb-47f0-85ff-<wbr>08480476ea68 IU_8eb435f3-e8c1-4042-8180-<wbr>e9f342b2e449,MD_9,PU_00000000-<wbr>0000-0000-0000-000000000000            </div><div class="gmail_extra">f7b481c8-b744-43d4-9faa-<wbr>0e494a308490 6d23ec3e-79fb-47f0-85ff-<wbr>08480476ea68 IU__remove_me_8eb435f3-e8c1-<wbr>4042-8180-e9f342b2e449,MD_14,<wbr>PU_00000000-0000-0000-0000-<wbr>000000000000</div><div><br></div><div>Of course the one with &quot;remove_me&quot; inside tag is what I have to remove... because it is on old source SD that now has been detached/removed.<br></div><div><br></div><div>what should it be the imgUUID value to give to vdsClient? Do I have to include IU prefix or what?</div><div><br></div><div>The first part of the command should be </div><div><br></div><div>vdsClient -s 0 teardownImage 55c7e1ee-7246-4574-ba46-<wbr>28d4582ba0e8 f7b481c8-b744-43d4-9faa-<wbr>0e494a308490  ..... <br></div><div><br></div><div>Thanks again.</div><span class="HOEnZb"><font color="#888888"><div>Gianluca</div><div><br></div></font></span></div></div></div></div>
</blockquote></div><br></div>