<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 18, 2014 at 7:12 AM, Vered Volansky <span dir="ltr">&lt;<a href="mailto:vered@redhat.com" target="_blank">vered@redhat.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
&gt;<br>
&gt; Hey Vered,<br>
&gt;<br>
&gt; &gt; IIUC the you have a self-created lvm, to which you&#39;re trying to connect as<br>
&gt; &gt; posix using ovirt.<br>
&gt; &gt; If that&#39;s the case please try to manually change the device&#39;s permissions<br>
&gt; &gt; to 36:36 under /dev/&lt;your_VG&gt;.<br>
&gt; &gt; If that doesn&#39;t work try the actual device it&#39;s mapped to (which is what<br>
&gt; &gt; vdsm actually tries to mount).<br>
&gt; &gt; If that also doesn&#39;t work please send us the output of:<br>
&gt; &gt;&gt;&gt; ls -lh /dev/&lt;your_VG&gt; .<br>
&gt;<br>
&gt; Still failed mate after a chmod 36:36. The thing is though, it _does_<br>
&gt; mount the device for a moment before failing and unmounting it...<br>
</span>Is this the same behaviour as before?<br>
<span class=""><br>
&gt;<br>
&gt; [root@blade01 ~]# ls /dev/VolGroup/lv_images -lh<br>
&gt; lrwxrwxrwx 1 root root 7 Dec 15 16:52 /dev/VolGroup/lv_images -&gt; ../dm-2<br>
<br>
</span>I see /dev/VolGroup/lv_images are still root:root.<br>
Please chown 36:36 as well.<br>
<br>
Please state the all the chown you tried.<br>
<div class=""><div class="h5"><br><br></div></div></blockquote><div><br></div><div><br></div><div>Possibly a starting point for automating LVM device permissions setting isĀ </div><div><br></div><div><a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/udev_device_manager.html">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/udev_device_manager.html</a><br></div><div><br></div><div>and in particular the possibility to add, underĀ /lib/udev/rules, a customized file based on the one found in /usr/share/doc/device-mapper/12-dm-permissions.rules</div><div><br></div><div>Not tried myself though...</div><div><br></div><div>Gianluca</div></div></div></div>