Re: GlusterFS and iScsi target export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux