All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with cephfs, rsync and xattr because cephfs internal xattrs are exposed to clients.
@ 2016-06-21 20:34 Michael Wyraz
  2016-06-21 21:30 ` Sage Weil
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Wyraz @ 2016-06-21 20:34 UTC (permalink / raw)
  To: ceph-devel

Hi,

I do rsync based backups against a cephfs. If I do sync xattrs, rsync 
tries to delete ceph-internal xattrs (e.g. ceph.dir.entries) which fails 
with an error. xattrs does not get synchronized in this case.
IMO the problem is, that ceph's internal attributes are exposed to the 
mounted fileystem (I can do "getfattr -n ceph.dir.entries *" on the 
mounted cephfs and get results). So rsync sees these xattrs and tries to 
remove it.

Example output:

    rsync: rsync_xal_set:
    lremovexattr(""/backups/2016-05-31_00-09-32/etc/acpi/events"","ceph.dir.entries")
    failed: Operation not supported (95)
    rsync: rsync_xal_set:
    lremovexattr(""/backups/2016-05-31_00-09-32/etc/acpi/events"","ceph.dir.files")
    failed: Operation not supported (95)
    rsync: rsync_xal_set:
    lremovexattr(""/backups/2016-05-31_00-09-32/etc/acpi/events"","ceph.dir.subdirs")
    failed: Operation not supported (95)
    rsync: rsync_xal_set:
    lremovexattr(""/backups/2016-05-31_00-09-32/etc/acpi/events"","ceph.dir.rentries")
    failed: Operation not supported (95)
    rsync: rsync_xal_set:
    lremovexattr(""/backups/2016-05-31_00-09-32/etc/acpi/events"","ceph.dir.rfiles")
    failed: Operation not supported (95)
    rsync: rsync_xal_set:
    lremovexattr(""/backups/2016-05-31_00-09-32/etc/acpi/events"","ceph.dir.rsubdirs")
    failed: Operation not supported (95)
    rsync: rsync_xal_set:
    lremovexattr(""/backups/2016-05-31_00-09-32/etc/acpi/events"","ceph.dir.rbytes")
    failed: Operation not supported (95)
    rsync: rsync_xal_set:
    lremovexattr(""/backups/2016-05-31_00-09-32/etc/acpi/events"","ceph.dir.rctime")
    failed: Operation not supported (95)

Kind regards,
Michael.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-06-24 13:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 20:34 Problems with cephfs, rsync and xattr because cephfs internal xattrs are exposed to clients Michael Wyraz
2016-06-21 21:30 ` Sage Weil
2016-06-21 22:30   ` Allen Samuels
2016-06-22  4:46     ` Michael Wyraz
2016-06-22 20:15     ` Gregory Farnum
2016-06-22 20:24       ` Allen Samuels
2016-06-24 10:08       ` John Spray
2016-06-24 12:27         ` Sage Weil
2016-06-24 13:53           ` Gregory Farnum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.