[Gluster-users] GlusterFS and iScsi target export
Jon Heese
jonheese at jonheese.com
Mon Apr 13 23:05:49 UTC 2015
Okay, I wasn't reading carefully... Try this:
dd if=/dev/zero of=disk3 count=1 bs=1 skip=50G
That will give you a 50GB thin-provisioned file for iSCSI.
Regards,
Jon Heese
On Apr 13, 2015, at 7:02 PM, "Jon Heese" <jonheese at jonheese.com<mailto:jonheese at jonheese.com>> wrote:
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
_______________________________________________
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/459cc8c9/attachment.html>
More information about the Gluster-users
mailing list