[Pvfs2-users] multiple filesystems

Chris Poultney crispy at cs.nyu.edu
Wed Oct 20 14:38:19 EDT 2010

I'd like to set up two shares to be managed by the same PVFS server. 
I've read in the docs that I can have multiple filesystem entries in 
pvfs2-fs.conf, but I haven't been able to successfully do this. Does 
someone have an example config file with multiple filesystem entries 
that they can share?

More details:

I've successfully set up a single share based on the quick start guide. 
It's a four-node network: one metadata server, four i/o nodes. Nodes are 
identical, each 6x dual-core xeon, LAN connection, running ubuntu lucid. 
To generate the two-filesystem config file, I ran pvfs2-genconfig twice, 
then pasted the filesystem section from the second file into the first, 
making sure the Name and ID fields were unique. This was based on 3.9 in 
the PVFS2 FAQ, "Can I mount more than one PVFS file system on the same 

Using the two-filesystem config file, pvfs2-server -f works, but then 
pvfs2-server (with or without -d) ends immediately with a segfault. 
Nothing is written to the console or logfiles. I tried a different 
version of pvfs2-fs.conf with non-overlapping MetaHandleRange and 
DataHandleRange values for the two filesystems, but as I'm not exactly 
clear on what these do I'm not sure if that's the right approach. I've 
attached the conf file for a single-server test of two filesystems, with 
separate Range value.

-------------- next part --------------
	UnexpectedRequests 50
	EventLogging none
	EnableTracing no
	LogStamp datetime
	BMIModules bmi_tcp
	FlowModules flowproto_multiqueue
	PerfUpdateInterval 1000
	ServerJobBMITimeoutSecs 30
	ServerJobFlowTimeoutSecs 30
	ClientJobBMITimeoutSecs 300
	ClientJobFlowTimeoutSecs 300
	ClientRetryLimit 5
	ClientRetryDelayMilliSecs 2000
	PrecreateBatchSize 512
	PrecreateLowThreshold 256

	StorageSpace /pvfs2-storage-multi
	LogFile /tmp/pvfs2-multi-server.log

	Alias wongburger tcp://wongburger:3334

	Name fs1
	ID 259856182
	RootHandle 1000
	FileStuffing yes
		Range wongburger 3-10000
		Range wongburger 10001-20000
		TroveSyncMeta yes
		TroveSyncData no
		TroveMethod alt-aio

	Name fs2
	ID 259856183
	RootHandle 150000
	FileStuffing yes
		Range wongburger 100000-199999
		Range wongburger 200000-299999
		TroveSyncMeta yes
		TroveSyncData no
		TroveMethod alt-aio

More information about the Pvfs2-users mailing list