Hi,

Thank you for providing the output. You will want to create a file named
DB_CONFIG in /pvfs2-storage-space/55a24509/. You will place the Berkeley DB
configuration options you want to use in that DB_CONFIG file.

After creating the DB_CONFIG file you will need to restart the pvfs2-server
process. You  can refer to the previous messages from Phil C. on how to
kill and start a new pvfs2-server process, when that new server process
initializes it's Berkeley DB environment it will read the DB_CONFIG file.

You do not need to run make. make is used to compile the PVFS2 source code.
The addition of a DB_CONFIG file to the directory will be recognized
without changing or rebuilding the programs.

Michsel

2011/12/15 g_p g_p <[email protected]>

>
> Hello,
>
> i executed the command "ls -al /pvfs2-storage-space"
>
> and the output is
>
> drwxrwxrwx  3 root root 4096  .
> drwxr-xr-x 26 root root 4096   ..
> drwxr-xr-x  4 root root 4096  55a24509
> -rw-------  1 root root 8192  collections.db
> -rw-------  1 root root 8192  storage_attributes.db
>
> So, am i going to create a new file named DB_CONFIG file
> in /pvfs2-storage-space and use some methods inside?
> Cause in the folder there is no db_config file.
>
> If i create the db_config file, is the pvfs2-server going to see the new
> updates for berkeley?
> Shall i do any "make" after i do the updates?
>
> Thanks, in advance
> ------------------------------
> Date: Wed, 14 Dec 2011 18:16:56 -0500
>
> Subject: Re: [Pvfs2-users] Where it the DB_CONFIG file of berkeley db
> located under pvfs?
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
> /pvfs2-storage-space is the default StorageSpace value, so we'll use that.
> I'm not 100% sure what the layout of /pvfs2-storage-space was back in
> 2.8.1. Please run "ls -al /pvfs2-storage-space" on one of the metadata
> servers.
>
> Thanks,
> Michael
>
> 2011/12/14 g_p g_p <[email protected]>
>
>
>
> Hello
>
> and thanks for replying.
> Actually, i don't have any directory named orangefs.
> I have downloaded the version pvfs-2.8.1 and the  *version 4.8.30 *of
> Berkeley db.
> In* /pvfs2-storage-space *there are some files such as
> collection_attributes.db,dataspace_attributes.db,  log.0000000005 etc
>
> In /pvfs2-storage-space there is no DB_CONFIG file.
>
> 1) Shall i create a DB_CONFIG file in that specific dir /pvfs2-storage-space
> for berkeley db?
> 2) Is  berkeley going to read that specific configuration when in starts?
> 3) Shall i use "make" or "make install" after i make the modifications to
> the db_config file? (shall i do these modifications to every metadata
> server?)
> 4) Is /pvfs2-storage-space used in order to store the metadata of each
> metadata server?
>
> Thanks, in advance
>
>
>
> ------------------------------
> Date: Tue, 13 Dec 2011 09:57:33 -0500
> Subject: Re: [Pvfs2-users] Where it the DB_CONFIG file of berkeley db
> located under pvfs?
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
> Hi,
>
> Berkeley DB should be searching DB_HOME for a DB_CONFIG file. In OrangeFS,
> DB_HOME is the MetadataStorageSpace (or StorageSpace value in older
> versions) plus a sub directory whose name is a hex value. An example of
> DB_HOME, assuming MetadataStorageSpace is set to /orangefs/meta, would be
> /orangefs/meta/783070ef. So, place your DB_CONFIG in that directory and you
> should be good.
>
> One another note, I'm don't know what parameters you're interested in
> changing but some (cache size and type) can be configured through the
> OrangeFS configuration file.
>
> Good luck,
> Michael
>
> 2011/12/11 g_p g_p <[email protected]>
>
>  Hello,
>
> i'm using PVFS and i would like to make some modifications in the Berkeley
> configuration file
> of PVFS.
>
> I'm using db4.8.30 Berkeley db.
>
> All the metadata servers consist of a file named pvfs2-server
> which is located under /usr/sbin/ directory.
>
> If we open that specific file "/usr/sbin/pvfs2-server" we see some
> methods of berkeley database in it(with some flags set). Of course, the
> file has some
> non-readable characters but if we read some lines carefully, we can
> recognise
> that there are methods of berkeley in it.
>
> I would like to make some modifications in the Berkeley db of pvfs. As i
> have read in the documentations i shall modify the DB_CONFIG file in the db
> home directory but i can't find that file "DB_CONFIG".
>
> Where can i locate the DB_CONFIG file of PVFS in order to make some
> modifications?
> Also, shall i modify all the DB_CONFIG files of all the metadata
> servers,datanodes and clients?
>
> Thanks, in advance!
>
> _______________________________________________
> Pvfs2-users mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>
>
>
>
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to