<div dir="ltr">I did the following:<br>at the NAS:<div><div>NasKampdreef11> chown 9869:9869 /volume1/@iSCSITrg/</div><div>NasKampdreef11> chown 9869:9869 /volume1/@iSCSITrg/iSCSI_1_LUN-1_000</div><div>chmod -R 0755 /volume1/@iSCSITrg/<br>
</div><div><br></div><div>at the frontend:</div><div><div>[root@OpenNebulaServer ~]# chown 9869:9869 /dev/sdc</div><div>[root@OpenNebulaServer ~]# chmod -R 0775 /dev/sdc</div></div><div><br></div><div>AND I Forgot</div><div>
chown 9869:9869 /var/lib/one/datastores/100/<br><br>I don't know if I need all of them but now it magically works...</div><div><br></div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 29, 2014 at 5:46 PM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div dir="ltr">Right, can you write to that mountpoint as oneadmin? I believe you are missing a chown -R. If oneadmin cannot write to that mountpoint OpenNebula will fail.
<div><div class="h5"><div><br>
</div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Apr 29, 2014 at 5:45 PM, Christophe Duez <span dir="ltr">
<<a href="mailto:christophe.duez@student.uantwerpen.be" target="_blank">christophe.duez@student.uantwerpen.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">this is the error in /var/log/one/oned.log
<div><a href="http://pastebin.com/tAwQhgTi" target="_blank">http://pastebin.com/tAwQhgTi</a><br>
</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Apr 29, 2014 at 4:42 PM, Christophe Duez <span dir="ltr">
<<a href="mailto:christophe.duez@student.uantwerpen.be" target="_blank">christophe.duez@student.uantwerpen.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Sorry,
<div>I have 3 servers for my disposal. One is running opennebula (frontend) the other 2 are nodes that will run the VM's.<br>
I also have a Synology NAS that provide iSCSI targets.<br>
I mounted the targets in my fronted (/etc/fstab => /dev/sdc /var/lib/one//datastores/106 ext4 _netdev 0 0)<br>
</div>
<div>In the sunstone interface I can see the correct volume of the datastore.</div>
<div><br>
</div>
<div>So far so good.</div>
<div>But when I want to upload a Image, CD or create an empty datablock I get the permission denied error.</div>
<div><br>
</div>
<div><br>
<br>
</div>
<div><br>
</div>
<p><span lang="EN-US"></span></p>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Apr 29, 2014 at 3:02 PM, Jaime Melis <span dir="ltr">
<<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">Can you please provide more information?
<div><br>
</div>
<div>Where will you mount this iSCSI target? in what server (frontend or a node)? Or more generally, what exactly do you want to use iSCSI  target for?</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Apr 29, 2014 at 2:58 PM, Christophe Duez <span dir="ltr">
<<a href="mailto:christophe.duez@student.uantwerpen.be" target="_blank">christophe.duez@student.uantwerpen.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello,
<div>I thought it would be possible to add an iSCSI target to my server that is running OpenNebula.<br>
Than OpenNebula would see this target as a normal disc and could use it without any problems...<br>
but that is not possible then?</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>On Tue, Apr 29, 2014 at 11:39 AM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div dir="ltr">Christophe,
<div><br>
</div>
<div>when you say iscsi, do you mean the addon-iscsi? in that case you should follow this guide:</div>
<div><a href="https://github.com/OpenNebula/addon-iscsi#configuring-iscsi-datastores" target="_blank">https://github.com/OpenNebula/addon-iscsi#configuring-iscsi-datastores</a><br>
</div>
<div>and set properly DS_MAD and TM_MAD. From the base64 encoded error I can see this:</div>
<div><br>
</div>
<div>
<div>        <DS_MAD>fs</DS_MAD></div>
<div>        <TM_MAD>shared</TM_MAD></div>
</div>
<div><br>
</div>
<div>which is not what you want.</div>
<div><br>
</div>
<div>cheers,<br>
Jaime</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>
<div>
<div>On Sun, Apr 27, 2014 at 7:05 PM, Christophe Duez <span dir="ltr"><<a href="mailto:christophe.duez@student.uantwerpen.be" target="_blank">christophe.duez@student.uantwerpen.be</a>></span> wrote:<br>
</div>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div>
<div>
<div dir="ltr">Hello,
<div>when I try to upload an image to my iSCSI datastore it fails and I dont know why.<br>
can anyone help me please?</div>
<div><a href="http://pastebin.com/xVX0N6UU" target="_blank">var/log/one/oned.log error</a></div>
<div><br>
</div>
<div>thank you<br clear="all">
<div><br>
</div>
C. Duez </div>
</div>
<br>
</div>
</div>
</div>
</div>
<div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
<span><font color="#888888"></font></span></div>
</blockquote>
<span><font color="#888888"></font></span></div>
<span><font color="#888888"><br>
</font></span></div>
<div><span><font color="#888888"><br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>Jaime Melis<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">
jmelis@opennebula.org</a></div>
</div>
</font></span></div>
</div>
<span><font color="#888888"></font></span></blockquote>
</div>
<span><font color="#888888"><br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Kind regards,
<div>Duez Christophe
<div>Student at University of Antwerp :<br>
<div>Master of Industrial Sciences: Electronics-ICT
<div>
<div><br>
<div>E <a href="mailto:christophe.duez@student.uantwperen.be" target="_blank">christophe.duez@student.uantwperen.be</a></div>
<div>L <a href="http://www.linkedin.com/pub/duez-christophe/74/7/39" target="_blank">linkedin duez-christophe</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>Jaime Melis<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">
jmelis@opennebula.org</a></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Kind regards,
<div>Duez Christophe
<div>Student at University of Antwerp :<br>
<div>Master of Industrial Sciences: Electronics-ICT
<div>
<div><br>
<div>E <a href="mailto:christophe.duez@student.uantwperen.be" target="_blank">christophe.duez@student.uantwperen.be</a></div>
<div>L <a href="http://www.linkedin.com/pub/duez-christophe/74/7/39" target="_blank">linkedin duez-christophe</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Kind regards,
<div>Duez Christophe
<div>Student at University of Antwerp :<br>
<div>Master of Industrial Sciences: Electronics-ICT
<div>
<div><br>
<div>E <a href="mailto:christophe.duez@student.uantwperen.be" target="_blank">christophe.duez@student.uantwperen.be</a></div>
<div>L <a href="http://www.linkedin.com/pub/duez-christophe/74/7/39" target="_blank">linkedin duez-christophe</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>Jaime Melis<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">
jmelis@opennebula.org</a></div>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Kind regards,<div>Duez Christophe<div>Student at University of Antwerp :<br><div>Master of Industrial Sciences: Electronics-ICT<div><div><br><div>
E <a href="mailto:christophe.duez@student.uantwperen.be" target="_blank">christophe.duez@student.uantwperen.be</a></div><div>L <a href="http://www.linkedin.com/pub/duez-christophe/74/7/39" target="_blank">linkedin duez-christophe</a></div>
</div></div></div></div></div></div>
</div>