Hi, Patch works:) But I have a problem with distributing data. I set jitter variable in PINT_cached_config_get_next_io to a constant value. When I write a file with "0:4M" the file was written to the machine that I expected. But I can't figure out that how can I write data to a specific machine. My cluster has 4 nodes, master, node1, node2 and node3. When I set jitter to 0, "0:4M" writes data to node2. Which stiping string should I use in order to write data to node1? "2:4M" or "1:4M" results in the following error:
ERROR in varstrip distribution: The strip partitioning string must contain all data file numbers from 0 to the highest one specified! Thanks. On 11/22/05, Murali Vilayannur <[EMAIL PROTECTED]> wrote: > Hi, > Could you give the attached patch a go and see if it works out? > All it does is print the servers that hold chunks/strips of a file (both > for the VFS and system interface users) using xattrs. > Patch is against CVS. > P.S: RobR, I noticed that we arenot setting the fs_id field of the > statfs structure (statfs/fstatfs system call). Is/are there any > reason/reasons for not doing so? > I need that change to have VFS clients know the fs_id. > Thanks > Murali > > On Mon, 21 Nov 2005, Hamza KAYA wrote: > > > Hi, > > Thank you for the code. It works great:) I was able to find the > > distribution parameters of a file which was created by varstrip-dist. > > So by setting the jitter variable to a constant value in > > PINT_cached_config_get_next_io, I'll be able to find the physical > > mapping of a file to the datanodes, at least I hope so:) am I wrong? > > > > Thanks very much. > > > > P.S.: > > I posted this mail directly to Murali. So I re-post it to the list. > > Sorry for the inconvenience. > > > > -- > > Hamza > > > > On 11/18/05, Murali Vilayannur <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Does the attached program tell you the distribution at least? Compile it > > > like you compile pvfs2-cp or some other program. It uses the VFS fgetxattr > > > system call or the PVFS2 pvfs_sys_geteattr. > > > If it works, then I will work on it some more and print out more of > > > the information that you wanted... > > > Thanks, > > > Murali > > > > > > On Fri, 18 Nov 2005, Hamza KAYA wrote: > > > > > > > Hi, > > > > > > > > Using PVFS2 system calls I was able to apply the varstrip > > > > distribution. Using pvfs2-fs-dump I can see the results. But I can't > > > > find out the reverse operation. I mean how can I learn the > > > > distribution of a file or the physical location of a given file using > > > > system calls? > > > > > > > > -- > > > > hamza > > > > > > > > _______________________________________________ > > > > 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
