<div dir="ltr">Hi guys, trying to reply to a previous topic but I am certain I am not doing it correct, regardless, here we go.<div><br></div><div>moosefs mounting on ovirt.</div><div><br></div><div><span class="im">I am having similar problem to the person in the mail Cannot add Posix Storage. This is an ovirt setup attempt with moosefs. </span></div><div><span class="im"><br></span></div><div><span class="im">Mount options are:</span></div><div><span class="im"><div>Path:       mfsmount</div><div>VFS type: fuse<br></div><div>Mount opt: mfsmaster=mfsmaster,mfsport=9421,mfssubfolder=/ovirt,_netdev</div><div><br></div><div>I specified a subfolder which may not exist on your mfs storae.</div><div><br></div></span></div><div><div>In my setup, ovirt mounts the actual mfs mount without problem, the mount remains mounted afterwards as ovirt does not seem to unmount it successfully. I think the problem is the mount detection mechanism in python, It is looking for a pattern to match both the source/destination of the mount and failing: I hope this shows what I mean:</div><div class=""><div id=":35z" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div><div id=":35z" class="" tabindex="0">vsdm.log output:</div></div><div class=""><span class="im"><div style="font-size:12.8000001907349px">OSError: [Errno 2] Mount of `mfsmount` at `/rhev/data-center/mnt/mfsmount` does not exist</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">centos7 output of mount command:</div><div style="font-size:12.8000001907349px"><div>mfsmaster:9421 on /rhev/data-center/mnt/mfsmount type fuse.mfs (rw,relatime,user_id=0,group_id=0,allow_other)</div><div><br></div></div><div style="font-size:12.8000001907349px">Source = mfsmount in first error out line, and source = &#39;&#39;mfsmaster:9421&#39; on the OS, and I guess mount.py is trying to pattern match the mount and doesnt compare them correctly and bails out.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I guess normally the source of the mount does not change name, like with the specifics I gave to mount mfs.</div><div><br></div><div>I am trying to poke around the python to see if I can simply ignore this check, but my python skills are non existent.</div><div><br></div><div>Also, as a workaround, I tried to first mount mfs without ovirt, and then get ovirt to bind mount my /mnt/moosefs how-ever in centos7 bind mount names are strange, I think broken when compared to centos6,  the output of mount in centos7 when bind mounting /mnt/moosefs to /ovirt:</div><div>mfsmaster:9421 on /mnt/moosfs</div><div>mfsmaster:9421 on /ovirt</div><div><br></div><div>where as in centos6 it would be:</div><div><div>mfsmaster:9421 on /mnt/moosfs</div><div>/mnt/moosfs on /ovirt</div></div><div><br></div><div>Again, I think the pattern matching of mount.py is what fails during bind mount also. </div><div><br></div><div>I think if bind mounting worked, the user could stick what-ever filesystem they wanted onto the OS, and get ovirt to bind mount it. Then it&#39;s the user&#39;s problem how to manage their FS.</div><div><br></div><div>Best,</div><div>Steve Kilduff</div><div><br></div><span style="font-size:12.8000001907349px"><font color="#888888"></font></span></span></div></div></div>