<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">find the answers inline.<div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><b class="">— Bishoy</b></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Dec 4, 2015, at 6:54 AM, Mountrakis, Michael &lt;<a href="mailto:michael.mountrakis@sap.com" class="">michael.mountrakis@sap.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi all<br class=""><br class="">The scenario that I am thinking to implement has as follows:<br class=""><br class="">Mount a volume locally to my Node1 &nbsp;as i-scsi:<br class="">mybox1# iscsiadm -m node --targetname "rot1:newvolume.1" --portal "192.168.0.1:3260" --login<br class="">.. format and make file system...<br class="">mybox1# mount &nbsp;/dev/sdb1 /data &nbsp;-t ext4<br class=""><br class="">Mount another volume locally to my Node2 &nbsp;as i-scsi:<br class="">mybox2# iscsiadm -m node --targetname "rot2:newvolume.1" --portal "192.164.0.1:3260" --login<br class="">.. format and make file system...<br class="">mybox2# mount &nbsp;/dev/sdb1 /data &nbsp;-t ext4<br class=""><br class="">I do the peering between node1/node2:<br class="">root@ mybox1:~ # gluster peer probe mybox2.mydomain<br class=""><br class="">Try to create a glusterFS volume from those mounts:<br class="">Will the following work?<br class="">root@ mybox1:~ # gluster volume create mydata replica 2 mybox1.mydomain:/data mybox2.mydomain:/data force<br class=""><br class="">In other words:<br class="">Can I create and share a glusterFS volume from a couple of mounted iSCSI bricks?<br class=""></div></div></blockquote>yes you can, but the problem you might have is that when the iSCSI sessions get broken then reestablished they will be mapped with a different name (if it was /dev/sdb to might get mapped to /dev/sde or any other letter) it’s better to use ZFS with iSCSI as ZFS handles Linux device mapper mapping of the drives better than XFS.<br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class=""><br class="">Best Regards<br class="">mike<br class="">_______________________________________________<br class="">Gluster-users mailing list<br class=""><a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class="">http://www.gluster.org/mailman/listinfo/gluster-users<br class=""></div></div></blockquote></div><br class=""></div></body></html>