摘 要
分布式文件系统,在当今集群存储中起着重要的作用,其中moosefs更是当中的佼佼者,他是一种分布式网络系统,它分布在多个计算机节点上面,每个节点只会存储整个文件的一部分内容,它有多重备份,易于部署,方便扩容等诸多的优点,而且它能够统一接口,使用它就像使用普通的文件系统一样,而且它对小文件的处理,性能优秀。它采用当今主流的Master /Chunk 设计,而且有强大的日志功能,数据恢复更有保证。
本文所提及实现的是一个基于分布式文件系统的网盘,主要是通过大量的分布式存储节点提供存储服务,再通过指定的服务器进行挂在到本地,对外提供存储服务。提供统一的开放接口,提供给开发者使用。
此分布式网盘,可以提供数据自动备份,将数据备份为3份,备份到不同的节点至上,从而使得数据的安全性大大的提高。
整个开放分布式网盘,主要由三个部分组成,Moosefs,分布式网盘,分布式网盘开放接口。Moosefs主要提供分布式存储,备份,冗余等功能,分布式网盘主要提供逻辑上的操作,开放接口,是分布式网盘对外提供服务的桥梁,开发者通过API来使用分布式网盘,从而提高分布式网盘的使用范围。
关键字: 分布式文件系统 Moosefs 数据恢复 开放式
The Design And Implememt of a Distribute Filesystem
Jia Xiaokang
(College of Informatics, South China Agricultural University, Guangzhou 510642, China)
Abstract: The distributed file system plays an important role in today’s clustered storage, which moosefs is the leader among them, it is a distributed network system, it distribution in multiple computer take nodes above, each node only will store the entirepart of the contents of the file, it has multiple backup, easily deploy, convenient expansion, and it to unified interface, use it just like ordinary file system,and its small file handing, performance is excellent. It takes the Master/Chunk of today's mainstream design, and robust logging functionality, data recovery is more assured.
This article is a reference implementation of a distributed is a network-base distributed file system disk, primarily through a large number of distributed storage nodes providing storage services, and then by the specified server hanging on to local , to provide storage service.
This distributed network that provides automatic data backup, data backup 3, first backup to a different node so that greatly improve data security.
Open distributed Web site as a whole, is composed of three key components, Moosefs, distributed networks, distributed network of open interfaces. Moosefs primarily provide a distributed storage, backup, redundant functions, operation on a distributed network disk provides a logical, open interfaces, distributed Web site provides services that bridge developer API to use a distributed network, so as to improve the use of distributed network disk.
Key words: distributed file system; Moosefs; data recovery
5.4 数据恢复功能.....................................................................................................................39