Hi, `cp -a` implies to preserve attributes. It is obvious that there are some attributes set, not supported by any linux filesystem. I have the same experience running `rsync -a` between a fat32 or ntfs filesytem to ext4 or btrfs, it can not preserve attributes. Try to copy the same files to an ext4 filesystem. If you get the same error, it is not ceph. You can also consider to use `cp -r` (recursive). In that case just the file is copied with the default attributes and making the user issueing cp the new owner. You can try to perserve some attributes and drop the one offending ceph (or any other linux filesystem) with --preserve=[ATTR_LIST]. >From `man cp`: [QUOTE] --preserve[=ATTR_LIST] preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, xattr, all --no-preserve=ATTR_LIST don't preserve the specified attributes [UNQUOTE] Good luck, Tim On Thursday 16 May 2013 14:45:59 Ulrich Schinz wrote: > 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=0sMHgyMAAAAwADAAAAEQAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJzI1eu > pK84BAAAAAAAAAAA= > > copied file: > # file: test.txt > user.DOSATTRIB=0sMHgyMAAAAwADAAAAEQAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJzI1eu > pK84BAAAAAAAAAAA= > > 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 _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com