Hi,
I am a PVFS novice. I compile and install PVFS as the pvfs-quick-start-guide 
introduced. I installed MPICH2 with pvfs2 support in /usr/local and it can run 
either in root or ordinary account, I install PVFS2 in /root/pvfs-install. I 
configure meta-server ,  data-server and client all in my laptop. Everything 
works right until I configure the client.  The command and responses are like 
below:

r...@wangdi:~/pvfs-install# ./sbin/pvfs2-server /etc/pvfs2-fs.conf -f
[S 02/05 11:44] PVFS2 Server on node WANGDI version 2.7.1 starting...
[E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation 
flag on key DBT
[E 02/05 11:44] error in dspace create (db_p->get failed).
[E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation 
flag on key DBT
[E 02/05 11:44] error in dspace create (db_p->get failed).
[E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation 
flag on key DBT
[E 02/05 11:44] error in dspace create (db_p->get failed).
[E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation 
flag on key DBT
[E 02/05 11:44] error in dspace create (db_p->get failed).
[D 02/05 11:44] PVFS2 Server: storage space created. Exiting.
r...@wangdi:~/pvfs-install# ./sbin/pvfs2-server /etc/pvfs2-fs.conf
[S 02/05 11:31] PVFS2 Server on node WANGDI version 2.7.1 starting...
r...@wangdi:~/pvfs-install# ./bin/pvfs2-ping -m /mnt/pvfs2

(1) Parsing tab file...

(2) Initializing system interface...

(3) Initializing each file system found in tab file: /etc/pvfs2tab...

   PVFS2 servers: tcp://WANGDI:3334
   Storage name: pvfs2-fs
   Local mount point: /mnt/pvfs2
[E 10:23:23.222381] msgpair failed, will retry: Connection refused
[E 10:23:25.231811] msgpair failed, will retry: Connection refused
[E 10:23:27.241490] msgpair failed, will retry: Connection refused
[E 10:23:29.242790] msgpair failed, will retry: Connection refused
[E 10:23:31.250513] msgpair failed, will retry: Connection refused
[E 10:23:33.259621] msgpair failed, will retry: Connection refused
[E 10:23:33.259697] *** msgpairarray_completion_fn: msgpair to server [UNKNOWN] 
failed: Connection refused
[E 10:23:33.259729] *** 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 10:23:33.259818] 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/pvfs2tab
Entry 0: /mnt/pvfs2
r...@wangdi:~/pvfs-install/bin# 

I check /tmp/pvfs2-server.log 

/tmp/pvfs2-server.log

[D 02/05 10:15] PVFS2 Server version 2.7.1 starting.
[E 02/05 10:15] Error: handle 0 is invalid (out of bounds)
[E 02/05 10:15] Error adding handle range 
3-4611686018427387904,4611686018427387905-9223372036854775806 to filesystem 
pvfs2-fs
[E 02/05 10:15] Error: Could not initialize server interfaces; aborting.
[E 02/05 10:15] Error: Could not initialize server; aborting.

I do not understand how this problem occurred and where the handle 0 comes  
from.

my configuration file are like below:
/etc/pvfs2tab
tcp://WANGDI:3334/pvfs2-fs /mnt/pvfs2 pvfs2 defaults,noauto 0 0

/etc/pvfs2-fs.conf

<Defaults>
    UnexpectedRequests 50
    EventLogging none
    LogStamp datetime
    BMIModules bmi_tcp
    FlowModules flowproto_multiqueue
    PerfUpdateInterval 1000
    ServerJobBMITimeoutSecs 30
    ServerJobFlowTimeoutSecs 30
    ClientJobBMITimeoutSecs 300
    ClientJobFlowTimeoutSecs 300
    ClientRetryLimit 5
    ClientRetryDelayMilliSecs 2000

    StorageSpace /pvfs2-storage-space
    LogFile /tmp/pvfs2-server.log
</Defaults>

<Aliases>
    Alias WANGDI tcp://WANGDI:3334
</Aliases>

<Filesystem>
    Name pvfs2-fs
    ID 1169388222
    RootHandle 1048576
    <MetaHandleRanges>
        Range WANGDI 3-4611686018427387904
    </MetaHandleRanges>
    <DataHandleRanges>
        Range WANGDI 4611686018427387905-9223372036854775806
    </DataHandleRanges>
    <StorageHints>
        TroveSyncMeta yes
        TroveSyncData no
    </StorageHints>
</Filesystem>


also I install ubuntu 8.10 desktop edition
r...@wangdi:~/pvfs-install# uname -r
2.6.27-11-generic

Appreciate your responses.




      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to