xattr on cephfs with dosattrib

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

 



Hi there,

today i setup my ceph-cluster. it's up and running fine.

mounting cephfs to my "client"-machine works fine as well.

~# mount
172.17.50.71:6789:/ on /samba/ceph type ceph (rw,relatime,name=admin,secret=<hidden>)

touching a file in that directory and setting xattr works perfect.

~# touch /samba/ceph/test.txt
~# setfattr -n user.test -v test /samba/ceph/test.txt
~# getfattr -d /samba/ceph/test.txt
getfattr: Entferne führenden '/' von absoluten Pfadnamen
# file: samba/ceph/test.txt
user.test="test"

so this seems to work fine.

but when i try to copy a file from a samba share into ceph-dir, i get following:

~# cp -a /samba/data/test.txt /samba/ceph/
cp: Erhalten der Zugriffsrechte für „./test.txt“: Die Operation wird nicht unterstützt (trying to translate: cp: preserving attributes for "Read..": operation not supported)

also trying to change attributes from windows-clients via samba is not working. windows-error is: access denied

dumping the attributes of the copied file (cp -a...) the attributes are identical.

original file:
# file: test.txt
user.DOSATTRIB=0sMHgyMAAAAwADAAAAEQAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJzI1eupK84BAAAAAAAAAAA=

copied file:
# file: test.txt
user.DOSATTRIB=0sMHgyMAAAAwADAAAAEQAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJzI1eupK84BAAAAAAAAAAA=

only thing that changed are/is acl-settings:

original file:
~# getfacl /samba/data/test.txt
getfacl: Entferne führende '/' von absoluten Pfadnamen
# file: samba/data/test.txt
# owner: 3000000
# group: users
user::rwx
user:root:rwx
group::---
group:users:---
group:3000000:rwx
mask::rwx
other::---

copied file:
getfacl test.txt
# file: test.txt
# owner: 3000000
# group: users
user::rwx
group::rwx
other::---

trying to set acl i get error: operation not supported....

maybe there is a problem with mount-options, but i couldn't find options for mount.ceph which could solve this.

in ceph-logfiles i can't find any errors. syslog, messages, dmesg everything looks ok on client and on server(s).

someone with some hints where i could search for errors, or maybe an idea what the problem could be...

kind regards
uli

--
Ulrich Schinz


ulrich.schinz@xxxxxxx

___________________________________________



Katholische Stiftungsfachhochschule München

Abteilung Benediktbeuern

Don Bosco Str. 1

83671 Benediktbeuern

Telefon +49 8857 88 506

www.ksfh.de



Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.



This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

_______________________________________________
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