免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2767 | 回复: 1
打印 上一主题 下一主题

pvfs2安装使用问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-24 15:44 |只看该作者 |倒序浏览
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 这些是不是一定要先安装?但是我编译的时候不通过,没编译成功

恳望回复,谢谢了

论坛徽章:
0
2 [报告]
发表于 2006-10-26 20:09 |只看该作者
偶然的情况下发现了linux安装包有libaio和伯克利db的包(redhat as4,open suse都有,估计其他发行版也有),用suse sled 10 重装了系统,把libaio和db包装上了,重新编译安装pvfs2,重于没问题了,唉····这好消息也来得太迟了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP