Re: Weird behaviour of cephfs with samba

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

 



On Mon, Jul 27, 2015 at 5:46 PM, Jörg Henne <hennejg@xxxxxxxxx> wrote:
> Gregory Farnum <greg@...> 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:
>
> root@gru:~# uname -a; cat /etc/issue; ceph --version
> Linux gru 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015
> x86_64 x86_64 x86_64 GNU/Linux
> Ubuntu 14.04.2 LTS \n \l
> ceph version 0.87.2 (87a7cec9ab11c677de2ab23a7668a77d2f5b955e)
>
> The filesystem is mounted via the kernel module:
>
> root@gru:~# modinfo ceph
> filename:       /lib/modules/3.13.0-57-generic/kernel/fs/ceph/ceph.ko
> license:        GPL
> description:    Ceph filesystem for Linux
> author:         Patience Warnick <patience@xxxxxxxxxxxx>
> author:         Yehuda Sadeh <yehuda@xxxxxxxxxxxxxxx>
> author:         Sage Weil <sage@xxxxxxxxxxxx>
> alias:          fs-ceph
> srcversion:     659145B67321D11C1A5C076
> depends:        fscache,libceph
> intree:         Y
> vermagic:       3.13.0-57-generic SMP mod_unload modversions
> signer:         Magrathea: Glacier signing key
> sig_key:        A5:5B:8D:E6:8A:60:7A:DB:FA:6D:F9:60:00:50:69:50:CD:AE:A0:41
> sig_hashalgo:   sha512

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).

>
> I updated to hammer, but the problem persisted:
>
> root@gru:/etc/puppet# ceph --version; modinfo ceph
> ceph version 0.94.2 (5fb85614ca8f354284c713a2f9c610860720bbf3)
> filename:       /lib/modules/3.13.0-58-generic/kernel/fs/ceph/ceph.ko
> license:        GPL
> description:    Ceph filesystem for Linux
> author:         Patience Warnick <patience@xxxxxxxxxxxx>
> author:         Yehuda Sadeh <yehuda@xxxxxxxxxxxxxxx>
> author:         Sage Weil <sage@xxxxxxxxxxxx>
> alias:          fs-ceph
> srcversion:     659145B67321D11C1A5C076
> depends:        fscache,libceph
> intree:         Y
> vermagic:       3.13.0-58-generic SMP mod_unload modversions
> signer:         Magrathea: Glacier signing key
> sig_key:        70:A9:7E:EA:B2:62:56:39:DF:8C:99:79:47:6F:D1:51:6D:CD:65:0B
> sig_hashalgo:   sha512
>
> Ok, so on to ceph-fuse. Unfortunately, I can't seem to be able to get this
> to work at all. The process starts Ok with
>
> root@gru:/mnt# ceph-fuse -m 10.208.66.1:6789 /mnt/regtest2
> ceph-fuse[8525]: starting ceph client
> 2015-07-27 18:43:27.790224 7f72dc0497c0 -1 init, newargv = 0x44e3d30 newargc=11
> ceph-fuse[8525]: starting fuse
>
> and then detaches itself but the mountpoint stays empty no matter what.
> /var/log/ceph/ceph-client.admin.log isn't enlighting as well. I've never
> used a FUSE before, though, so I might be overlooking something.

Uh, that's odd. What do you mean it's empty no matter what? Is the
ceph-fuse process actually still running?
(You should also be able to talk to Ceph directly via the Samba
daemon; the bindings are in upstream Samba although you probably need
to install one of the Ceph packages to make it work. That's the way we
test in our "nightlies".)
-Greg

>
> 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