Hi folks,

I'm testing PVFS2, and one of the things I want to do is to control in which I/O node a specific file will be stored. With the "simple stripe" distribution, I can create a directory and specify for it 1 as the number of datafiles to be used. The problem is that every file created in that directory is stored in a different I/O node in a round-robin fashion.

With the varstrip distribution, you can, in theory at least, indicate which I/O nodes, and which chunk size in every node, you want to use for a file. But this distribution does not work for me. I have tried the following:

   $ mkdir testdir
   $ setfattr -n "user.pvfs2.dist_name" -v "varstrip_dist" testdir
   $ setfattr -n "user.pvfs2.dist_params" -v "strips:1:512" testdir
   $ cp somefile testdir
   cp: writing `testdir/somefile': Unknown error 132

I have also tried to run:

   $ setfattr -n "user.pvfs2.dist_params" -v "1:512" testdir

but the cp command gets the same error.

Any clue? Is there any way to specific where I can store a file in PVFS2?

Thanks in advance,

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

Reply via email to