Phil:

I did add the Distribution context to my pvfs2-fs.conf , and restarted
the server nodes, and received an "Option cant be defined in that
context" error.
The error points to the Filesystem context, maybe indicating that I
cannot declare the distribution sub-context here (?)

I have attached the error and a copy of my pvfs2-fs.conf

The error comes up when I create a storage space.

[I have 4 storage servers and 1 MDS. I tried by reconfiguring storage
and restarting the servers and the error persists. It also says that the
host names must be consistent [see log] . Thats strange since otherwise,
the servers start fine, without the Distribution context defined]

Nirmal

Phil Carns wrote:
> Hi Nirmal,
>
> I think that you can use the same mechanisms to set distribution
> parameters in 1.5.1 as in our newer releases.
>
> There is some information here about how to set the strip size at run
> time for a particular directory (no need to recompile):
>
> http://www.pvfs.org/fisheye/browse/PVFS/doc/pvfs2-tuning.tex?r=1.2#l208
>
> You can also set a default for the whole file system in your server
> configuration file by adding a section that looks like this into your
> <Filesystem> section:
>
>     <Distribution>
>         Name simple_stripe
>         Param strip_size
>         Value 4194304
>     </Distribution>
>
> -Phil
>
> Nirmal Thacker wrote:
>> Hello
>>
>> I am using PVFS2-1.5.1 and as far as I know, to modify the default
>> stripe size of PVFS2, I must modify the header
>> include/pvfs2-dist-simple-stripe.h .
>>
>> Strangely , I did so and rebuilt the source, yet the pvfs2-viewdist
>> still shows me the default striping for any new files created with the
>> modified pvfs2 build!
>>
>> Nirmal
>>
>>
>> _______________________________________________
>> Pvfs2-users mailing list
>> [email protected]
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
>

[D 12:50:55.714082] PVFS2 Server version 1.5.1 starting.
[E 12:50:55.718348] Error: /home/thacker/etc/pvfs2-fs.conf line 47: Option 
can't be defined in that context[E 11/04 12:50] Could not find handle range for 
host (null)
[E 11/04 12:50] Please make sure that the host names in 
/home/thacker/etc/pvfs2-fs.conf and /home/thacker/etc/pvfs2-server.conf-node23 
are consistent
[D 11/04 12:50] PVFS2 Server: storage space created. Exiting.
<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 node15 tcp://node15:3334
        Alias node23 tcp://node23:3334
        Alias node24 tcp://node24:3334
        Alias node27 tcp://node27:3334
        Alias node28 tcp://node28:3334
</Aliases>

<Filesystem>
        Name pvfs2-fs
        ID 299784600
        RootHandle 1048576
        <MetaHandleRanges>
                Range node15 4-858993461
        </MetaHandleRanges>
        <DataHandleRanges>
                Range node23 858993462-1717986919
                Range node24 1717986920-2576980377
                Range node27 2576980378-3435973835
                Range node28 3435973836-4294967293
        </DataHandleRanges>
        <StorageHints>
                TroveSyncMeta yes
                TroveSyncData no
        </StorageHints>
        <Distribution>
                Name    simple_stripe
                Param   strip_size
                Value   1048576
        </Distribution>
</Filesystem>
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to