<div>hello, i solved this problem.<br /> <br /><br /></div>
<div> </div>
<div>For all that have this problem with read only file system and nfs.</div>
<div>For me , the problem was the NFS configuration (/etc/exports).</div>
<div>I just need to put no_root_squash in NFS option like above:</div>
<div><em> /var/lib/one/datastores 192.168.0.5(rw,sync,no_subtree_check,no_root_squash)</em><br /><br /></div>
<hr style="border-top: 1px solid #ccc;" />
<div><br /><strong>De:</strong> kenny.kenny@bol.com.br<br /><strong>Enviada:</strong> Sábado, 21 de Setembro de 2013 01:44<br /><strong>Para:</strong> users@lists.opennebula.org < users@lists.opennebula.org ><br /><strong>Assunto:</strong> [one-users] Opennebula read only VM root file system<br /><br /></div>
<div>Hello.</div>
<div> </div>
<div>I´m using opennebula 4.2 and xen 4.2 with shared datastore. It´s all ok, but the vm file system is mounted iwth readonly.</div>
<div>I try the same image used by opennebula just with xen , and it works ok.</div>
<div> </div>
<div>The NFS is all ok in client (xen) and server (opennebula).</div>
<div> </div>
<div>But i saw some thing: my opennebula datastores is rwx for all (777) , but when opennebula create the vm image, it is 422 like above:</div>
<div>Does anybody knows how can i change this permissions in opennebula ?</div>
<div><br /><em>root@ubuntu:/# ls -l /var/lib/one/datastores/</em><br /><em>total 20</em><br /><em>drwxrwsrwx 2 oneadmin oneadmin 4096 Sep 21 01:16 0</em><br /><em>drwxrwsrwx 2 oneadmin oneadmin 4096 Sep 13 15:06 1</em><br /><em>drwxrwxrwx 2 oneadmin cloud 4096 Sep 21 00:08 100</em><br /><em>drwxrwxrwx 2 oneadmin cloud 4096 Sep 1 17:59 101</em><br /><em>drwxrwxrwx 2 oneadmin cloud 4096 Aug 10 19:05 2</em><br /><em>root@ubuntu:/# ls -l /var/lib/one/datastores/0/</em><br /><em>total 4</em><br /><em>drwxrwsr-x 2 9869 oneadmin 4096 Sep 21 01:19 118</em><br /><em>root@ubuntu:/# ls -l /var/lib/one/datastores/0/118/</em><br /><em>total 3145736</em><br /><em>-rw-rw-r-- 1 9869 oneadmin 256 Sep 21 01:19 deployment.0</em><br /><em>-rw-r--r-- 1 9869 oneadmin 3221225472 Sep 21 01:19 disk.0</em><br /><em>root@ubuntu:/#</em><br /><br /></div>
<div> </div>