<div dir="ltr"><div style="font-size:12.8000001907349px">Hi All,</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I&#39;ve got a setup with with ovirt and an equallogic iscsi. Im using the dell hit drivers. Install all good, after a reboot the storage won&#39;t come up. From the vdsm logs i can see the volume groups can&#39;t be found. in the lvm vgs command the following filter is used: [ &#39;\&#39;&#39;r|.*|&#39;\&#39;&#39; ] .</div><div style="font-size:12.8000001907349px">If I change the LVMCONF_TEMPLATE in /usr/share/vdsm/storage/lvm.py and add the filter [ &quot;a|^/dev/eql/ovirt.*|&quot; ], the volume group is found and storage will be attached.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">How is the lvm filter constructed? And how can i make sure my volume groups are found without editing /usr/share/vdsm/storage/lvm.py?</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">==snippet vdsm.log 1==</div><div style="font-size:12.8000001907349px">Thread-75::DEBUG::2015-06-11 13:25:03,496::lvm::291::Storage.Misc.excCmd::(cmd) /usr/bin/sudo -n /sbin/lvm vgs --config &#39; devices { preferred_names = [&quot;^/dev/mapper/&quot;] ignore_sus</div><div style="font-size:12.8000001907349px">pended_devices=1 write_cache_state=0 disable_after_error_count=3 obtain_device_list_from_udev=1 filter = [ &#39;\&#39;&#39;r|.*|&#39;\&#39;&#39; ] }  global {  locking_type=1  prioritise_write_locks=1</div><div style="font-size:12.8000001907349px">wait_for_locks=1  use_lvmetad=0 }  backup {  retain_min = 50  retain_days = 0 } &#39; --noheadings --units b --nosuffix --separator &#39;|&#39; --ignoreskippedcluster -o uuid,name,attr,size,</div><div style="font-size:12.8000001907349px">free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free,lv_count,pv_count,pv_name 9d551570-ef74-45b7-ba86-a908f1231ca8 (cwd None)</div><div style="font-size:12.8000001907349px">Thread-75::DEBUG::2015-06-11 13:25:03,825::lvm::291::Storage.Misc.excCmd::(cmd) FAILED: &lt;err&gt; = &#39;  Volume group &quot;9d551570-ef74-45b7-ba86-a908f1231ca8&quot; not found\n  Skipping volum</div><div style="font-size:12.8000001907349px">e group 9d551570-ef74-45b7-ba86-a908f1231ca8\n&#39;; &lt;rc&gt; = 5</div><div style="font-size:12.8000001907349px">Thread-75::WARNING::2015-06-11 13:25:03,828::lvm::376::Storage.LVM::(_reloadvgs) lvm vgs failed: 5 [] [&#39;  Volume group &quot;9d551570-ef74-45b7-ba86-a908f1231ca8&quot; not found&#39;, &#39;  Skipp</div><div style="font-size:12.8000001907349px">ing volume group 9d551570-ef74-45b7-ba86-a908f1231ca8&#39;]</div><div style="font-size:12.8000001907349px">==</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">==snippet vdsm.log 2==</div><div style="font-size:12.8000001907349px">storageRefresh::DEBUG::2015-06-11 13:37:13,602::lvm::292::Storage.Misc.excCmd::(cmd) /usr/bin/sudo -n /sbin/lvm lvs --config &#39; devices { preferred_names = [&quot;^/dev/mapper/&quot;] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 obtain_device_list_from_udev=0 filter = [ &quot;a|^/dev/eql/ovirt.*|&quot; ] filter = [ &#39;\&#39;&#39;r|.*|&#39;\&#39;&#39; ] }  global {  locking_type=1  prioritise_write_locks=1  wait_for_locks=1  use_lvmetad=0 }  backup {  retain_min = 50  retain_days = 0 } &#39; --noheadings --units b --nosuffix --separator &#39;|&#39; --ignoreskippedcluster -o uuid,name,vg_name,attr,size,seg_start_pe,devices,tags (cwd None)</div><div style="font-size:12.8000001907349px">storageRefresh::DEBUG::2015-06-11 13:37:13,978::lvm::292::Storage.Misc.excCmd::(cmd) SUCCESS: &lt;err&gt; = &#39;  WARNING: Ignoring duplicate config node: filter (seeking filter)\n  Found duplicate PV FeScSs3Umv5wXtZCRvauf17sLaeQnS7e: using /dev/mapper/eql-0-af1ff6-8865608d7-3c400636c28555dd_b not /dev/mapper/eql-0-af1ff6-8865608d7-3c400636c28555dd_a\n  Found duplicate PV FeScSs3Umv5wXtZCRvauf17sLaeQnS7e: using /dev/mapper/eql-0-af1ff6-8865608d7-3c400636c28555dd-ovirt-storage02 not /dev/mapper/eql-0-af1ff6-8865608d7-3c400636c28555dd_b\n  Found duplicate PV hyyv4hWZiKT0UDdoDEyPZ5XrHc31hlTs: using /dev/mapper/eql-0-af1ff6-3cb5608d7-c1a0063645b5559b_b not /dev/mapper/eql-0-af1ff6-3cb5608d7-c1a0063645b5559b_a\n  Found duplicate PV hyyv4hWZiKT0UDdoDEyPZ5XrHc31hlTs: using /dev/mapper/eql-0-af1ff6-3cb5608d7-c1a0063645b5559b-ovirt-storage01 not /dev/mapper/eql-0-af1ff6-3cb5608d7-c1a0063645b5559b_b\n&#39;; &lt;rc&gt; = 0</div><div style="font-size:12.8000001907349px">==</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"># rpm -qa |grep vdsm</div><div style="font-size:12.8000001907349px">vdsm-jsonrpc-4.16.14-0.el6.noarch</div><div style="font-size:12.8000001907349px">vdsm-xmlrpc-4.16.14-0.el6.noarch</div><div style="font-size:12.8000001907349px">vdsm-python-zombiereaper-4.16.14-0.el6.noarch</div><div style="font-size:12.8000001907349px">vdsm-python-4.16.14-0.el6.noarch</div><div style="font-size:12.8000001907349px">vdsm-cli-4.16.14-0.el6.noarch</div><div style="font-size:12.8000001907349px">vdsm-4.16.14-0.el6.x86_64</div><div style="font-size:12.8000001907349px">vdsm-yajsonrpc-4.16.14-0.el6.noarch</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thanks!</div></div>