<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 31, 2018 at 12:33 PM, Elad Ben Aharon <span dir="ltr"><<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>></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'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-<wbr>147709640d1a IU_3646e381-d237-4940-a02d-<wbr>90bb90b1d45a,MD_5,PU_00000000-<wbr>0000-0000-0000-000000000000<br></span></div></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 30, 2018 at 5:58 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></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"><<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>></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)"><spUUID> <sdUUID> <imgUUID></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 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'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-5491ea0c01b7 and f7b481c8-b744-43d4-9faa-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-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-5491ea0c01b7 9094cc5a-a05c-47e0-8ad9-0fef274ea97b IU__remove_me_eb553b69-fafb-40de-9892-66b9f2826fd3,MD_6,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> be0c72ca-2dbc-4e02-ab48-5491ea0c01b7 c1250065-e137-46da-9c11-38b095ff93a7 IU__remove_me_de47a038-28f9-4131-9650-042f73088c46,MD_7,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 014ce954-d645-43f6-823a-73112b80f5ae IU_72fb2b45-e1b3-4ea3-a95d-c19aa4b5aad4,MD_20,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 09bdad3f-eae1-4449-bb6e-3c3f85e690e9 IU_7e97309c-5aad-468c-81fc-e2179e4dea3a,MD_6,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 0afa6f2e-e4eb-481a-955c-4569e8eb737a IU_4721b70f-7146-490f-b351-c4fbff05f62e,MD_7,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 45e20ac8-f3c6-462b-a2c3-30f0c8262f84 IU_a50a9024-e951-4755-9a71-c47b93f99d58,MD_5,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 4d27c0e1-546b-48ba-80fb-95dcd87b5583 IU_3f949bfa-749b-4201-aa94-13bbad45132a,MD_17,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 6d23ec3e-79fb-47f0-85ff-08480476ea68 IU_8eb435f3-e8c1-4042-8180-e9f342b2e449,MD_9,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 75aacb1d-5ce5-4b72-b481-646abfa7a652 IU_190135c5-710d-4ca4-9e0c-cf19e7ca0f8b,MD_11,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 7f695bba-eba1-4ec2-ad24-3a0a5f03ea2d IU_2aef413b-b2d1-4a7c-8fbb-df81c93050ea,MD_19,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 8b48d5bb-a643-4c2b-9979-1a1be532ae71 IU_d258a707-0bb6-47d4-88b7-e0bf01b59f78,MD_16,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef 9094cc5a-a05c-47e0-8ad9-0fef274ea97b IU_eb553b69-fafb-40de-9892-66b9f2826fd3,MD_14,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef a1ebb202-458a-4c3a-8020-adbd432cdc75 IU_bc0de77d-796b-4c8d-94b3-0829110a542f,MD_12,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef a20bb16e-7c7c-4ed4-85c0-cbf297048a8e IU_6d8d41d5-2502-4392-8d4a-cca07581ec1e,MD_8,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef a2d5f043-55c2-4701-ac8c-ccb796a799d1 IU_c4cb42d2-c2ae-4336-8905-f743576869bc,MD_10,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef acb04c1e-488e-469f-9905-21540dfe4361 IU_48ca28fb-9c08-44ff-8599-7ba767a96b32,MD_13,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef c1250065-e137-46da-9c11-38b095ff93a7 IU_de47a038-28f9-4131-9650-042f73088c46,MD_15,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> c0097b1a-a387-4ffa-a62b-f9e6972197ef e26eac74-4445-4f3b-b2f5-ef048ae6d91b IU_fe80f8f0-17d7-43b5-beb6-68983d9fd66c,MD_4,PU_00000000-0000-0000-0000-000000000000 f7b481c8-b744-43d4-9faa-0e494a308490 45e20ac8-f3c6-462b-a2c3-30f0c8262f84 IU__remove_me_a50a9024-e951-4755-9a71-c47b93f99d58,MD_13,PU_00000000-0000-0000-0000-000000000000</div><div class="gmail_extra"> f7b481c8-b744-43d4-9faa-0e494a308490 4d27c0e1-546b-48ba-80fb-95dcd87b5583 IU__remove_me_3f949bfa-749b-4201-aa94-13bbad45132a,MD_16,PU_00000000-0000-0000-0000-000000000000</div><div class="gmail_extra"> f7b481c8-b744-43d4-9faa-0e494a308490 675d5f06-320a-4236-8d57-9ff7cc7eb200 IU_23f37083-2282-41df-a01f-3e79949a758e,MD_7,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> f7b481c8-b744-43d4-9faa-0e494a308490 6d23ec3e-79fb-47f0-85ff-08480476ea68 IU__remove_me_8eb435f3-e8c1-4042-8180-e9f342b2e449,MD_14,PU_00000000-0000-0000-0000-000000000000</div><div class="gmail_extra"> f7b481c8-b744-43d4-9faa-0e494a308490 823a79f2-b09a-4665-9dfa-8ccd2850225f IU_b71340d7-1e9e-45a4-a531-95963cb34b26,MD_6,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> f7b481c8-b744-43d4-9faa-0e494a308490 863062c3-b3b0-4494-ad2f-76a1c29c069a IU_c57ef2e7-f34a-4788-b354-8d77ff57fb22,MD_5,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra"> f7b481c8-b744-43d4-9faa-0e494a308490 a2d5f043-55c2-4701-ac8c-ccb796a799d1 IU__remove_me_c4cb42d2-c2ae-4336-8905-f743576869bc,MD_15,PU_00000000-0000-0000-0000-000000000000</div><div class="gmail_extra"> f7b481c8-b744-43d4-9faa-0e494a308490 e26eac74-4445-4f3b-b2f5-ef048ae6d91b IU__remove_me_fe80f8f0-17d7-43b5-beb6-68983d9fd66c,MD_12,PU_00000000-0000-0000-0000-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 "remove_me" 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><wbr 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"><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-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-f9e6972197ef 6d23ec3e-79fb-47f0-85ff-08480476ea68 IU_8eb435f3-e8c1-4042-8180-e9f342b2e449,MD_9,PU_00000000-0000-0000-0000-000000000000 </div><div class="gmail_extra">f7b481c8-b744-43d4-9faa-0e494a308490 6d23ec3e-79fb-47f0-85ff-08480476ea68 IU__remove_me_8eb435f3-e8c1-4042-8180-e9f342b2e449,MD_14,PU_00000000-0000-0000-0000-000000000000</div><div><br></div><div>Of course the one with "remove_me" 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-28d4582ba0e8 f7b481c8-b744-43d4-9faa-0e494a308490 ..... <br></div><div><br></div><div>Thanks again.</div><div>Gianluca</div><div><br></div></div></div></div></div>