Chuck: We have made some changes to our lookup code since 2.8.4. I will run your tests through the newer versions to see if the problems below still exist. Thanks for letting us know.
I'm not familiar with the pvfs2fuse interface, but we do have a library interface that we refer to as SYS calls. There are several examples in the src/apps/admin directory. Any call with the PVFS_sys prefix is the API to our pvfs2 library. pvfs2fuse may have needed more functionality than what is provided by the SYS calls. I will see if I can find the appropriate documentation for the SYS calls and I will look at the fuse interface to see if I can answer your questions below. Becky On Mon, Oct 15, 2012 at 4:40 PM, Chuck Cranor <[email protected]> wrote: > 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 > -- Becky Ligon OrangeFS Support and Development Omnibond Systems Anderson, South Carolina
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
