Re: CephFS Samba VFS RHEL packages

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

 



Blair,

Please do follow up with your findings. I've built samba v4.4.3 packages for centos 7, updated the kernel to v4.5.4 and tried a number of different configurations including kernel mounting at /cephfs and sharing /cephfs/dir without using ceph_vfs, and using ceph_vfs and targeting /dir in smb.conf. The ceph_vfs module does work slightly better but I was unable to get ACLs working across different platforms. I saw some patches working their way through, iirc, both libcephfs and samba and decided to shelve the project for a couple months. Below is just one example of problems we encountered-

[2016/06/24 12:10:28.687973, 2] ../source3/smbd/posix_acls.c:3006(set_canon_ace_list)
set_canon_ace_list: sys_acl_set_file type file failed for file testing/windows sid mapping.txt (Operation not supported).
[2016/06/24 12:10:28.688024, 3] ../source3/smbd/posix_acls.c:3091(convert_canon_ace_to_posix_perms)
convert_canon_ace_to_posix_perms: Too many ACE entries for file testing/windows sid mapping.txt to convert to posix perms.
[2016/06/24 12:10:28.688036, 3] ../source3/smbd/posix_acls.c:3962(set_nt_acl)
set_nt_acl: failed to convert file acl to posix permissions for file testing/windows sid mapping.txt.
[2016/06/24 12:10:28.688047, 3] ../source3/smbd/smb2_server.c:2935(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_setinfo.c:132
[2016/06/24 12:10:28.688682, 2] ../source3/smbd/close.c:780(close_normal_file)
bobr closed file testing/windows sid mapping.txt (numopen=2) NT_STATUS_OK
[2016/06/24 12:10:28.689938, 2] ../source3/smbd/open.c:1006(open_file)
bobr opened file testing/windows sid mapping.txt read=No write=No (numopen=3)
[2016/06/24 12:10:28.709321, 2] ../source3/smbd/posix_acls.c:3006(set_canon_ace_list)
set_canon_ace_list: sys_acl_set_file type file failed for file testing/windows sid mapping.txt (Operation not supported).
[2016/06/24 12:10:28.709371, 3] ../source3/smbd/posix_acls.c:3091(convert_canon_ace_to_posix_perms)
convert_canon_ace_to_posix_perms: Too many ACE entries for file testing/windows sid mapping.txt to convert to posix perms.
[2016/06/24 12:10:28.709380, 3] ../source3/smbd/posix_acls.c:3962(set_nt_acl)
set_nt_acl: failed to convert file acl to posix permissions for file testing/windows sid mapping.txt.
[2016/06/24 12:10:28.709390, 3] ../source3/smbd/smb2_server.c:2935(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../source3/smbd/smb2_setinfo.c:132
[2016/06/24 12:10:28.710449, 2] ../source3/smbd/close.c:780(close_normal_file)
bobr closed file testing/windows sid mapping.txt (numopen=2) NT_STATUS_OK

Thanks -Bob

On Fri, Jul 22, 2016 at 5:59 PM, Blair Bethwaite <blair.bethwaite@xxxxxxxxx> wrote:
Hi Brett,

Don't think so thanks, but we'll shout if we find any breakage/weirdness.

Cheers,

On 23 July 2016 at 05:42, Brett Niver <bniver@xxxxxxxxxx> wrote:
> So Blair,
>
> As far as you know right now, you don't need anything from the CephFS team,
> correct?
> Thanks,
> Brett
>
>
> On Fri, Jul 22, 2016 at 2:18 AM, Yan, Zheng <ukernel@xxxxxxxxx> wrote:
>>
>> On Fri, Jul 22, 2016 at 11:15 AM, Blair Bethwaite
>> <blair.bethwaite@xxxxxxxxx> wrote:
>> > Thanks Zheng,
>> >
>> > On 22 July 2016 at 12:12, Yan, Zheng <ukernel@xxxxxxxxx> wrote:
>> >> We actively back-port fixes to RHEL 7.x kernel.  When RHCS2.0 release,
>> >> the RHEL kernel should contain fixes up to 3.7 upstream kernel.
>> >
>> > You meant 4.7 right?
>>
>> I mean 4.7. sorry
>>
>> >
>> > --
>> > Cheers,
>> > ~Blairo
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>



--
Cheers,
~Blairo
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux