Re: Limitations of ceph fs snapshot mirror for read-only folders?

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

 



On Wed, Jan 26, 2022 at 2:44 PM Manuel Holtgrewe <zyklenfrei@xxxxxxxxx> wrote:
>
> Dear all,
>
> I want to mirror a snapshot in Ceph v16.2.6 deployed with cephadm
> using the stock quay.io images. My source file system has a folder
> "/src/folder/x" where "/src/folder" has mode "ug=r,o=", in other words
> no write permissions for the owner (root).

What mode does /src/folder get created on the other cluster?

>
> The sync of a snapshot "initial" now fails with the following log excerpt.
>
> remote_mkdir: remote epath=./src/folder/x
> remote_mkdir: failed to create remote directory=./src/folder/x: (13)
> Permission denied
> do_synchronize: closing local directory=./src/folder
> do_synchronize: closing local directory=./src/
> do_synchronize: closing local directory=.
> post_sync_close_handles
> do_sync_snaps: failed to synchronize dir_root=/src/folder, snapshot=initial
> sync_snaps: failed to sync snapshots for dir_root=/src/folder
>
> The capabilities on the remote site are:
>
> client.mirror-tier-2-remote
>        key: REDACTED
>        caps: [mds] allow * fsname=cephfs
>        caps: [mon] allow r fsname=cephfs
>        caps: [osd] allow * tag cephfs data=cephfs
>
> I also just reported this in the tracker [1]. Can anyone think of a
> workaround (in the lines of "sudo make me a sandwich ;-)?"
>
> Best wishes,
> Manuel
>
> [1] https://tracker.ceph.com/issues/54017
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>


-- 
Cheers,
Venky

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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