gluster 文件系统

lurejohn
gluster 文件系统

GlusterFS Cluster File System
GlusterFS is a Cluster File System that aggregates multiple storage bricks over InfiniBand RDMA into one large parallel network file system.

不敢独享

[url=http://www.gluster.org/]http://www.gluster.org[/url]

lurejohn
回复 #1 lurejohn 的帖子

做了一下试验,可以在网络上实现raid0,raid1,raid10的功能,且当一个brick server死机后,重启后可以通过self-heal机制自动更新数据。

troyme
关注一下:lol: :lol:

yman
楼主是如何安装fuse的? 我用centos 5 在./configure --enable-kernel-module  后 提示:checking kernel source directory... Not found
configure: error:
        *** Please specify the location of the kernel source with
        *** the '--with-kernel=SRCDIR' option
configure: error: ./configure failed for kernel

这里的'--with-kernel=SRCDIR' option 应该如何指定。

[[i] 本帖最后由 yman 于 2008-1-11 18:00 编辑 [/i]]

troyme
内核源代码或者头文件的位置,你要安装

sailer_sh
[quote]原帖由 [i]lurejohn[/i] 于 2008-1-6 15:48 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6443505&ptid=918313][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
做了一下试验,可以在网络上实现raid0,raid1,raid10的功能,且当一个brick server死机后,重启后可以通过self-heal机制自动更新数据。 [/quote]


我现在还没有时间测试,请问它是不是和DRBD差不多?

zdszdszds
看上去不错,有空研究一下

lurejohn
回复 #1 lurejohn 的帖子

安装的问题应该不难解决,跟其他的文件系统入openafs、lustre、redhat gfs比起来,glusterfs是最简单的了。

glusterfs提供3种形式的磁盘组织方式:unify(有点像jbod,需要namespace服务器)、stripe(有点像raid0)和afr(有点像raid1)。每种磁盘组织方式都涉及到一个io的分配,叫io scheduler,有4种:rr(round robin)、alu(基于磁盘综合性能的io分配)、随机方式以及一种叫用户hpc环境的叫啥名字忘记了。
unify中对数据的分配是基于file,stripe是基于block。

glusterfs的server端(提供磁盘)的配置简单,只需要运行一个glusterfsd进程。磁盘如何使用取决于client端的配置文件,可对server端export出来的目录进行多种搭配,达到各种性能效果。例如先做afr,在做stripe,即可实现类似raid1+0的效果。

理论上的东西文档较少,我做了试验,发现如果只有一台client,多台server的搭配下,并不能发挥glusterfs的性能优势,甚至比单纯的nfs还要差好多,至于为什么,一个是由于资料较少,我不敢妄下定论;另外一个原因是我试验环境下网络条件实在太差,在测试stripe的情况总是受限于10M的带宽。官方测试用的是Infiniband,这个我没接触过,不知实际情况。

官方强调的是,在多client且client相同数量的情况下,client的总带宽是大大由于nfs的,测试数据可以参考官方(但感觉是卖瓜性质,呵呵)。

暂时就这么多。

zdszdszds
兄弟我对这也文件系统也有点兴趣,能留下一个你的联系方式吗??
[email]zhang_dong_sheng@hotmail.com[/email]

zdszdszds
LZ兄弟,这两天我也看了一下这个文件系统,不过这个文件系统有个缺点,不能动态的增加glusterf的server节点,不是很灵活,不过这个文件系统还是不错的.他的ha比lustre的ha要简单的多,哎!要是能够动态增加gluster的server节点就好了.

molecar
lustre是可以动态加节点的:lol:

nntp
[quote]原帖由 [i]molecar[/i] 于 2008-1-16 17:14 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6447374&ptid=918313][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
lustre是可以动态加节点的:lol: [/quote]


好久不见你了....

troyme
How do I add a new node to an already running cluster of GlusterFS
Yes, you can add more bricks in your volume specification file and restart GlusterFS (re-mount). Its schedulers (alu) are designed to balance the file system data as you grow.

For releases after 1.3.0-pre5

Just add the extra node in unify's subvolumes list, and restart the GlusterFS, the directory structure is automatically replicated in the new server :D The much desired self-heal property of unify solves the burden of manually maintaining equal directory structure in all the servers before mount.

from [url]http://www.gluster.org/docs/index.php/GlusterFS_FAQ#How_do_I_add_a_new_node_to_an_already_running_cluster_of_GlusterFS[/url]

这个不知道算不算动态加,看起来好像可以在线加节点
最后几天正在测试,测试完放假,哈哈哈哈

[[i] 本帖最后由 troyme 于 2008-2-2 10:46 编辑 [/i]]

yuhuohu
关注一下

nntp
"and restart the GlusterFS"

molecar
[quote]原帖由 [i]nntp[/i] 于 2008-1-16 19:29 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6447423&ptid=918313][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]



好久不见你了.... [/quote]
哈哈,老大用什么即时通工具啊?我天天都在关注,发贴少而已!我可是非常崇拜你的。哈哈

[[i] 本帖最后由 molecar 于 2008-2-4 11:39 编辑 [/i]]

nntp
[quote]原帖由 [i]molecar[/i] 于 2008-2-4 11:33 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6453133&ptid=918313][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]

哈哈,老大用什么即时通工具啊?我天天都在关注,发贴少而已!我可是非常崇拜你的。哈哈 [/quote]

我只能用Pidgin.里面加的是msn.

troyme
[quote]原帖由 [i]nntp[/i] 于 2008-2-3 04:26 发表 [url=http://linux.chinaunix.net/bbs/redirect.php?goto=findpost&pid=6452857&ptid=918313][img]http://linux.chinaunix.net/bbs/images/common/back.gif[/img][/url]
"and restart the GlusterFS" [/quote]

一个remount过程,客户端的一个remount过程,server端没有变动,基本上和在线动态没有很大的应用层的区别吧,虽然底层是不一样的

root_man
[quote]原帖由 [i]troyme[/i] 于 2008-2-2 10:44 发表
最后几天正在测试,测试完放假,哈哈哈哈 [/quote]
关注测试结果

Who's using GlusterFS
[url]http://www.gluster.org/docs/index.php/Who%27s_using_GlusterFS[/url]