Re: Weird behaviour of cephfs with samba

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What's the full stack you're using to run this with? If you're using
the kernel client, try updating it or switching to the userspace
(ceph-fuse, or Samba built-in) client. If using userspace, please make
sure you've got the latest one.
-Greg

On Mon, Jul 27, 2015 at 3:16 PM, Jörg Henne <hennejg@xxxxxxxxx> wrote:
> Hi all,
>
> the faq at http://ceph.com/docs/cuttlefish/faq/ mentions the possibility to
> run export a mounted cephfs via samba. This combination exhibits a very
> weird behaviour, though.
>
> We have a directory on cephfs with many small xml snippets. If I repeadtedly
> ls the directory on Unix, I get the same answer each and every time:
>
> root@gru:/mnt/regtest/regressiontestdata2/assets# while true; do ls|wc -l;
> sleep 1; done
> 851
> 851
> 851
> ... and so on
>
> If I do the same on the directory exported and mounted via SMB under Windows
> the result looks like that (output generated unter cygwin, but effect is
> present with Windows Explorer as well):
>
> $ while true; do ls|wc -l; sleep 1; done
> 380
> 380
> 380
> 380
> 380
> 1451
> 362
> 851
> 851
> 851
> 851
> 851
> 851
> 851
> 851
> 1451
> 362
> 851
> 851
> 851
> ...
>
> The problem does not seem to be related to Samba. If I copy the files to an
> XFS volume and export that, things look fine.
>
> Thanks
> Joerg Henne
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux