I am going to guess that the problem is a UID/GID mismatch. I am guessing you are using an NFS server just for NFS, its not also the engine server?<br>When you install the ovirt engine there is a user/group created for it. UID/GID 36:36 I believe. If this user and group doesn't match whats on the NFS<br>
server, then you will get permissions errors. If they match, ovirt won't have problems using the storage. You usually use directory services with NFS,<br>like NIS, or directory server, or LDAP, to prevent the issue. For testing it may just be easier to do it manually.<br>
<br><br><div class="gmail_quote">On Mon, Mar 26, 2012 at 11:41 AM, Morgan Cox <span dir="ltr"><<a href="mailto:morgancoxuk@gmail.com">morgancoxuk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Just to confirm my NFS server is running Debian Squeeze<div><br></div><div>my /etc/exports reads</div><div><br></div><div>------------------------------------------------------------</div><div><div>/storage1 *(rw,async,no_subtree_check)</div>
<div>------------------------------------------------------------</div><div><br></div><div>and in </div><div><br></div><div><div>/etc/default/nfs-kernel-server I have</div><div><br></div><div>------------------------------------------------------------</div>
<div><div>RPCMOUNTDOPTS="--manage-gids --no-nfs-version 4"</div></div><div>------------------------------------------------------------</div><div><br></div><div>Btw if I (from the NFS server) chmod 777 -R the directory (i.e /storage1/2f7ee7bc-09b3-42ba-af91-40d79293e360/images/676f4f95-9124-4571-8bf9-b597eb5d0931/ )it then works...</div>
<div><br></div><div>It does seem that ovirt creates the directory with wrong perms?</div><div><br></div><div>This is obviuosly some sort of bug (or it could be NFS setup related)</div><div><br>
</div><div>Has anyone any ideas ? chmod 777 is not exactly a good 'solution'</div><div><br></div><div>A new version of the ovirt node is out *(2.3) but there have been no changes in this area (so it won't be fixed in the newer version)</div>
<div><br></div><div>Regards</div><div></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Gary Scarborough<br>
IST Lab Manager<br>
Rochester Institute of Technology<br>
Rochester NY<br>