<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 10, 2017 at 11:54 PM, Nir Soffer <span dir="ltr">&lt;<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@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"><span class="gmail-">On Fri, Mar 10, 2017 at 6:24 PM, Gianluca Cecchi<br>
&lt;<a href="mailto:gianluca.cecchi@gmail.com">gianluca.cecchi@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt; on my 4.1 environment sometimes I get this kind of message, typically when I<br>
&gt; create a snapshot.<br>
&gt; Please note that the snapshot is correctly created: I get the event between<br>
&gt; the snapshot creation initiated and completed events<br>
&gt;<br>
&gt;<br>
&gt; VDSM ovmsrv05 command TeardownImageVDS failed: Cannot deactivate Logical<br>
&gt; Volume: (&#39;General Storage Exception: (&quot;5 [] [\&#39;  WARNING: Not using lvmetad<br>
&gt; because config setting use_lvmetad=0.\&#39;, \&#39;  WARNING: To avoid corruption,<br>
&gt; rescan devices to make changes visible (pvscan --cache).\&#39;, \&#39;  Logical<br>
&gt; volume<br>
&gt; 922b5269-ab56-4c4d-838f-<wbr>49d33427e2ab/79350ec5-eea5-<wbr>458b-a3ee-ba394d2cda27 in<br>
&gt; use.\&#39;, \&#39;  Logical volume<br>
&gt; 922b5269-ab56-4c4d-838f-<wbr>49d33427e2ab/3590f38b-1e3b-<wbr>4170-a901-801ee5d21d59 in<br>
&gt; use.\&#39;]\\n922b5269-ab56-4c4d-<wbr>838f-49d33427e2ab/[\&#39;3590f38b-<wbr>1e3b-4170-a901-801ee5d21d59\&#39;,<br>
&gt; \&#39;79350ec5-eea5-458b-a3ee-<wbr>ba394d2cda27\&#39;]&quot;,)&#39;,)<br>
&gt;<br>
&gt; What is the exact meaning and how can I crosscheck to solve the possible<br>
&gt; anomaly...?<br>
&gt; What about lvmetad reference inside the message? Is it an option that in<br>
&gt; oVirt can be configured or not at all for now?<br>
<br>
</span>Can you share the output of:<br>
<br>
lvs -o vg_name,lv_name,size,attr,<wbr>devices<br>
vgs -o vg_name,pv_name<br>
<br>
After you get this error.<br>
<br>
lvmetad is not compatible with ovirt shared storage, this is why you get these<br>
warnings.<br>
<br>
It is disabled in latest 4.1.<br>
<br>
If you don&#39;t want to wait for the release, you can disable it now:<br>
<br>
systemctl mask lvm2-lvmetad.service lvm2-lvmetad.socket<br>
systemctl disable lvm2-lvmetad.service lvm2-lvmetad.socket<br>
systemctl stop lvm2-lvmetad.service lvm2-lvmetad.socket<br>
<br>
Edit /etc/lvm/lvm.conf and set:<br>
<br>
use_lvmetad = 0<br>
<br>
Please report if you still get errors about  &quot;Logical volume xxx/yyy in use&quot;<br>
after disabling lvmetad. If you do, please file a bug.<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Nir<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Hello,</div><div class="gmail_extra">I didn&#39;t get chance to make the requested commands on the former FC SAN domain.</div><div class="gmail_extra">But now I&#39;m getting the same on an iSCSI one I&#39;m testing...</div><div class="gmail_extra">So here the details</div><div class="gmail_extra"><br></div><div class="gmail_extra">both engine and host in 4.1.1 </div><div class="gmail_extra">I don&#39;t get the lvmetad part in error message, possibly has been removed in 4.1.1 in respect with 4.1 above?</div><div class="gmail_extra"><br></div><div class="gmail_extra">I got this while creating a snapshot of a running VM</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">Apr 4, 2017 2:22:49 PM Snapshot &#39;test&#39; creation for VM &#39;Oracle7_IMPORTED&#39; has been completed.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Apr 4, 2017 2:22:49 PM VDSM ov300 command TeardownImageVDS failed: Cannot deactivate Logical Volume: (&#39;General Storage Exception: (&quot;5 [] [\&#39;  Logical volume 94795322-92a7-4904-80c1-83d6b629d38a/564ef695-a6cf-4425-a44f-101fa6bc11e4 in use.\&#39;, \&#39;  Logical volume 94795322-92a7-4904-80c1-83d6b629d38a/0441718e-13ce-4562-b69e-74cee0972083 in use.\&#39;]\\n94795322-92a7-4904-80c1-83d6b629d38a/[\&#39;0441718e-13ce-4562-b69e-74cee0972083\&#39;, \&#39;564ef695-a6cf-4425-a44f-101fa6bc11e4\&#39;]&quot;,)&#39;,)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Apr 4, 2017 2:22:36 PM VDSM ov300 command TeardownImageVDS failed: Cannot deactivate Logical Volume: (&#39;General Storage Exception: (&quot;5 [] [\&#39;  Logical volume 94795322-92a7-4904-80c1-83d6b629d38a/845a9008-8ece-4cf2-9828-f286640b5f0e in use.\&#39;, \&#39;  Logical volume 94795322-92a7-4904-80c1-83d6b629d38a/ecdc6fc6-629a-43a7-a756-48b6ee695b19 in use.\&#39;]\\n94795322-92a7-4904-80c1-83d6b629d38a/[\&#39;ecdc6fc6-629a-43a7-a756-48b6ee695b19\&#39;, \&#39;845a9008-8ece-4cf2-9828-f286640b5f0e\&#39;]&quot;,)&#39;,)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Apr 4, 2017 2:21:57 PM Snapshot &#39;test&#39; creation for VM &#39;Oracle7_IMPORTED&#39; was initiated by g.cecchi@internal-authz.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">[root@ov300 vdsm]# lvs -o vg_name,lv_name,size,attr,devices</div><div class="gmail_extra">  VG                                   LV                                   LSize   Attr       Devices                                           </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a 0441718e-13ce-4562-b69e-74cee0972083   4.00g -wi-ao---- /dev/mapper/364817197b5dfd0e5538d959702249b1c(713)</div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a 564ef695-a6cf-4425-a44f-101fa6bc11e4   8.00g -wi-ao---- /dev/mapper/364817197b5dfd0e5538d959702249b1c(41) </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a 845a9008-8ece-4cf2-9828-f286640b5f0e  72.00g -wi-ao---- /dev/mapper/364817197b5dfd0e5538d959702249b1c(105)</div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a c306d9e1-dcd2-47fc-9500-4e5f9ff3aee3 128.00m -wi------- /dev/mapper/364817197b5dfd0e5538d959702249b1c(39) </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a c424dad7-ce65-47c3-a517-f3294745bc63 128.00m -wi------- /dev/mapper/364817197b5dfd0e5538d959702249b1c(40) </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a ecdc6fc6-629a-43a7-a756-48b6ee695b19   4.00g -wi-ao---- /dev/mapper/364817197b5dfd0e5538d959702249b1c(681)</div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a ids                                  128.00m -wi-ao---- /dev/mapper/364817197b5dfd0e5538d959702249b1c(29) </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a inbox                                128.00m -wi-a----- /dev/mapper/364817197b5dfd0e5538d959702249b1c(30) </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a leases                                 2.00g -wi-a----- /dev/mapper/364817197b5dfd0e5538d959702249b1c(13) </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a master                                 1.00g -wi-ao---- /dev/mapper/364817197b5dfd0e5538d959702249b1c(31) </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a metadata                             512.00m -wi-a----- /dev/mapper/364817197b5dfd0e5538d959702249b1c(0)  </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a outbox                               128.00m -wi-a----- /dev/mapper/364817197b5dfd0e5538d959702249b1c(4)  </div><div class="gmail_extra">  94795322-92a7-4904-80c1-83d6b629d38a xleases                                1.00g -wi-a----- /dev/mapper/364817197b5dfd0e5538d959702249b1c(5)  </div><div class="gmail_extra">  cl                                   root                                 119.12g -wi-ao---- /dev/sda2(0)                                      </div><div class="gmail_extra">  cl                                   swap                                  16.00g -wi-ao---- /dev/sda2(30495)                                  </div><div class="gmail_extra">[root@ov300 vdsm]# </div><div><br></div><div><br></div><div><div>[root@ov300 vdsm]# vgs -o vg_name,pv_name</div><div>  VG                                   PV                                           </div><div>  94795322-92a7-4904-80c1-83d6b629d38a /dev/mapper/364817197b5dfd0e5538d959702249b1c</div><div>  cl                                   /dev/sda2                                    </div></div><div><br></div></div><div class="gmail_extra">BTW: when I try to go in web admin gui to catch all the text to copy and paste it, the only point I get is is going directly under the top level &quot;system&quot;, otherwise the 2 lines related to VDSM are not displayed..</div><div class="gmail_extra">is it correct, expected?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for any help</div><div class="gmail_extra">Gianluca</div></div></div>