歡迎您光臨本站 註冊首頁

pvfs2安裝使用問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

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
msgpair failed, will retry: Connection refused
msgpair failed, will retry: Connection refused
msgpair failed, will retry: Connection refused
msgpair failed, will retry: Connection refused
msgpair failed, will retry: Connection refused
msgpair failed, will retry: Connection refused
*** msgpairarray_completion_fn: msgpair to server failed: Connection refused
*** 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...
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 這些是不是一定要先安裝?但是我編譯的時候不通過,沒編譯成功

懇望回復,謝謝了
《解決方案》

偶然的情況下發現了linux安裝包有libaio和伯克利db的包(redhat as4,open suse都有,估計其他發行版也有),用suse sled 10 重裝了系統,把libaio和db包裝上了,重新編譯安裝pvfs2,重於沒問題了,唉····這好消息也來得太遲了

[火星人 ] pvfs2安裝使用問題已經有425次圍觀

http://coctec.com/docs/service/show-post-8926.html