No, if you are using NFS, that's the way to go. Mount it in one server
(frontend for example) and export it to the rest, just like you did.


On Mon, May 12, 2014 at 12:01 PM, Christophe Duez <
christophe.d...@student.uantwerpen.be> wrote:

> So for option 2 (because option 1 is not possible because of tgtadm)
> I mount the luns in my frontend (sdb is my connect lun)
>
>> in /etc/fstab
>
>  /dev/sdb /iscsi-datastore/ ext4 _netdev 0 0
>
>
> then create a shared file system.
> so in the frontend:
>
>> /etc/exports
>
> /iscsi-datastore/ *(rw,sync,no_subtree_check,root_squash)
>
>
> and then in the nodes:
> opennebula:/iscsi-datastore/ /iscsi-datastore/ nfs rw,sync,hard,intr 0 0
>
> Or do i need to mount the lun also in my nodes?
>
>
>
> On Mon, May 12, 2014 at 11:49 AM, Jaime Melis <jme...@opennebula.org>wrote:
>
>>  Christophe,
>>
>>  there are two ways to use iSCSI:
>>
>>  1) The orchestrator (OpenNebula) communicates with the NAS and
>> provisions a new iSCSI target for each image. In OpenNebula this is *only*
>> supported with linux based NAS with ssh and tgtadm.
>>
>>  2) You can manually mount pre-existing luns in the opennebula frontend
>> and nodes, and set up a shared file system on top of them. This is
>> transparent to OpenNebula and therefore it is supported.
>>
>>  cheers,
>> Jaime
>>
>>
>> On Mon, May 12, 2014 at 11:31 AM, Christophe Duez <
>> christophe.d...@student.uantwerpen.be> wrote:
>>
>>> Hello,
>>> Anyone that has succeed in combining a synology nas with opennebula?
>>> The reason why I ask is in the documentation 
>>> <http://archives.opennebula.org/documentation:archives:rel3.4:iscsi_ds>they
>>> say that the iSCSI Target
>>> needs password-less sudo permission for: tgtadm
>>> however when i'm root there is no such command tgtadm in my synology
>>> nas....
>>> any solutions or tips?
>>>  Kind regards
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>>  --
>>  Jaime Melis
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | jme...@opennebula.org
>>
>
>
>
> --
> Kind regards,
> Duez Christophe
> Student at University of Antwerp :
> Master of Industrial Sciences: Electronics-ICT
>
> E christophe.d...@student.uantwperen.be
> L linkedin 
> duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39>
>
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to