Skip to content

Cephfs XAttr missing after Clone Volume (restore), opencloud errors #827

@suse-coder

Description

@suse-coder

Describe the bug

We use opencloud (latest version) and have cephfs (squid 19.2.0) with 3x replication. When we do a veeam k10 backup and then a restore we see that the files are there but the xattr are missing:

Before the backup and restore with veeam (csi snapshot of cephfs), i see the xattr:

file: var/lib/opencloud/storage/users/users/e7b6cc3f-e407-462f-a972-b183318b92a4/test.txt
user.oc.blobid="fb6a1bd5-eac4-4261-a4da-e3d4879d7a70"
user.oc.blobsize="6"
user.oc.cs.adler32=0sCMsCew==
user.oc.cs.md5=0s1Y41gq+pkEDie5KxPI8igA==
user.oc.cs.sha1=0sVTrn2pL1UFqSu7jJ1Hvnarn2W8I=
user.oc.id="1aa81512-0a69-4a72-9335-4837d8b6adcd"
user.oc.mtime="2025-11-21T19:53:36.111133433Z"
user.oc.name="test.txt"
user.oc.parentid="ecb2d4cf-0ecf-446f-8f11-665273450c01"
user.oc.scandate="2025-11-21T19:53:36.258760181Z"
user.oc.scanstatus=""
user.oc.type="1"

But after the snapshot restore with veeam all are gone (file still there).

! When I do a ceph snapshot clone (restore it) and mount it into ubuntu I can also see that the xattr are missing. That would rule out an opencloud bug or veeam k10 bug. It seems more that ceph is with the snapshot clone (restore) not having the xattr also copied. Maybe there is an easy fix missing that would do that.

When I use rbd (instead of cephfs) backup and restore works fine.

{"level":"debug","service":"storage-users","host.name":"storageusers-597fc957c9-s8ltj","pkg":"rgrpc","driver":"posix","path":"/var/lib/opencloud/storage/users/users/fe451606-1eef-41b7-bf70-5baddd034d92/.personal_data_export.json","recurse":false,"time":"2025-11-21T16:50:17Z","line":"github.com/opencloud-eu/reva/v2@v2.39.1/pkg/storage/fs/posix/tree/assimilation.go:409","message":"assimilate"}
{"level":"error","service":"storage-users","host.name":"storageusers-597fc957c9-s8ltj","pkg":"rgrpc","driver":"posix","error":"could not find space for path /var/lib/opencloud/storage/users/users/fe451606-1eef-41b7-bf70-5baddd034d92","path":"/var/lib/opencloud/storage/users/users/fe451606-1eef-41b7-bf70-5baddd034d92/.personal_data_export.json","time":"2025-11-21T16:50:17Z","line":"github.com/opencloud-eu/reva/v2@v2.39.1/pkg/storage/fs/posix/tree/assimilation.go:897","message":"could not assimilate item"}

Steps to reproduce

  1. Cephfs 3x Coded Pool
  2. Backup Veeam k10 or normal snapshot clone in ceph
  3. Restore csi snapshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions