pvfs2安装使用问题
pvfs2版本1.5.1
安装环境 RedHat AS4
条件:已安装DB4.4.20, 其他未安装
安装pvfs2
./configure -with-kernel=/usr/src/kernels/2.6.9-22.EL-i686/
返回信息
``````
checking for db library... db
checking for dbenv parameter to DB error callback function... no
checking for DB stat with malloc function ptr... no
checking for txnid parameter to DB stat function... no
checking for txnid parameter to DB open function... yes
checking for DB_DIRTY_READ flag... yes
checking for DB_BUFFER_SMALL error... no
`````````
***** Displaying PVFS2 Configuration Information *****
------------------------------------------------------
PVFS2 configured to build karma gui : no
PVFS2 configured to use epoll : yes
PVFS2 configured to perform coverage analysis : no
PVFS2 configured for aio threaded callbacks : yes
PVFS2 configured for the 2.6.x kernel module : yes
PVFS2 configured for the 2.4.x kernel module : no
PVFS2 configured for using the mmap-ra-cache : no
PVFS2 configured for using trusted connections : no
PVFS2 configured for a thread-safe client library : yes
PVFS2 will use workaround for redhat 2.4 kernels : no
PVFS2 will use workaround for buggy NPTL : no
PVFS2 server will be built : yes
PVFS2 version string: 1.5.1
``````
make
make install
这些步骤完成后根据文档pvfs2-quickstart上配置完
然后在执行pvfs2-ping -m /mnt/pvfs2 时,返回
(1) Parsing tab file...
(2) Initializing system interface...
(3) Initializing each file system found in tab file: /etc/fstab...
PVFS2 servers: tcp://hinku:3334
Storage name: pvfs2-fs
Local mount point: /mnt/pvfs2
[E 15:34:08.838952] msgpair failed, will retry: Connection refused
[E 15:34:10.845603] msgpair failed, will retry: Connection refused
[E 15:34:12.857356] msgpair failed, will retry: Connection refused
[E 15:34:14.865048] msgpair failed, will retry: Connection refused
[E 15:34:16.873689] msgpair failed, will retry: Connection refused
[E 15:34:18.884374] msgpair failed, will retry: Connection refused
[E 15:34:18.884505] *** msgpairarray_completion_fn: msgpair to server [UNKNOWN] failed: Connection refused
[E 15:34:18.884533] *** Out of retries.
/mnt/pvfs2: FAILURE!
Failure: could not initialze at least one of the target file systems.
(4) Searching for /mnt/pvfs2 in pvfstab...
[E 15:34:18.884630] Error: /mnt/pvfs2/ resides on a PVFS2 file system that has not yet been initialized.
Failure: could not find filesystem for /mnt/pvfs2 in pvfs2tab /etc/fstab
Entry 0: /mnt/pvfs2
后面再 make kmod, make kmod_install
也把pvfs2.ko load 到内核中,也把pvfs2-client运行起来了,重新ping 还是返回上面的信息
mount -t pvfs2 tcp://hinku:3334:/pvf2-fs /mnt/pvfs2 的时候也是返回:
mount: 拒绝连接
这是什么问题啊?我搭建系统用了很久时间了,都还是搭建不起来,希望有人指点一下,告诉我出什么问题了
pthreads 还有 libposix-aio 这些是不是一定要先安装?但是我编译的时候不通过,没编译成功
恳望回复,谢谢了
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
偶然的情况下发现了linux安装包有libaio和伯克利db的包(redhat as4,open suse都有,估计其他发行版也有),用suse sled 10 重装了系统,把libaio和db包装上了,重新编译安装pvfs2,重于没问题了,唉····这好消息也来得太迟了