NFS、PVFS和Lustre文件系统的安装和性能评测

来源:互联网 发布:2016网络贷款平台排名 编辑:程序博客网 时间:2024/04/27 13:32
如今,面向网络的计算环境需要一种高性能、网络化的文件系统,这种文件系统既可满足个人的存储需求又可满足集群系统的文件共享需求。在实际应用中,NFS、PVFS文件系统越来越不能满足大规模计算需求。Lustre是一种高性能并行文件系统,它克服了传统分布式文件系统中性能低、可靠性差、规模小等问题。现通过在同一环境下分别安装NFS、PVFS和Lustre文件系统,然后评测它们的性能。其中在不同系统下的安装方法是不同的,在redhat下可通过rpm来安装,比较简单;在ubuntu下则有点复杂。
    一:NFS PVFS Lustre安装和配置
 
        1.NFS
l服务器端:
apt-get install portmap
apt-get install nfs-user-server
apt-get install nfs-kernel-server
服务
/etc/init.d/portmap start
/etc/init.d/nfs-user-server start
/etc/init.d/nfs-kernel-server start
l服务器端:
#vi /etc/exports客户端:
#vi /etc/fstab        安装
下载Berkeley DB(version 3 or 4)
aio support(provided by glibc and librt)
gcc 2.96 or newer
PVFS官网下载PVFS-2.7.1.tar.gzmake注意:在安装PVFS编译器的版本是否大于或等于2.96,这说明你虽然安装db-xx.tar.gz安装手册要求安装GNU启动服务器:#/usr/sbin/pvfs2-server /etc/pvfs2-fs.conf –f
                             #/usr/sbin/pvfs2-server /etc/pvfs2-fs.conf
                             #/etc/rc.d/init.d/pvfs2-server start
       注意:在实际的安装中,PVFS/usr/local/bin中。所以上面的目录对于有些机器是不一样的,在使用中可以去除目录直接使用命令即可。pvfs2-genconfiglocal name地址。
 
(1)(2)  给Linux(3)下载Linuxlinux-source-2.6.18.tar.gzmake mrproper(9)#(10)#     
#modprobe ldiskfsPVFS:静态配置,不能动态扩展
NFS:  “信任网络”<span times="" new="" roman';="" mso-hansi-font-family:="" 'times="" roman'"="" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 12pt; ">
PVFS:数据无容错机制
Lustre:MDS、OST、Client构成高级安全框架