On 11/07/2011 04:32 PM, Rob Latham wrote:
On Mon, Nov 07, 2011 at 02:28:04PM -0600, Jibing Li wrote:
Hello everyone,
I installed pvfs2 in a cluster with 8 data storage servers, let's say
server 1 to server 8. I want to store two files, one of them stored in
server 1 to server 4, the other stored in server 5 to server 8. How can I
do this? The default layout is that, for each file it is stored across all
the servers by a round-robin fashion. I want to store as my owe data
layout. Thank you very much.
Does this url provide sufficient detail for you?
http://www.orangefs.org/documentation/releases/current/doc/pvfs2-faq/pvfs2-faq.php#sec:dir_tuning
==rob
This document has a little bit more detail on the specific distributions
that are available too:
http://www.pvfs.org/fisheye/browse/PVFS/doc/pvfs2-tuning.tex?r=1.2#l208
In addition to modifying the distribution or the number of data files,
you can also force the files to land on specific servers using a custom
layout. The pvfs2-touch tool can be used to create files like this, for
example:
pvfs2-touch -l tcp://hostA:3334,tcp://hostB:3334,tcp://hostC:3334
Unfortunately I don't think there is an xattr interface for that
functionality, though. You have to either create the files ahead of
time using pvfs2-touch to dictate the layout, or else use the PVFS
system interface directly.
-Phil
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users