Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-30 Thread Jörg Henne
Gregory Farnum writes: > > You can mount subtrees with the -r option to ceph-fuse. Yay! That did the trick to properly mount via fuse. And I can confirm that the directory list results are now stable both locally and via samba. > Once you've started it up you should find a file like > "client.a

Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-28 Thread Dzianis Kahanovich
PS I start to use this patches with samba 4.1. IMHO some of problems may (or must) be solved not inside vfs code, but outside - in samba kernel, but I still use both in samba 4.2.3 without verification. Dzianis Kahanovich пишет: > I use cephfs over samba vfs and have some issues. > > 1) If I use

Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-28 Thread Dzianis Kahanovich
I use cephfs over samba vfs and have some issues. 1) If I use >1 stacked vfs (ceph & scannedonly) - I have problems with file order, but solved by "dirsort" vfs ("vfs objects = scannedonly dirsort ceph"). Single "ceph" vfs looks good too (and I use it single for fast internal shares), but you can

Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-28 Thread Gregory Farnum
On Mon, Jul 27, 2015 at 6:25 PM, Jörg Henne wrote: > Gregory Farnum writes: >> >> Yeah, I think there were some directory listing bugs in that version >> that Samba is probably running into. They're fixed in a newer kernel >> release (I'm not sure which one exactly, sorry). > > Ok, thanks, good t

Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-27 Thread Jörg Henne
Gregory Farnum writes: > > Yeah, I think there were some directory listing bugs in that version > that Samba is probably running into. They're fixed in a newer kernel > release (I'm not sure which one exactly, sorry). Ok, thanks, good to know! > > and then detaches itself but the mountpoint stay

Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-27 Thread Gregory Farnum
On Mon, Jul 27, 2015 at 5:46 PM, Jörg Henne wrote: > Gregory Farnum writes: >> >> 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 >> s

Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-27 Thread Jörg Henne
Gregory Farnum writes: > > 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 The system is: ro

Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-27 Thread Eric Eastman
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

Re: [ceph-users] Weird behaviour of cephfs with samba

2015-07-27 Thread Gregory Farnum
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 wrote: > H

[ceph-users] Weird behaviour of cephfs with samba

2015-07-27 Thread Jörg Henne
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 sam