如今,面向网络的计算环境需要一种高性能、网络化的文件系统,这种文件系统既可满足个人的存储需求又可满足集群系统的文件共享需求。在实际应用中,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.gz,make注意:在安装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-genconfig,local
name地址。
(1)(2) 给Linux(3)下载Linux对linux-source-2.6.18.tar.gz,make 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构成高级安全框架
本文对比分析了NFS、PVFS和Lustre三种高性能分布式文件系统在安装配置、核心特性和适用场景方面的差异。详细介绍了在Redhat和Ubuntu环境下NFS、PVFS的安装步骤,并阐述了Lustre作为高性能并行文件系统的优越性,包括其克服传统分布式文件系统性能低、可靠性差、规模小的问题。
6037

被折叠的 条评论
为什么被折叠?



