<p dir="ltr">All the disks in the /rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/ are deleted snapshots that were not removed. The disk no contain snapshot. In /rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/ it must have just one disk after the merge.</p>
<p dir="ltr">Right? </p>
<div class="gmail_quote">Em 14/03/2016 12:41, "Marcelo Leandro" <<a href="mailto:marceloltmm@gmail.com">marceloltmm@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><b><span style="font-size:13px">Are you talking about /dev/vgname/lvname link or the links under<br></span><span style="font-size:13px">/run/vdsm/storage/domain/</span><span style="font-size:13px">image/volume,</span><br style="font-size:13px"><span style="font-size:13px">or /rhev/data-center/pull/domain/</span><span style="font-size:13px">image/volume?</span></b><br><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">in </span><span style="font-size:13px"> /rhev/data-center/pull/domain/</span><span style="font-size:13px">image/volume</span></div></div><div><br></div><div><span style="font-size:13px"><br></span></div><div><b><span style="font-size:13px">/dev/vgname/lvname is created by udev rules when lv is activated or deactivated.</span><br style="font-size:13px"><span style="font-size:13px">To understand if this is the issue, can you show the output of:</span></b><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px"><b>pvscan --cache</b></span></div><div><b>return:</b></div><div><div>[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# pvscan --cache</div><div>[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]#</div><div><br></div><div><br></div><b>lvs vgname</b></div><div><b>return:</b></div><div><div> 06d35bed-445f-453b-a1b5-cf1a26e21d57 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 19.00g</div><div> 0bad7a90-e6d5-4f80-9e77-276092989ec3 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 1.00g</div><div> 12e1c2eb-2e4e-4714-8358-0a8f1bf44b2f c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 502.00g</div><div> 191eb95f-2604-406b-ad90-1387cd4df7aa c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 10.00g</div><div> 235da77a-8713-4bdf-bb3b-4c6478b0ffe2 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 1.68t</div><div> 289b1789-e65a-4725-95fe-7b1a59208b45 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 15.00g</div><div> 2d1cd019-f547-47c9-b360-0247f5283563 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 14.00g</div><div> 2e59f7f2-9e30-460e-836a-5e0d3d625059 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 27.50g</div><div> 2ff7d36e-2ff9-466a-ad26-c1c67ba34dc6 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 21.00g</div><div> 3d01ae03-ee4e-4fc2-aedd-6fc757f84f22 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 202.00g</div><div> 4626025f-53ab-487a-9f95-35ae65393f03 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 6.00g</div><div> 5dbb5762-6828-4c95-9cd1-d05896758af7 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 100.00g</div><div> 5e1461fc-c609-479d-9627-e88936fb15ed c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 11.00g</div><div> 64800fa4-85c2-4567-9605-6dc8ed5fec52 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 39.00g</div><div> 661293e4-26ef-4c2c-903b-442a2b7fb5c6 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 13.00g</div><div> 79e4e84b-370a-4d6d-9683-197dabb591c2 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 5.12g</div><div> 7a3a6929-973e-4eec-bef0-1b99101e850d c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 20.00g</div><div> 7a79ae4f-4a47-4ce2-8570-95efc7774f7b c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 80.00g</div><div> 828d4c13-62c5-4d23-b0cc-e4ec88928c1f c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 128.00m</div><div> 871874e8-0d89-4f13-962a-3d8175194130 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 54.00g</div><div> a0a9aac2-d387-4148-a8a0-a906cfc1b513 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 240.00g</div><div> aa397814-43d4-42f7-9151-fd6d9f6d0b7f c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 22.00g</div><div> b3433da9-e6b5-4ab4-9aed-47a698079a62 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 55.00g</div><div> b47f58e0-d576-49be-b8aa-f30581a0373a c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 124.00g</div><div> b5174aaa-b4ed-48e2-ab60-4bd51edde175 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 4.00g</div><div> b8027a73-2d37-4df6-a2ac-4782859b749f c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 128.00m</div><div> b86ed4a4-c922-4567-98b4-bace49d258f6 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 13.00g</div><div> ba8a3a28-1dd5-4072-bcd1-f8155fade47a c2dc0101-748e-4a7b-9913-47993eaa52bd -wi------- 21.00g</div><div> bb1bb92b-a8a7-486a-b171-18317e5d8095 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 534.00g</div><div> c7b5ca51-7ec5-467c-95c6-64bda2cb1fa7 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 13.00g</div><div> e88dfa8a-a9dc-4843-8c46-cc57ad700a04 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 4.00g</div><div> f2ca34b7-c2b5-4072-b539-d1ee91282652 c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 137.00g</div><div> ids c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-ao---- 128.00m</div><div> inbox c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a----- 128.00m</div><div> leases c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a----- 2.00g</div><div> master c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a----- 1.00g</div><div> metadata c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a----- 512.00m</div><div> outbox c2dc0101-748e-4a7b-9913-47993eaa52bd -wi-a----- 128.00m</div><span style="font-size:13px"><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px"><br></span></div><b>ls -l /dev/vgname</b></span><b><br style="font-size:13px"></b></div><span style="font-size:13px"><div><span style="font-size:13px"><b>return:</b></span></div><div><div>[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# ls -l /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/</div><div>total 0</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 13:18 0569a2e0-275b-4702-8500-dff732fea13c -> ../dm-68</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 23:00 06d35bed-445f-453b-a1b5-cf1a26e21d57 -> ../dm-39</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 23:00 0ab62c79-0dc1-43ef-9043-1f209e988bd9 -> ../dm-66</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 15:22 0bad7a90-e6d5-4f80-9e77-276092989ec3 -> ../dm-86</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 15:16 1196d06c-d3ea-40ee-841a-a3de379b09f9 -> ../dm-85</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 22:33 12e1c2eb-2e4e-4714-8358-0a8f1bf44b2f -> ../dm-32</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 22:33 18b1b7e1-0f76-4e1b-aea1-c4b737dad26d -> ../dm-64</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 01:20 191eb95f-2604-406b-ad90-1387cd4df7aa -> ../dm-40</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 22:33 3cf87634-ac94-42a9-ac8e-fde0acf867d8 -> ../dm-63</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 01:17 4626025f-53ab-487a-9f95-35ae65393f03 -> ../dm-33</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 14:28 48e81eda-fa1e-4788-95a5-7d99974d4b3f -> ../dm-78</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 01:20 5dbb5762-6828-4c95-9cd1-d05896758af7 -> ../dm-41</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 01:18 5e1461fc-c609-479d-9627-e88936fb15ed -> ../dm-36</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 13:40 5f484058-1fa7-496e-8525-4ad52e5c0c9c -> ../dm-73</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 14:33 61e3c3de-55d1-42e8-8098-eccef7319cac -> ../dm-81</div><div>lrwxrwxrwx. 1 root root 8 Mar 9 01:17 64800fa4-85c2-4567-9605-6dc8ed5fec52 -> ../dm-46</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 13:26 77204a10-1ce3-442a-9571-3a6a19649224 -> ../dm-69</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 12:26 79e4e84b-370a-4d6d-9683-197dabb591c2 -> ../dm-58</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 22:53 7a3a6929-973e-4eec-bef0-1b99101e850d -> ../dm-37</div><div>lrwxrwxrwx. 1 root root 8 Feb 16 01:21 7f8bb099-9a18-4e89-bf48-57e56e5770d2 -> ../dm-25</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 22:33 8ab6040f-3605-44fe-aee6-a74e03c44ecb -> ../dm-27</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 13:55 8b14431f-52b5-42ba-977a-ec8401f7ddea -> ../dm-75</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 14:42 9367bcda-d1aa-40f7-b7ec-d7d2028bc4e6 -> ../dm-84</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 13:33 9faf4687-48e7-48fa-9aad-50ed89ee1f8a -> ../dm-72</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 13:48 a9f65abe-4514-4873-aca7-3e2a04bd4448 -> ../dm-74</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 01:21 aa397814-43d4-42f7-9151-fd6d9f6d0b7f -> ../dm-43</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 13:48 b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf -> ../dm-26</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 15:23 b3433da9-e6b5-4ab4-9aed-47a698079a62 -> ../dm-44</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 01:20 b86ed4a4-c922-4567-98b4-bace49d258f6 -> ../dm-42</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 22:33 bb1bb92b-a8a7-486a-b171-18317e5d8095 -> ../dm-30</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 23:04 bba70ecf-0d97-4a1a-bff5-d1fba4706602 -> ../dm-67</div><div>lrwxrwxrwx. 1 root root 8 Mar 6 05:07 c7b5ca51-7ec5-467c-95c6-64bda2cb1fa7 -> ../dm-38</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 14:10 d24715dd-32a5-404e-bc57-fe11b99f1fb9 -> ../dm-77</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 14:37 d963aba9-3d3a-489d-91ed-ea4465537495 -> ../dm-82</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 13:59 da77b987-aaa4-4f9f-9300-4f73d6fb103e -> ../dm-76</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 01:18 e88dfa8a-a9dc-4843-8c46-cc57ad700a04 -> ../dm-34</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 22:33 f2ca34b7-c2b5-4072-b539-d1ee91282652 -> ../dm-31</div><div>lrwxrwxrwx. 1 root root 8 Mar 13 22:53 f49ae932-1c07-4295-998d-648afa850982 -> ../dm-65</div><div>lrwxrwxrwx. 1 root root 8 Feb 13 04:26 ids -> ../dm-20</div><div>lrwxrwxrwx. 1 root root 8 Feb 13 04:26 inbox -> ../dm-23</div><div>lrwxrwxrwx. 1 root root 8 Mar 2 00:23 leases -> ../dm-21</div><div>lrwxrwxrwx. 1 root root 8 Feb 13 04:26 master -> ../dm-24</div><div>lrwxrwxrwx. 1 root root 8 Mar 14 15:16 metadata -> ../dm-19</div><div>lrwxrwxrwx. 1 root root 8 Feb 13 04:26 outbox -> ../dm-22</div></div><div><span style="font-size:13px"><br></span></div><div><b>tree /run/vdsm/stoage/domain/image<br></b></div></span><div><div><b>return before:</b></div><div>[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# tree /run/vdsm/storage/c2dc0101-748e-4a7b-9913-47993eaa52bd/93633835-d709-4ebb-9317-903e62064c43/</div><div>/run/vdsm/storage/c2dc0101-748e-4a7b-9913-47993eaa52bd/93633835-d709-4ebb-9317-903e62064c43/</div><div>└── b47f58e0-d576-49be-b8aa-f30581a0373a -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b47f58e0-d576-49be-b8aa-f30581a0373a</div><div><br></div><div>0 directories, 1 file</div></div><div><br></div><div><b><span style="font-size:13px">tree /rhev/data-center/pool/domain/</span><span style="font-size:13px">images/image</span><span style="font-size:13px"><br></span></b></div><div><b>return before:</b></div><div><div>[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# tree /rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/</div><div>/rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/</div><div>├── 0569a2e0-275b-4702-8500-dff732fea13c -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/0569a2e0-275b-4702-8500-dff732fea13c</div><div>├── 0bad7a90-e6d5-4f80-9e77-276092989ec3 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/0bad7a90-e6d5-4f80-9e77-276092989ec3</div><div>├── 1196d06c-d3ea-40ee-841a-a3de379b09f9 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/1196d06c-d3ea-40ee-841a-a3de379b09f9</div><div>├── 48e81eda-fa1e-4788-95a5-7d99974d4b3f -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/48e81eda-fa1e-4788-95a5-7d99974d4b3f</div><div>├── 5f484058-1fa7-496e-8525-4ad52e5c0c9c -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5f484058-1fa7-496e-8525-4ad52e5c0c9c</div><div>├── 61e3c3de-55d1-42e8-8098-eccef7319cac -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/61e3c3de-55d1-42e8-8098-eccef7319cac</div><div>├── 77204a10-1ce3-442a-9571-3a6a19649224 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/77204a10-1ce3-442a-9571-3a6a19649224</div><div>├── 8b14431f-52b5-42ba-977a-ec8401f7ddea -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/8b14431f-52b5-42ba-977a-ec8401f7ddea</div><div>├── 9367bcda-d1aa-40f7-b7ec-d7d2028bc4e6 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/9367bcda-d1aa-40f7-b7ec-d7d2028bc4e6</div><div>├── 9faf4687-48e7-48fa-9aad-50ed89ee1f8a -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/9faf4687-48e7-48fa-9aad-50ed89ee1f8a</div><div>├── a9f65abe-4514-4873-aca7-3e2a04bd4448 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/a9f65abe-4514-4873-aca7-3e2a04bd4448</div><div>├── b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf</div><div>├── b3433da9-e6b5-4ab4-9aed-47a698079a62 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b3433da9-e6b5-4ab4-9aed-47a698079a62</div><div>├── bba70ecf-0d97-4a1a-bff5-d1fba4706602 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/bba70ecf-0d97-4a1a-bff5-d1fba4706602</div><div>├── d24715dd-32a5-404e-bc57-fe11b99f1fb9 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/d24715dd-32a5-404e-bc57-fe11b99f1fb9</div><div>├── d963aba9-3d3a-489d-91ed-ea4465537495 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/d963aba9-3d3a-489d-91ed-ea4465537495</div><div>└── da77b987-aaa4-4f9f-9300-4f73d6fb103e -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/da77b987-aaa4-4f9f-9300-4f73d6fb103e</div><div><br></div><div>0 directories, 17 files</div></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px"><b>tree /run/vdsm/stoage/domain/image<br></b></span><div><b>return after:</b></div></div><div><div>[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# tree /run/vdsm/storage/c2dc0101-748e-4a7b-9913-47993eaa52bd/93633835-d709-4ebb-9317-903e62064c43/</div><div>/run/vdsm/storage/c2dc0101-748e-4a7b-9913-47993eaa52bd/93633835-d709-4ebb-9317-903e62064c43/</div><div>└── b47f58e0-d576-49be-b8aa-f30581a0373a -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b47f58e0-d576-49be-b8aa-f30581a0373a</div><div><br></div><div>0 directories, 1 file</div></div><div><br></div><div><br></div><div><b><span style="font-size:13px">tree /rhev/data-center/pool/domain/</span><span style="font-size:13px">images/image</span></b></div><div><b>return after:</b></div><div><div>[root@srv-qemu02 2f2c9196-831e-45bd-8824-ebd3325c4b1c]# tree /rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/</div><div>/rhev/data-center/77e24b20-9d21-4952-a089-3c5c592b4e6d/c2dc0101-748e-4a7b-9913-47993eaa52bd/images/2f2c9196-831e-45bd-8824-ebd3325c4b1c/</div><div>├── 0569a2e0-275b-4702-8500-dff732fea13c -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/0569a2e0-275b-4702-8500-dff732fea13c</div><div>├── 0bad7a90-e6d5-4f80-9e77-276092989ec3 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/0bad7a90-e6d5-4f80-9e77-276092989ec3</div><div>├── 1196d06c-d3ea-40ee-841a-a3de379b09f9 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/1196d06c-d3ea-40ee-841a-a3de379b09f9</div><div>├── 48e81eda-fa1e-4788-95a5-7d99974d4b3f -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/48e81eda-fa1e-4788-95a5-7d99974d4b3f</div><div>├── 5f484058-1fa7-496e-8525-4ad52e5c0c9c -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5f484058-1fa7-496e-8525-4ad52e5c0c9c</div><div>├── 61e3c3de-55d1-42e8-8098-eccef7319cac -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/61e3c3de-55d1-42e8-8098-eccef7319cac</div><div>├── 77204a10-1ce3-442a-9571-3a6a19649224 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/77204a10-1ce3-442a-9571-3a6a19649224</div><div>├── 8b14431f-52b5-42ba-977a-ec8401f7ddea -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/8b14431f-52b5-42ba-977a-ec8401f7ddea</div><div>├── 9367bcda-d1aa-40f7-b7ec-d7d2028bc4e6 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/9367bcda-d1aa-40f7-b7ec-d7d2028bc4e6</div><div>├── 9faf4687-48e7-48fa-9aad-50ed89ee1f8a -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/9faf4687-48e7-48fa-9aad-50ed89ee1f8a</div><div>├── a9f65abe-4514-4873-aca7-3e2a04bd4448 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/a9f65abe-4514-4873-aca7-3e2a04bd4448</div><div>├── b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b2aa77bb-bc83-4c29-9a67-09d6df2c6fdf</div><div>├── b3433da9-e6b5-4ab4-9aed-47a698079a62 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b3433da9-e6b5-4ab4-9aed-47a698079a62</div><div>├── bba70ecf-0d97-4a1a-bff5-d1fba4706602 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/bba70ecf-0d97-4a1a-bff5-d1fba4706602</div><div>├── d24715dd-32a5-404e-bc57-fe11b99f1fb9 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/d24715dd-32a5-404e-bc57-fe11b99f1fb9</div><div>├── d963aba9-3d3a-489d-91ed-ea4465537495 -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/d963aba9-3d3a-489d-91ed-ea4465537495</div><div>└── da77b987-aaa4-4f9f-9300-4f73d6fb103e -> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/da77b987-aaa4-4f9f-9300-4f73d6fb103e</div><div><br></div><div>0 directories, 17 files</div></div><div><br></div><div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-14 12:23 GMT-03:00 Nir Soffer <span dir="ltr"><<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Mon, Mar 14, 2016 at 5:05 PM, Marcelo Leandro <<a href="mailto:marceloltmm@gmail.com" target="_blank">marceloltmm@gmail.com</a>> wrote:<br>
><br>
><br>
> Is it cold (the VM is down) or live (the VM is up) merge (snapshot<br>
> deletion)?<br>
><br>
> VM is up<br>
><br>
> What version are you running?<br>
><br>
> oVirt Engine Version: 3.6.3.4-1.el7.centos<br>
><br>
><br>
> Can you please share engine and vdsm logs?<br>
><br>
> yes.<br>
><br>
> Please note that at some point we try to verify that image was removed by<br>
> running getVolumeInfo hence, the volume not found is expected. The thing is,<br>
> that you say that volume does exist.<br>
> Can you run following command on the host:<br>
><br>
> vdsClient -s 0 getVolumeInfo <sd> <sp> <img> <vol><br>
><br>
> return the command:<br>
> [root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# vdsClient -s 0<br>
> getVolumeInfo c2dc0101-748e-4a7b-9913-47993eaa52bd<br>
> 77e24b20-9d21-4952-a089-3c5c592b4e6d 93633835-d709-4ebb-9317-903e62064c43<br>
> 948d0453-1992-4a3c-81db-21248853a88a<br>
> Volume does not exist: ('948d0453-1992-4a3c-81db-21248853a88a',)<br>
><br>
> after restarting the host where vm was on, the link discs in image_group_id<br>
> was broken but was not removed.<br>
><br>
> lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 10:04 215a902a-1b99-403b-a648-21977dd0fa78<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/215a902a-1b99-403b-a648-21977dd0fa78<br>
> lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:28 27a8bca3-f984-4f67-9dd2-9e2fc5a5f366<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/27a8bca3-f984-4f67-9dd2-9e2fc5a5f366<br>
> lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:31 3fba372c-4c39-4843-be9e-b358b196331d<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/3fba372c-4c39-4843-be9e-b358b196331d<br>
> lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 08:44 5097df27-c676-4ee7-af89-ecdaed2c77be<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5097df27-c676-4ee7-af89-ecdaed2c77be<br>
> lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:23 5aaf9ce9-d7ad-4607-aab9-2e239ebaed51<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5aaf9ce9-d7ad-4607-aab9-2e239ebaed51<br>
> lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:12 7d9b6ed0-1125-4215-ab76-37bcda3f6c2d<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/7d9b6ed0-1125-4215-ab76-37bcda3f6c2d<br>
> lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 10:13 948d0453-1992-4a3c-81db-21248853a88a<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/948d0453-1992-4a3c-81db-21248853a88a<br>
> lrwxrwxrwx. 1 vdsm kvm 78 Nov 27 22:30 b47f58e0-d576-49be-b8aa-f30581a0373a<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b47f58e0-d576-49be-b8aa-f30581a0373a<br>
> lrwxrwxrwx. 1 vdsm kvm 78 Mar 11 22:01 c598bb22-a386-4908-bfa1-7c44bd764c96<br>
> -><br>
> /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/c598bb22-a386-4908-bfa1-7c44bd764c96<br>
><br>
><br>
> You question is not clear. Can you explain what is the unexpected behavior?<br>
><br>
> the link to the lvm should not be deleted after deleting the snapshot?<br>
<br>
</div></div>Are you talking about /dev/vgname/lvname link or the links under<br>
/run/vdsm/storage/domain/image/volume,<br>
or /rhev/data-center/pull/domain/image/volume?<br>
<br>
/dev/vgname/lvname is created by udev rules when lv is activated or deactivated.<br>
To understand if this is the issue, can you show the output of:<br>
<br>
pvscan --cache<br>
lvs vgname<br>
ls -l /dev/vgname<br>
<br>
Both before the the merge, and after the merge was completed.<br>
<br>
The lv should not exist, and the links should be deleted.<br>
<br>
Links under /run/vdsm/storage or /rhev/data-center/ should be created<br>
when starting a vm, and tore down when stopping a vm, hotunpluging<br>
a disk, or removing a snapshot.<br>
<br>
To understand if there is an issue, we need the output of:<br>
<br>
tree /run/vdsm/stoage/domain/image<br>
tree /rhev/data-center/pool/domain/images/image<br>
<br>
Before and after the merge.<br>
<br>
The links should be deleted.<br>
<span><font color="#888888"><br>
Nir<br>
</font></span><div><div><br>
><br>
><br>
> Thanks<br>
><br>
> 2016-03-14 10:14 GMT-03:00 Nir Soffer <<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@redhat.com</a>>:<br>
>><br>
>> On Sat, Mar 12, 2016 at 3:10 PM, Marcelo Leandro <<a href="mailto:marceloltmm@gmail.com" target="_blank">marceloltmm@gmail.com</a>><br>
>> wrote:<br>
>> > Good morning<br>
>> ><br>
>> > I have a doubt, when i do a snapshot, a new lvm is generated, however<br>
>> > when I delete this snapshot the lvm not off, that's right?<br>
>><br>
>> You question is not clear. Can you explain what is the unexpected<br>
>> behavior?<br>
>><br>
>> To check if an lv created or removed by ovirt, you can do:<br>
>><br>
>> pvscan --cache<br>
>> lvs vg-uuid<br>
>><br>
>> Nir<br>
>><br>
>> ><br>
>> > [root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# ls<br>
>> > 27a8bca3-f984-4f67-9dd2-9e2fc5a5f366<br>
>> > 7d9b6ed0-1125-4215-ab76-37bcda3f6c2d<br>
>> > 3fba372c-4c39-4843-be9e-b358b196331d<br>
>> > b47f58e0-d576-49be-b8aa-f30581a0373a<br>
>> > 5097df27-c676-4ee7-af89-ecdaed2c77be<br>
>> > c598bb22-a386-4908-bfa1-7c44bd764c96<br>
>> > 5aaf9ce9-d7ad-4607-aab9-2e239ebaed51<br>
>> > [root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# ls -l<br>
>> > total 0<br>
>> > lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:28<br>
>> > 27a8bca3-f984-4f67-9dd2-9e2fc5a5f366 -><br>
>> ><br>
>> > /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/27a8bca3-f984-4f67-9dd2-9e2fc5a5f366<br>
>> > lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:31<br>
>> > 3fba372c-4c39-4843-be9e-b358b196331d -><br>
>> ><br>
>> > /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/3fba372c-4c39-4843-be9e-b358b196331d<br>
>> > lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 08:44<br>
>> > 5097df27-c676-4ee7-af89-ecdaed2c77be -><br>
>> ><br>
>> > /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5097df27-c676-4ee7-af89-ecdaed2c77be<br>
>> > lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:23<br>
>> > 5aaf9ce9-d7ad-4607-aab9-2e239ebaed51 -><br>
>> ><br>
>> > /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/5aaf9ce9-d7ad-4607-aab9-2e239ebaed51<br>
>> > lrwxrwxrwx. 1 vdsm kvm 78 Mar 12 09:12<br>
>> > 7d9b6ed0-1125-4215-ab76-37bcda3f6c2d -><br>
>> ><br>
>> > /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/7d9b6ed0-1125-4215-ab76-37bcda3f6c2d<br>
>> > lrwxrwxrwx. 1 vdsm kvm 78 Nov 27 22:30<br>
>> > b47f58e0-d576-49be-b8aa-f30581a0373a -><br>
>> ><br>
>> > /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/b47f58e0-d576-49be-b8aa-f30581a0373a<br>
>> > lrwxrwxrwx. 1 vdsm kvm 78 Mar 11 22:01<br>
>> > c598bb22-a386-4908-bfa1-7c44bd764c96 -><br>
>> ><br>
>> > /dev/c2dc0101-748e-4a7b-9913-47993eaa52bd/c598bb22-a386-4908-bfa1-7c44bd764c96<br>
>> ><br>
>> ><br>
>> ><br>
>> > disks snapshot:<br>
>> > [root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# qemu-img info<br>
>> > 27a8bca3-f984-4f67-9dd2-9e2fc5a5f366<br>
>> > image: 27a8bca3-f984-4f67-9dd2-9e2fc5a5f366<br>
>> > file format: qcow2<br>
>> > virtual size: 112G (120259084288 bytes)<br>
>> > disk size: 0<br>
>> > cluster_size: 65536<br>
>> > backing file:<br>
>> > ../93633835-d709-4ebb-9317-903e62064c43/b47f58e0-d576-49be-b8aa-f30581a0373a<br>
>> > backing file format: raw<br>
>> > Format specific information:<br>
>> > compat: 0.10<br>
>> > refcount bits: 16<br>
>> ><br>
>> ><br>
>> > [root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# qemu-img info<br>
>> > 3fba372c-4c39-4843-be9e-b358b196331d<br>
>> > image: 3fba372c-4c39-4843-be9e-b358b196331d<br>
>> > file format: qcow2<br>
>> > virtual size: 112G (120259084288 bytes)<br>
>> > disk size: 0<br>
>> > cluster_size: 65536<br>
>> > backing file:<br>
>> > ../93633835-d709-4ebb-9317-903e62064c43/b47f58e0-d576-49be-b8aa-f30581a0373a<br>
>> > backing file format: raw<br>
>> > Format specific information:<br>
>> > compat: 0.10<br>
>> > refcount bits: 16<br>
>> ><br>
>> > [root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# qemu-img info<br>
>> > 5aaf9ce9-d7ad-4607-aab9-2e239ebaed51<br>
>> > image: 5aaf9ce9-d7ad-4607-aab9-2e239ebaed51<br>
>> > file format: qcow2<br>
>> > virtual size: 112G (120259084288 bytes)<br>
>> > disk size: 0<br>
>> > cluster_size: 65536<br>
>> > backing file:<br>
>> > ../93633835-d709-4ebb-9317-903e62064c43/b47f58e0-d576-49be-b8aa-f30581a0373a<br>
>> > backing file format: raw<br>
>> > Format specific information:<br>
>> > compat: 0.10<br>
>> > refcount bits: 16<br>
>> ><br>
>> ><br>
>> > disk base:<br>
>> > [root@srv-qemu03 93633835-d709-4ebb-9317-903e62064c43]# qemu-img info<br>
>> > b47f58e0-d576-49be-b8aa-f30581a0373a<br>
>> > image: b47f58e0-d576-49be-b8aa-f30581a0373a<br>
>> > file format: raw<br>
>> > virtual size: 112G (120259084288 bytes)<br>
>> > disk size: 0<br>
>> ><br>
>> ><br>
>> > Thanks.<br>
>> > _______________________________________________<br>
>> > Users mailing list<br>
>> > <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
>> > <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>
</blockquote></div>