[PVFS-users] Re: FileZilla with pvfs
Rob Ross
rross at mcs.anl.gov
Fri Jun 25 09:53:15 EDT 2004
Applied; thanks!
Rob
On Fri, 4 Jun 2004, Murali Vilayannur wrote:
>
> Hi Rob,
>
> You are right! Attached a patch that fixes the problem with sftp's
> directory listing.
> Hope this helps Hsieh.
>
> Thanks
> Murali
>
> P.S: The attached test program is a simulation of sftps ls behaviour
> Compile it and run as follows
>
> ./a.out <any mounted filesystem path> should print exactly 1 directory
> listing. With a PVFS mounted file system you would see 10 duplicate
> directory listings.
> With this patch, the test program (and hence the behaviour of sftp)
> starts working fine.
>
>
> On Fri, 4 Jun 2004, Rob Ross wrote:
>
> > It would be interesting to get an strace of the sftp server so that we can
> > see what is going wrong. Clearly there is something a little off, either
> > an assumption that the sftp server is making about directory read
> > semantics, or something that we haven't gotten quite right.
> >
> > Regards,
> >
> > Rob
> >
> > On Fri, 4 Jun 2004, Nathan Poznick wrote:
> >
> > > Thus spake Hsieh Tsan Lung:
> > > >
> > > > Under Linux version 2.4.20-28.7smp, it has a command /usr/bin/sftp
> > > > [root at cafadmin root]# sftp MY_PC_IP
> > > > Connecting to MY_PC_IP...
> > > > root at MY_PC_IP's password:
> > > > sftp> cd /var/www/html/pvfs
> > > > sftp> ls
> > > > Once I execute command ls, it will show the list of files and directories.
> > > > But this list will not end.
> > > >
> > > > What I mean is that this list will be displayed in a loop, No ending.
> > > >
> > > > So this is why FileZilla is stoped when it execute ls.
> > >
> > > I can confirm that this occurs, however my instinct is that it is not a
> > > PVFS issue, but rather some oddity in the way that the sftp server reads
> > > a directory listing. ls, ftp servers, web servers all can get a
> > > directory listing on PVFS without being confused, so it seems that sftp
> > > is the only thing which can't.
> >
> > _______________________________________________
> > PVFS-users mailing list
> > PVFS-users at www.beowulf-underground.org
> > http://www.beowulf-underground.org/mailman/listinfo/pvfs-users
> >
> >
>
More information about the PVFS-users
mailing list