Re: Weird behaviour of cephfs with samba

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

 



I don't have any answers but I am also seeing some strange results
exporting a Ceph file system using the Samba VFS interface on Ceph
version 9.0.2. If I mount a Linux client with vers=1, I see the file
system the same as I see it on a ceph file system mount.   If I use
vers=2.0 or vers=3.0 on the mount line, some directories disappear and
the ownership changes.  I am still early in my testing of this issue.

Eric


On Mon, Jul 27, 2015 at 8:16 AM, 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