[Pvfs2-users] Multiple data stores on one machine
Steve
steve at bov.nu
Fri Jan 12 09:45:38 EST 2007
Murali,
I ve started a new mail as formatting was messing up. Thanks for the help so
far :-)
/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 caos1 TCP://caos:3334
Alias caos2 TCP://caos:3335
</Aliases>
<Filesystem>
Name pvfs2-fs
ID 699094865
RootHandle 1048576
<MetaHandleRanges>
Range caos1 4-2147483650
</MetaHandleRanges>
<DataHandleRanges>
Range caos1 2147483651-4294967297
Range caos2 4294967298-6442450944
</DataHandleRanges>
<StorageHints>
TroveSyncMeta yes
TroveSyncData no
</StorageHints>
</Filesystem>
/etc/pvfs2-server.conf-caos1
StorageSpace /pvfs2-storage-space
HostID "TCP://caos:3334"
LogFile /tmp/pvfs2-server.log
/etc/pvfs2-server.conf-caos2
StorageSpace /pvfs2-storage-space
HostID "TCP://caos:3335"
LogFile /tmp/pvfs2-server.log
I then did
Pvfs2-server /etc/pvfs2-fs.conf /etc/pvfs2-server.conf-caos1 -f
Pvfs2-server /etc/pvfs2-fs.conf /etc/pvfs2-server.conf-caos2 -f
Then started 2 servers
Pvfs2-server /etc/pvfs2-fs.conf /etc/pvfs2-server.conf-caos1
Pvfs2-server /etc/pvfs2-fs.conf /etc/pvfs2-server.conf-caos2
Is that correct that I need to run 2 server daemons ?
The mount command then seems a little confusing
Mount -t pvfs2 TCP://caos:3334/pvfs2-fs /mnt/pvfs2
As you only reference one port.
In this instance I started with genconfig editing the files to get a
starting point. Can you explain the numbers and how a would choose the range
to add another files store ? Is it a simple as calculating the difference
from one range and adding that to last one used ?
Steve
More information about the Pvfs2-users
mailing list