Murali,

I just found out that the pvfs-viewdist.c I got from a link posted in the pvfs2 user mailing list: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20051118/27e54a5c/pvfs2-viewdist-0001.bin

is different from the one attached in your email earlier. This is the one causing all my problem.

After trying your copy, my problem is solved. Here is an output:
  % pvfs2-viewdist -f /pvfs2/wkliao/testfile.dat
  dist_name = simple_stripe
  strip_size = 65536
  Number of datafiles/servers = 4
  Server 0 - tcp://c3:3334
  Server 1 - tcp://c4:3334
  Server 2 - tcp://c1:3334
  Server 3 - tcp://c2:3334

Thanks a lot.

Wei-keng





On Mon, 19 Dec 2005, Murali Vilayannur wrote:

Hi Wei-keng,
I couldn't reproduce this on any of my setups.
Could you upgrade pvfs2 to the cvs version and see if the problem
persists?
The viewdist program prints out "Not a meta file" if the getattr call
indicates that the given path name is not a file. Alternatively,
could you try mounting the PVFS2 file system and then run the same
viewdist program and see if you get similar errors?
Thanks,
Murali


On Fri, 16 Dec 2005, Wei-keng Liao wrote:

Murali,

I got a compilation errors complaining about:
error: attr/xattr.h: No such file or directory
warning: implicit declaration of function fgetxattr
warning: implicit declaration of function Ld

After commenting out xattr and adding define for Ld, it linked OK,
but when I ran it, an error message said
% pvfs2-viewdist -f /pvfs2/wkliao/testfile.dat
Not a meta file!
Could not open /pvfs2/wkliao/testfile.dat

but
% pvfs2-ls -l /pvfs2/wkliao/testfile.dat
-rw-r--r--    1 wkliao   users  262144 2005-12-02 15:39 testfile.dat


I am using pvfs2-1.3.1.

Wei-keng



On Fri, 16 Dec 2005, Murali Vilayannur wrote:

Hi,
Does the pvfs2-viewdist.c program work for you?
Do let us know,
Thanks,
Murali

On Thu, 15 Dec 2005, Wei-keng Liao wrote:


I am running a few I/O benchmarks by exercising different stripe sizes on
PVFS2. For each stripe size, I change
PVFS_DIST_SIMPLE_STRIPE_DEFAULT_STRIP_SIZE and rebuild PVFS2.

I need to verify the stripe size of a newly-created PVFS2 file.
Can someone provide such a utility? (pvfs2-stat supposes to but does not
provide such info.) Thanks.

Wei-keng Liao
_______________________________________________
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

Reply via email to