[Gluster-users] GlusterFS and iScsi target export

Jon Heese jonheese at jonheese.com
Mon Apr 13 23:02:27 UTC 2015


Cong,

Try adding "skip=2G" (I think) to your dd command and change the bs and count both to 1.  This will essentially thin-provision your iSCSI volume file.

I use this method to make iSCSI volumes that live on gluster.

Regards,
Jon Heese

On Apr 13, 2015, at 5:23 PM, "Yue, Cong" <Cong_Yue at alliedtelesis.com<mailto:Cong_Yue at alliedtelesis.com>> wrote:

I am using GlusterFS to make my storage between several servers can be replicated with fault tolerance. And I am doing the similar way as

http://www.gluster.org/community/documentation/index.php/GlusterFS_iSCSI

It works well, but in the process of
dd if=/dev/zero of=disk3 bs=2G count=25

it needs long time as for my storage volume is around 1TB. I have one question about whether there is some way to make gluster volume can be exported as an iScsi target without creating disk files?
For iscsi, it support both disk file and logical unit like /dev/sdb1, but it seems it could not support normal folder like the mount folder from glusterFS.

Can anybody kindly advise?

Thanks,
Cong


________________________________
This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org<mailto:Gluster-users at gluster.org>
http://www.gluster.org/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150413/208edb08/attachment.html>


More information about the Gluster-users mailing list