[Pvfs2-developers] Problem with PINT_cached_config

Bradley W Settlemyer bradles at parl.clemson.edu
Wed Aug 2 15:50:49 EDT 2006


Hello

   I'm having a problem with detecting the number of IO servers -- it 
doesn't make any sense.  Here is a program sample:

bradles at speed:~:71> software/pvfs2/bin/pvfs2-cp pvfs2.patch 
/parl/bradles/software/pvfs2/mnt/foo.3
BWS: num_io: -1075277896
BWS get_num_io: 1
BWS - num_dfiles: 1
bradles at speed:~:72>

I've added debug statements to the calls to 
PINT_cached_config_get_num_io_servers and PINT_cached_config_get_num_dfiles

As you can see, the number of IO servers returned by 
PINT_cached_config_get_num_io_servers is -1075277896??

To reproduce, copy a file larger than 64KB into a multiserver PVFS2 file 
system and see if it places any data on the second server.  It should. 
Otherwise the number of dfiles has been set to 1, even though it should 
be 2 (at least according to my knowledge of PVFS2).

Is it possible I've screwed up my config files somehow?  I've attached 
them, just to be certain.

Cheers,
Brad
-------------- next part --------------
<Defaults>
	UnexpectedRequests 50
	LogFile /tmp/pvfs2-server-nodes.log
	EventLogging server
	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 node1 tcp://localhost:3334
	Alias node2 tcp://localhost:3335
</Aliases>

<Filesystem>
	Name pvfs2-fs
	ID 67789810
	RootHandle 1048576
	<MetaHandleRanges>
		Range node2 4-2147483650
	</MetaHandleRanges>
	<DataHandleRanges>
		Range node1 2147483651-4294967297
	</DataHandleRanges>
	<StorageHints>
		TroveSyncMeta yes
		TroveSyncData no
	</StorageHints>
</Filesystem>
-------------- next part --------------
tcp://localhost:3334/pvfs2-fs /parl/bradles/software/pvfs2/mnt pvfs2 default 0 0
-------------- next part --------------
StorageSpace /sandbox/bradles/pvfs2-storage-node1
HostID "tcp://localhost:3334"
LogFile /tmp/pvfs2-server-node1.log
-------------- next part --------------
StorageSpace /sandbox/bradles/pvfs2-storage-node2
HostID "tcp://localhost:3335"
LogFile /tmp/pvfs2-server-node2.log


More information about the Pvfs2-developers mailing list