GlusterFS
文章平均质量分 89
Struggling-Snail
这个作者很懒,什么都没留下…
展开
-
GlusterFS源码解析 —— GlusterFS 日志
Logging.c:/* Copyright (c) 2008-2012 Red Hat, Inc. This file is part of GlusterFS. This file is licensed to you under your choice of the GNU Lesser General Public License, version 3 or any原创 2014-04-27 12:20:11 · 2834 阅读 · 0 评论 -
GlusterFS源码解析—— GlusterFS 命令行常见错误
问题1[root@localhost ~]# gluster peer statusConnection failed. Please check if gluster daemon is operational.原因:未开启glusterd服务解决方法:开启glusterd服务/etc/init.d/glusterd start问题2[root@loc原创 2014-05-16 00:19:57 · 6460 阅读 · 0 评论 -
GlusterFS源码解析 —— GlusterFS 配置
GlusterFS 源码安装方式:http://blog.csdn.net/wangyuling1234567890/article/details/255192611、GlusterFS的典型架构图2、GlusterFS常用translators(中继)2.1.1. storage/posix type storage/posixstorage/po原创 2014-05-13 23:16:49 · 2219 阅读 · 0 评论 -
GlusterFS源码解析 —— GlusterFS 结构体系分析
简述经过这几天对Glusterfs的分析, 对其体系结构已经有了初步的理解。 值得庆贺的一点就是 Glusterfs 的整个体系结构非常清晰, 高度模块化的设计使得我们对他的理解和扩展变得比较容易。我打算从下面几步来分析其体系结构:1. 给出几个从网络上收集的结构图, 用以帮助我们来从整理上认识其体系结构。 2. 以 Glusterfs 的一个客户端配置文件入手, 来理解原创 2014-04-27 21:44:39 · 6323 阅读 · 5 评论 -
GlusterFS源码解析 —— GlusterFS 简介
1.Glusterfs简介GlusterFS是Scale-Out存储解决方案Gluster的核心,它是一个开源的分布式文件系统,具有强大的横向扩展能力,通过扩展能够支持数PB存储容量和处理数千客户端。GlusterFS借助TCP/IP或InfiniBandRDMA网络将物理分布的存储资源聚集在一起,使用单一全局命名空间来管理数据。GlusterFS基于可堆叠的用户空间设计,可为各种不同的数据负原创 2014-04-27 01:28:15 · 3880 阅读 · 0 评论 -
GlusterFS源码解析 —— GlusterFS 源码安装
GlusterFS 挂载需要 fuse 支持,如果你的内核版本低于 2.6.16 则需要下载fuse的源码包自行编译安装,也可下载 fuse 的rpm包。安装fuse的方法我就不说了,不会源码安装的直接去rpmfind.net上下载rpm即可。高于此版本的内核中已经有了fuse.ko的模块,需要的时候可以执行以下命令进行加载:modprobe -b fuse1、下载GlusterF原创 2014-05-11 02:19:38 · 5229 阅读 · 2 评论 -
GlusterFS源码解析 —— GlusterFS 内存分配方式
GlusterFS 的内存分配主要有两种方式,一种是内存池分配,一种是普通内存分配。不了解内存池使用的请查阅相关资料,这里不再解释。内存池分配使用一个mem_pool对象来管理,看过内核代码的话对内存池的结构就不会陌生了。内核代码中好多管理就是利用内核list链表来进行。内存池结构如下:struct mem_pool { struct list_head list;原创 2014-04-27 01:54:40 · 3501 阅读 · 1 评论