[Pvfs2-users] Problems with varstrip distribution
Juan Piernas Canovas
juan.piernascanovas at pnl.gov
Fri Jan 12 19:46:00 EST 2007
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
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
$ 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,
More information about the Pvfs2-users