Hello,

On Wed, 22 Feb 2012 10:45:56 -0500 Becky Ligon wrote:
> Let us know how it goes.

It goes not that well. For now I test on a double server setup on a
single host (kernel 3.1.10).

I can't get varstrip_dist to work at all. Due to some unknown issue
Value of the Parameter varstrip_dist is not recognized. I attached
configuration files for both daemons. On attempt to create any file
in client's log I got this:

[E 08:10:06.767328] ERROR: Parameter 'strips' empty!
[E 08:10:06.767363] Error: missing manditory parameters to varstrip_dist 
distribution.
[E 08:10:06.767371] Error: distribution failure for 2 servers and 0 requested 
datafiles.
[E 08:10:06.767379] Error: failed to get number of data servers
[E 08:10:06.767389] Posting file create failed: Invalid argument
[E 08:10:06.767397] Post of op: PVFS2_VFS_OP_CREATE failed!
[E 08:10:06.767411] Operation failed: (null)

But as you can see strips is provided with a value:
        <Distribution>
               Name varstrip_dist
               Param strips
               Value 0:128K; 1:32K;
        </Distribution>

Maybe some parser problem, I haven't debugged this. This problems
occurs without any patches from my side.

On the bright side I implemented LayoutAlgo option to specify default
data layout in the config file in the Defaults section. It seems to work
well, tested with default simple_stripe distribution. Option accepts
following values:
    none, round-robin, random;
no support for the list layout as this will overcomplicate code and is
questionably needed. Patch is attached.

Best regards,
Andrew Savchenko
<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 0,32,512,32,32,32,0
        PrecreateLowThreshold 0,16,256,16,16,16,0

        DataStorageSpace /pvfs2-storage-space-2nd
        MetadataStorageSpace /pvfs2-storage-space-2nd

        LogFile /var/log/pvfs2/server.2nd.log
</Defaults>

<Aliases>
        Alias subaru tcp://subaru:3334
        Alias subaru-2nd tcp://subaru:3335
</Aliases>

<Filesystem>
        Name pvfs2-fs
        ID 940935963
        RootHandle 1048576
        FileStuffing yes
        <MetaHandleRanges>
                Range subaru 3-2305843009213693953
                Range subaru-2nd 2305843009213693954-4611686018427387904
        </MetaHandleRanges>
        <DataHandleRanges>
                Range subaru 4611686018427387905-6917529027641081855
                Range subaru-2nd 6917529027641081856-9223372036854775806
        </DataHandleRanges>
        <StorageHints>
                TroveSyncMeta no
                TroveSyncData no
                TroveMethod alt-aio
        </StorageHints>
        <Distribution>
               Name varstrip_dist
               Param strips
               Value 0:128K; 1:32K;
        </Distribution>
</Filesystem>
<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 0,32,512,32,32,32,0
        PrecreateLowThreshold 0,16,256,16,16,16,0

        DataStorageSpace /pvfs2-storage-space
        MetadataStorageSpace /pvfs2-storage-space

        LogFile /var/log/pvfs2/server.log
</Defaults>

<Aliases>
        Alias subaru tcp://subaru:3334
        Alias subaru-2nd tcp://subaru:3335
</Aliases>

<Filesystem>
        Name pvfs2-fs
        ID 940935963
        RootHandle 1048576
        FileStuffing yes
        <MetaHandleRanges>
                Range subaru 3-2305843009213693953
                Range subaru-2nd 2305843009213693954-4611686018427387904
        </MetaHandleRanges>
        <DataHandleRanges>
                Range subaru 4611686018427387905-6917529027641081855
                Range subaru-2nd 6917529027641081856-9223372036854775806
        </DataHandleRanges>
        <StorageHints>
                TroveSyncMeta no
                TroveSyncData no
                TroveMethod alt-aio
        </StorageHints>
        <Distribution>
               Name varstrip_dist
               Param strips
               Value 0:128K; 1:32K;
        </Distribution>
</Filesystem>

Attachment: orangefs-2.8.5-layout.patch
Description: Binary data

Attachment: pgpQ8LnLlkqTy.pgp
Description: PGP signature

_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to