[ovirt-users] [STORAGE] Adding posix compliant FS

Gianluca Cecchi gianluca.cecchi at gmail.com
Thu Dec 18 08:23:17 UTC 2014


On Thu, Dec 18, 2014 at 7:12 AM, Vered Volansky <vered at redhat.com> wrote:
>
>
> >
> > Hey Vered,
> >
> > > IIUC the you have a self-created lvm, to which you're trying to
> connect as
> > > posix using ovirt.
> > > If that's the case please try to manually change the device's
> permissions
> > > to 36:36 under /dev/<your_VG>.
> > > If that doesn't work try the actual device it's mapped to (which is
> what
> > > vdsm actually tries to mount).
> > > If that also doesn't work please send us the output of:
> > >>> ls -lh /dev/<your_VG> .
> >
> > Still failed mate after a chmod 36:36. The thing is though, it _does_
> > mount the device for a moment before failing and unmounting it...
> Is this the same behaviour as before?
>
> >
> > [root at blade01 ~]# ls /dev/VolGroup/lv_images -lh
> > lrwxrwxrwx 1 root root 7 Dec 15 16:52 /dev/VolGroup/lv_images -> ../dm-2
>
> I see /dev/VolGroup/lv_images are still root:root.
> Please chown 36:36 as well.
>
> Please state the all the chown you tried.
>
>
>

Possibly a starting point for automating LVM device permissions setting is

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/udev_device_manager.html

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

Not tried myself though...

Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141218/18855447/attachment-0001.html>


More information about the Users mailing list