<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"><<a href="mailto:vered@redhat.com" target="_blank">vered@redhat.com</a>></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>
><br>
> Hey Vered,<br>
><br>
> > IIUC the you have a self-created lvm, to which you're trying to connect as<br>
> > posix using ovirt.<br>
> > If that's the case please try to manually change the device's permissions<br>
> > to 36:36 under /dev/<your_VG>.<br>
> > If that doesn't work try the actual device it's mapped to (which is what<br>
> > vdsm actually tries to mount).<br>
> > If that also doesn't work please send us the output of:<br>
> >>> ls -lh /dev/<your_VG> .<br>
><br>
> Still failed mate after a chmod 36:36. The thing is though, it _does_<br>
> mount the device for a moment before failing and unmounting it...<br>
</span>Is this the same behaviour as before?<br>
<span class=""><br>
><br>
> [root@blade01 ~]# ls /dev/VolGroup/lv_images -lh<br>
> lrwxrwxrwx 1 root root 7 Dec 15 16:52 /dev/VolGroup/lv_images -> ../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>