On Tue, Oct 16, 2012 at 12:30:22AM +0400, Andrew Savchenko wrote:
> > # cat /etc/pvfs2tab
> > tcp://p9ea1:3334/pvfs2-fs /pvfsarea/pp pvfs2 defaults,noauto 0 0
> > # pvfs2-mkdir /pvfsarea/pp/testdir
> > # pvfs2-mkdir /pvfsarea/pp/testdir/testdir
> > # pvfs2-ls /pvfsarea/pp/testdir/some_random_string
> > PVFS_sys_lookup: No such file or directory (error class: 0)
> > # pvfs2-ls /pvfsarea/pp//testdir/some_random_string
> > #
> > # pvfs2-ls /pvfsarea/pp/testdir/another_random_string
> > PVFS_sys_lookup: No such file or directory (error class: 0)
> > # pvfs2-ls /pvfsarea/pp////testdir/another_random_string
> > #
> > note that "pvfs2-ls" does not generate an error if I add the extra "/"
> > characters (and it should!).
> But it shouldn't. '/' is an equivalent to '//', '///', etc. You can
> try with ls on your local file system.
hi-
Not sure I follow you. I get an error irrespective of number
of slashes on my local filesystem:
% mkdir /tmp/pp
% mkdir /tmp/pp/testdir
% mkdir /tmp/pp/testdir/testdir
% ls /tmp/pp/testdir/some_random_string
ls: /tmp/pp/testdir/some_random_string: No such file or directory
% ls /tmp/pp/testdir//some_random_string
ls: /tmp/pp/testdir//some_random_string: No such file or directory
%
% ls /tmp/pp/testdir/another_random_string
ls: /tmp/pp/testdir/another_random_string: No such file or directory
% ls /tmp/pp/testdir////another_random_string
ls: /tmp/pp/testdir////another_random_string: No such file or directory
%
%
With the local FS I get 4 "No such file or directory" errors, but
with pvfs2-ls I only get 2 "No such file or directory" errors (and
I expected 4).
chuck
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users