To get the file to reside on one specific server you could combine what Jeff said with directory/distribution settings, I believe you can set the number of data servers to be used down to 1, then you would want to touch the file using what Jeff mentioned to create it, and then write to it.
Something like this : setfattr -n user.pvfs2.num_dfiles -v 1 /mnt/orangefs/dir pvfs2-touch -l tcp://server001:3334 /mnt/orangefs/dir/testfile write your file afterwards. I havent tested this to know if it works so I'll let someone comment if it looks broken. Kyle Schochenmaier On Tue, Jan 7, 2014 at 8:45 AM, Jeffrey Denton <[email protected]> wrote: > Ricardo, what version of PVFS2 are you using? > > Without getting into the underlying data structures, you could use the > binary pvfs2-touch with its "-l" option to list the desired BMI address > where you want your blocks stored. ex: > > pvfs2-touch -l tcp://server001:3334 /mnt/orangefs/testfile > > You can then use the pvfs2-viewdist binary to verify your layout. ex: > > pvfs2-viewdist -f /mnt/orangefs/testfile > > If you want to know more about the current underlying data structures, > please let us know. > > Regards, > Jeff Denton > Developer > Clemson University > > > On Mon, Jan 6, 2014 at 3:41 PM, Ricardo Masashi Maeda < > [email protected]> wrote: > >> Hi, All, >> >> Sorry for the beginner question, but I was wondering if there's a way to >> have the old behaviour of PVFS1 to place a file on a specific node. >> >> In PVFS1 we could use the pvfs_filestat struct to place a file anywhere >> we wanted, using the attributes (base, pcount, ssize). In PVFS2, it seems >> that this struct definition was discontinued. >> >> Thank you. >> >> >> >> >> _______________________________________________ >> Pvfs2-users mailing list >> [email protected] >> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users >> >> > > _______________________________________________ > Pvfs2-users mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users > >
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
