[Pvfs2-users] storage pattern of PVFS2

Rob Ross rross at mcs.anl.gov
Tue Jan 15 21:12:09 EST 2008


http://www.pvfs.org/doc/pvfs2-faq/index.php#SECTION00075000000000000000

6.5.2 Distribution parameters

Some distributions allow you to set parameters that impact how the  
distribution behaves. These parameters can be set as follows:

prompt# setfattr -n "user.pvfs2.dist_params" -v "strip_size:4096" /mnt/ 
pvfs2/directory

You can specify more than one "parameter:value" pair by seperating  
them with commas.

6.5.3 Number of datafiles

You can also specify the number of datafiles to stripe across:

prompt# setfattr -n "user.pvfs2.num_dfiles" -v "1" /mnt/pvfs2/directory

PVFS defaults to striping files across each server in the file system.  
However, you may find that for small files it is advantages to limit  
each file to only a subset of servers (or even just one).


On Jan 15, 2008, at 8:01 PM, Wang Yu wrote:

> Hi, all
> Now I have three IO servers and one  metadata server and multiple  
> clients. When I write a file in one client, how can I control this  
> file is stored into one IO server or all IO servers. Namely, how do  
> single and stripe storage pattern in pvfs2 work? and how to tune the  
> stripe size?
> Would you please tell me about the storage pattern of pvfs2? or some  
> documents will be appreciated!
> Thanks!
>
> -- 
> National Research Center for Intelligent Computing Systems
> Institute of Computing Technology, Chinese Academy of Sciences  
> _______________________________________________
> 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