当前位置:网站首页>GFS分布式文件系统
GFS分布式文件系统
2022-06-27 18:55:00 【墨天轮】




2. 用户的这个操作被递交给 本地linux系统的VFS来处理。
3. VFS 将数据递交给FUSE 内核文件系统:在启动 glusterfs 客户端以前, 需要想系统注册一个实际的文件系统FUSE,如上图所示,该文件系统与ext3在同一个层次上面,ext3 是对实际的磁盘进行处理,而 fuse 文件系统则是将数据通过/dev/fuse 这个设备文件递交给了glusterfs client端。所以我们可以将 fuse 文件系统理解为一个代理。
4. 数据被 fuse 递交给 Glusterfs client 后,client 对数据进行一些指定的处理(所谓的指定,是按照client 配置文件据来进行的一系列处理, 我们在启动glusterfs client 时 需 要 指 定 这 个 文 件 , 其 默 认 位 置 :/etc/glusterfs/client.vol)。
5. 在glusterfs client的处理末端,通过网络将数据递交给 Glusterfs Server,并且将数据写入到服务器所控制的存储设备上。



分布式条带卷兼顾分布式卷和条带卷的功能,可以理解成为大型的条带卷,主要用于大文件访问处理,创建一个分布式条带,卷最少需要4台服务器;







gluster volume
quotaVOLNAME enable/disable
gluster volume
quotaVOLNAME limit-usage /img limit-value
gluster volume
quotaimg limit-usage /quota 10GB
gluster volume
quotaVOLNAME list
gluster volume
quotaVOLNAME list
gluster volume geo-replication MASTER SLAVE start/status/stop
gluster volume geo-replication img 192.168.10.8:/data1/brick1 start
# gluster volume rebalance VOLNAME fix-layout start# gluster volume rebalance VOLNAME migrate-data start
# gluster volume rebalance VOLNAME start# gluster volume rebalance VOLNAME status //你可以在在平衡过程中查看平衡信息# gluster volume rebalance VOLNAME stop //你也可以暂停平衡,再次启动平衡的时候会从上次暂停的地方继续开始平衡。
#gluster volume profile VOLNAME start //启动profiling,之后则可以进行IO 信息查看#gluster volume profile VOLNAME info //查看IO 信息,可以查看到每一个Brick 的IO 信息#gluster volume profile VOLNAME stop //查看结束之后关闭profiling 功能
# gluster volume top VOLNAME open [brick BRICK-NAME] [list-cnt cnt] //查看打开的fd# gluster volume top VOLNAME read [brick BRICK-NAME] [list-cnt cnt] //查看调用次数最多的读调用# gluster volume top VOLNAME write [brick BRICK-NAME] [list-cnt cnt] //查看调用次数最多的写调用# gluster volume top VOLNAME opendir [brick BRICK-NAME] [list-cnt cnt] //查看次数最多的目录调用# gluster volume top VOLNAME readdir [brick BRICK-NAME] [list-cnt cnt] //查看次数最多的目录调用# gluster volume top VOLNAME read-perf [bs blk-size count count] [brickBRICK-NAME] [list-cnt cnt] //查看每个Brick 的读性能# gluster volume top VOLNAME write-perf [bs blk-size count count] [brickBRICK-NAME] [list-cnt cnt] //查看每个Br
边栏推荐
- SQL audit platform permission module introduction and account creation tutorial
- Implementation string mystring
- SQL reported an unusual error, which confused the new interns
- Unity3D Button根据文本内容自适应大小
- VMware vSphere ESXi 7.0安装教程
- CSDN 技能树使用体验与产品分析(1)
- 一套系统,减轻人流集中地10倍的通行压力
- BLE蓝牙模块NRF518/NRF281/NRF528/NRF284芯片方案对比
- 分享一次自己定位 + 解决问题的经历
- Record a failure caused by a custom redis distributed lock
猜你喜欢
![[STL programming] [common competition] [Part 1]](/img/ce/4d489e62d6c8d16134262b65d4b0d9.png)
[STL programming] [common competition] [Part 1]

大促场景下,如何做好网关高可用防护

一场分销裂变活动,不止是发发朋友圈这么简单

Massive data attended the Lanzhou opengauss meetup (ECOLOGICAL NATIONAL trip) activity, enabling users to upgrade their applications with enterprise level databases

Mongodb introduction and typical application scenarios

Best practice: optimizing Postgres query performance (Part 2)

Explore gaussdb and listen to what customers and partners say

Runmaide medical opened the offering: without the participation of cornerstone investors, the amount of loss doubled

KDD 2022 | graph neural network generalization framework under the paradigm of "pre training, prompting and fine tuning"

基于微信小程序的警局报案便民服务平台#毕业设计
随机推荐
#yyds干货盘点#SQL 子查询
优维HyperInsight:掘金164.94亿美元可观测市场的“金锄头”?
Cocoscreator plays audio and synchronizes progress
Pfsense plus22.01 Chinese customized version release
事件相关电位ERP的皮层溯源分析
SQL Server for循环用法
Ble Bluetooth module nrf518/nrf281/nrf528/nrf284 chip scheme comparison
No wonder people chose apifox instead of postman
Cerebral Cortex:从任务态和静息态脑功能连接预测儿童数学技能
谈谈我写作生涯的画图技巧
Runmaide medical opened the offering: without the participation of cornerstone investors, the amount of loss doubled
What is a stack?
VMware vSphere ESXi 7.0安装教程
Shell script controls the startup and shutdown of services - with detailed cases
At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions
Batch insert data using MySQL bulkloader
OpenSSL client programming: SSL session failure caused by an obscure function
JPA踩坑系列之save方法
基于微信小程序的高校党员之家服务管理系统系统小程序#毕业设计,党员,积极分子,学习,打卡,论坛
Leetcode 989. Integer addition in array form (simple)