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 client?"

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.

Thanks,
-crispy
<Defaults>
        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
</Defaults>

<Aliases>
        Alias wongburger tcp://wongburger:3334
</Aliases>

<Filesystem>
        Name fs1
        ID 259856182
        RootHandle 1000
        FileStuffing yes
        <MetaHandleRanges>
                Range wongburger 3-10000
        </MetaHandleRanges>
        <DataHandleRanges>
                Range wongburger 10001-20000
        </DataHandleRanges>
        <StorageHints>
                TroveSyncMeta yes
                TroveSyncData no
                TroveMethod alt-aio
        </StorageHints>
</Filesystem>

<Filesystem>
        Name fs2
        ID 259856183
        RootHandle 150000
        FileStuffing yes
        <MetaHandleRanges>
                Range wongburger 100000-199999
        </MetaHandleRanges>
        <DataHandleRanges>
                Range wongburger 200000-299999
        </DataHandleRanges>
        <StorageHints>
                TroveSyncMeta yes
                TroveSyncData no
                TroveMethod alt-aio
        </StorageHints>
</Filesystem>
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to