[Pvfs2-users] error is setting up storage space for PVFS2 1.5.1
Greg Bruno
greg.bruno at gmail.com
Tue Jul 11 12:13:12 EDT 2006
i'm trying to setup pvfs2 v1.5.1 on an i386 machine running centos 4 update 3.
i've built pvfs2 in the following way:
./configure --prefix=/opt/pvfs2 --with-kernel=/usr/src/linux-2.6
make
make install
then, i run:
/opt/pvfs2/bin/pvfs2-genconfig /etc/pvfs2-fs.conf /etc/pvfs2-server.conf
and i take all the defaults (see the resulting configuration files below).
then, when i try to set up the storage space, i see:
/opt/pvfs2/sbin/pvfs2-server /etc/pvfs2-fs.conf
/etc/pvfs2-server.conf-localhost -f
[D 09:08:36.700649] PVFS2 Server version 1.5.1 starting.
[E 07/11 09:08] (null): Berkeley DB library configured to support only
DB_PRIVATE environments
[E 07/11 09:08] dbpf_getdb_env(//pvfs2-storage-space/5f591130/):
Invalid argument
it appears there may be an issue with pvfs2 and the berkeley db4 that
comes with centos 4 update 3. the berkeley db4 RPM on my system is one
that has been around since feb 2005:
---------------------
# rpm -qi db4
Name : db4 Relocations: (not relocatable)
Version : 4.2.52 Vendor: CentOS
Release : 7.1 Build Date: Mon 21 Feb
2005 05:29:26 PM PST
Install Date: Mon 10 Jul 2006 09:29:39 AM PDT Build Host:
guru.build.karan.org
Group : System Environment/Libraries Source RPM: db4-4.2.52-7.1.src.rpm
Size : 3539304 License: GPL
Signature : DSA/SHA1, Sat 26 Feb 2005 12:33:32 PM PST, Key ID a53d0bab443e1821
Packager : Karanbir Singh <kbsingh at centos.org>
URL : http://www.sleepycat.com/
Summary : The Berkeley DB database library (version 4) for C.
Description :
The Berkeley Database (Berkeley DB) is a programmatic toolkit that
provides embedded database support for both traditional and
client/server applications. The Berkeley DB includes B+tree, Extended
Linear Hashing, Fixed and Variable-length record access methods,
transactions, locking, logging, shared memory caching, and database
recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
used by many applications, including Python and Perl, so this should
be installed on all systems.
---------------------------
is there something i need configure with the standard centos 4 update
3 db4 RPM in order to eliminate the above error?
- gb
---------------------
/etc/pvfs2-fs.conf:
---------------------
<Defaults>
UnexpectedRequests 50
LogFile /tmp/pvfs2-server.log
EventLogging none
LogStamp datetime
BMIModules bmi_tcp
FlowModules flowproto_multiqueue
PerfUpdateInterval 1000
ServerJobBMITimeoutSecs 30
ServerJobFlowTimeoutSecs 30
ClientJobBMITimeoutSecs 300
ClientJobFlowTimeoutSecs 300
ClientRetryLimit 5
ClientRetryDelayMilliSecs 2000
</Defaults>
<Aliases>
Alias localhost tcp://localhost:3334
</Aliases>
<Filesystem>
Name pvfs2-fs
ID 1599672624
RootHandle 1048576
<MetaHandleRanges>
Range localhost 4-4294967297
</MetaHandleRanges>
<DataHandleRanges>
Range localhost 4294967298-8589934591
</DataHandleRanges>
<StorageHints>
TroveSyncMeta yes
TroveSyncData no
</StorageHints>
</Filesystem>
----------------
/etc/pvfs2-server.conf-localhost
----------------
StorageSpace /pvfs2-storage-space
HostID "tcp://localhost:3334"
LogFile /tmp/pvfs2-server.log
More information about the Pvfs2-users
mailing list