Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 09:49:13 +0300
From:      Kimmo Paasiala <kpaasial@icloud.com>
To:        freebsd-stable@freebsd.org
Subject:   Odd problem with find(1) on FUSE sshfs mounted filesystems
Message-ID:  <996494CC-21F5-4476-8E5E-22F5E5E673DD@icloud.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I’m on FreeBSD stable/10 r267390 on one of my systems and on FreeBSD 10.0-RELEASE-p5 i386 on another one. Both exhibit a strange behaviour when find(1) is used on a FUSE sshfs mounted filesystems. This an excerpt of a log from such run (I mounted FreeBSD sources on /mnt using sshfs):

...
mnt/contrib/ofed/libmlx4/autogen.sh^M
/mnt/contrib/ofed/libmlx4/mlx4.driver^M
/mnt/contrib/ofed/libmlx4/config^M
/mnt/contrib/ofed/libmlx4/Makefile.am^M
/mnt/contrib/openresolv^M
find: /mnt/contrib/openresolv/pdnsd.in: No such file or directory^M
find: /mnt/contrib/openresolv/resolvconf.8.in: No such file or directory^M
find: /mnt/contrib/openresolv/resolvconf.conf.5.in: No such file or directory^M
find: /mnt/contrib/openresolv/configure: No such file or directory^M
find: /mnt/contrib/openresolv/unbound.in: No such file or directory^M
find: /mnt/contrib/openresolv/named.in: No such file or directory^M
find: /mnt/contrib/openresolv/resolvconf.conf: No such file or directory^M
find: /mnt/contrib/openresolv/dnsmasq.in: No such file or directory^M
find: /mnt/contrib/openresolv/Makefile: No such file or directory^M
find: /mnt/contrib/openresolv/libc.in: No such file or directory^M
find: /mnt/contrib/openresolv/README: No such file or directory^M
find: /mnt/contrib/openresolv/resolvconf.in: No such file or directory^M
find: /mnt/contrib/openresolv: No such file or directory^M
/mnt/contrib/ntp^M
…


I can rsync(1) the files from the mounted filesystem just fine without any errors/corruption so clearly all the files and directories are there and accessible. 

Is this a problem in FUSE/sshfs or find(1) and how to start debugging this?

I have tested with both FreeBSD and OS X as SSH servers and the same problem is present using both systems.

In all of the tests I’ve done there are no mountpoints crossed, each mounted directory tree is on a single filesystem on the server.

-Kimmo

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJTmp7uAAoJEFvLZC0FWRVplcQH/2mYOfowah5nxDsc/VfxrgUG
wVYyW9tcRGAsP9gIhEXq5iNVDsyuyRc7ZNnCpWakbcGuwS6dQ9naKc2K+2MBpu4t
/25nySJs+LWKgi4knmNe4AQv5Rvj8SnxDrHf98/LEQbX0PawLbWgDflE5VgfW62N
wDBmIJluSw4rcaij1Oj2fEB0eD2UKmSd40kzNXpTM1oKh595/4C7rMzDLkil5k4i
5r7W/940fqGup036ZOVY4zXuZ7K/XU+Kt8RLqKaQhaDYGtT8kvCM8U1syT1AIBfM
1BE9pyG3FrXNOMpmAC7gkKr56mnZRleUk+Ncyg/2A936SHWqcnL64QxsyflHcVY=
=h1/E
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?996494CC-21F5-4476-8E5E-22F5E5E673DD>