Re: CephFS + CTDB/Samba - MDS session timeout on lockfile

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

 



On Mon, May 9, 2016 at 3:28 PM, Nick Fisk <nick@xxxxxxxxxx> wrote:
> Hi Eric,
>
>>
>> I am trying to do some similar testing with SAMBA and CTDB with the Ceph
>> file system.  Are you using the vfs_ceph SAMBA module or are you kernel
>> mounting the Ceph file system?
>
> I'm using the kernel client. I couldn't find any up to date information on if the vfs plugin supported all the necessary bits and pieces.
>
> How is your testing coming along? I would be very interested in any findings you may have come across.
>
> Nick

I am also using CephFS kernel mounts, with 4 SAMBA gateways. When from
a SAMBA client, I write a large file (about 2GB) to a gateway that is
not the holder of the CTDB lock file, and then kill that gateway
server during the write, the IP failover works as expected, and in
most cases the file ends up being the correct size after the new
server finishes writing it, but the data is corrupt. The data in the
file, from the point of the failover, is all zeros.

I thought the issue may be with the kernel mount, so I looked into
using  the SAMBA vfs_ceph module, but I need SAMBA with AD support and
the current vfs_ceph module, even in the SAMBA git master version, is
lacking ACL support for CephFS, as the vfs_ceph.c patches summited to
the SAMBA mail list are not yet available. See:
https://lists.samba.org/archive/samba-technical/2016-March/113063.html

I tried using a FUSE mount of the CephFS, and it also fails setting
ACLs.  See: http://tracker.ceph.com/issues/15783.

My current status is IP failover is working, but I am seeing data
corruption on writes to the share when using kernel mounts. I am also
seeing the issue you reported when I kill the system holding the CTDB
lock file.  Are you verifying your data after each failover?

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