[Pvfs2-users] Modifying stripe size does not show

Phil Carns carns at mcs.anl.gov
Wed Nov 5 10:37:27 EST 2008


This was a bug in our older releases.  You can try applying this patch 
to fix it if you are still stuck on 1.5.1:

http://www.pvfs.org/fisheye/rdiff/PVFS?csid=MAIN:slang:20070625220806&u&N

-Phil

Nirmal Thacker wrote:
> 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
>>> Pvfs2-users at beowulf-underground.org
>>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
> 



More information about the Pvfs2-users mailing list