Hi Nasr,

Snipped from some FAQ
>>>
Why am I getting "Berkeley DB library configured to support only
DB_PRIVATE environments" or
"Berkeley DB library configured to support only private environments"?

Some distributors (for instance the Fedora Project) package Berkeley DB
with support for POSIX threading and hence POSIX mutexes, but your system
does not support POSIX mutexes (whether it does, depends on the kernel
version and exact processor type).

To work around this problem:

   1. download, compile and install Berkeley DB on your own and then
reconfigure:
         1. cd build_unix
         2. ../dist/configure --enable-cxx
         3. make
         4. make install
    2. then compile pvfs2
         1. configure --with-db=</path/to/db>
<<<<
I have no clue why centos distro disables posix mutexes by default unless
your CPU is so old ..

This thread talks about this issue at length (although it is a bit dated)
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91933
At this point your best bet is to download a new bdb source rpm and
rebuild it for a 486 processor or higher...
http://mirror.centos.org/centos/4/os/SRPMS/libdbi-0.6.5-10.RHEL4.1.src.rpm

We have had reports of problems in Centos with bdb and its (lack of) posix
mutexes support..
http://www.mail-archive.com/[email protected]/msg00411.html
Let us know if any of the above works out for you!
thanks again!
Murali


On Sun, 17 Sep 2006, Nasr Y.M.J.O. wrote:

> Sorry I forgot to mention this in the just sent email. When I tried to build
> pvfs2 1.5.1, all the steps went through until I reached the step of creating
> the storage space:
>
> # /opt/pvfs2/sbin/pvfs2-server /etc/pvfs2-fs.conf
> /etc/pvfs2-server.conf-<frontend> -f
> PVFS2......starting
> [E....] (null): Berkeley DB library configured to support only DB_PRIVATE
> environments
> [E....] dbpf_getdb_env(//pvfs2-storage-space/....../):Invalid argument
>
> thanks
> nasr
>
>
> >From: Murali Vilayannur <[EMAIL PROTECTED]>
> >To: "Nasr Y.M.J.O." <[EMAIL PROTECTED]>
> >CC: [email protected]
> >Subject: Re: [Pvfs2-users] PVFS2 Too Slow
> >Date: Sun, 17 Sep 2006 10:14:21 -0500 (CDT)
> >
> >Hi Nasr,
> >
> > > This is my first experience with parallel filesystems. I compiled PVFS2
> > > 1.3.2 into a Rocks 4.1 cluster (Centos 4.2) following the quick start
> >guide.
> > > No errors encountered and all tests passed. My cluster is 1 frontend + 7
> > > compute nodes. I did the configuration so the frontend will act as a
> >meta
> > > data server as well as a client. All the 7 compute nodes act as IO
> >servers
> > > and clients.
> > >
> > > When I tried to test the kernel space by making a directory (e.g., mkdir
> > > /pvfs2/user) it tooks around 5 minutes to do that and the desktop panic.
> > > Similarly, when I ssh to one of the compute nodes and I run any command
> > > (e.g., ls, mkdir...).
> > >
> > > Is there any way to improve the performance? Im attaching below the
> >steps
> > > and configuration I followed in case I missed something. Apologies for
> >the
> > > long email.
> > >
> > > PS: I chose pvfs2 1.3.2 since I had an error when installing 1.5.1
> > > complaining about db (invalid argument). No changes in the configuration
> > > files generated by genconfig were made.
> >
> >
> >All the steps that you did look ok. However, pvfs2-1.3.2 is fairly old
> >and a lot of performance and stability fixes have gone in to our releases
> >since then.
> >Let's try to figure out why pvfs2 1.5.1 does not build for you
> >and then diagnose performance/stability issues from there..
> >Can you find out what version of berk db is installed on your cluster?
> >Perhaps our configure checks need to be tweaked on your setup to detect
> >things correctly..
> >thanks for the reports!
> >Murali
>
> _________________________________________________________________
> Block pop-up ads with MSN Toolbar. http://toolbar.msn.com.my/
>
>
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to