Re: CephFS Mirroring failed

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

 



Hi Milind,

Thanks, I’ll test and revert back to you.

Best regards,

De : Milind Changire<mailto:mchangir@xxxxxxxxxx>
Envoyé le :lundi 19 septembre 2022 08:59
À : Aristide Bekroundjo<mailto:bekroundjo@xxxxxxx>
Cc : ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx>
Objet :Re:  Re: CephFS Mirroring failed

All paths mentioned while configuring cephfs snapshot mirroring start at the respective cephfs file-system root
eg.
if you typically mount the cephfs file-system at /mnt/folderfs, then the path "/mnt/folderfs" is meaningless to cephfs snapshot mirroring unless you indeed have a folder hierarchy /mnt/folderfs under the cephfs file-system root
So, if you want to mirror the entire cephfs file-system starting at the cephfs file-system root then you should specify the path as "/"
If you have a folder named folderfs under the cephfs file-system root that you'd like to mirror, then you should add the path "/folderfs"  and not "/mnt/folderfs"


On Fri, Sep 16, 2022 at 10:40 PM Aristide Bekroundjo <bekroundjo@xxxxxxx<mailto:bekroundjo@xxxxxxx>> wrote:
Hi,

In the mirror service status I can see the the error about no found directory.
So What is the right full path ?



ync_snaps: failed to sync snapshots for dir_root=/mnt/folderfs
uild_snap_map: failed to open local snap directory=/mnt/folderfs/.snap: (2) No such file or directory
o_sync_snaps: failed to build local snap map
ync_snaps: failed to sync snapshots for dir_root=/mnt/folderfs
uild_snap_map: failed to open local snap directory=/mnt/folderfs/.snap: (2) No such file or directory
o_sync_snaps: failed to build local snap map
ync_snaps: failed to sync snapshots for dir_root=/mnt/folderfs
uild_snap_map: failed to open local snap directory=/mnt/folderfs/.snap: (2) No such file or directory
o_sync_snaps: failed to build local snap map
ync_snaps: failed to sync snapshots for dir_root=/mnt/folderfs




[root@monnode1]# ceph --admin-daemon ceph-client.cephfs-mirror.monnode1.msygpf.7.94270975030728.asok fs mirror peer status fs-cluster@1 107f24c3-016f-467d-8ed0-87f1026445d5
{
    "/mnt/folderfs": {
        "state": "failed",
        "snaps_synced": 0,
        "snaps_deleted": 0,
        "snaps_renamed": 0
    }
}
[root@monnode1 ca59e8b0-3398-11ed-8fc2-525400c2ee0b]#

Best regards,
Ari.

De : Aristide Bekroundjo<mailto:bekroundjo@xxxxxxx<mailto:bekroundjo@xxxxxxx>>
Envoyé le :vendredi 16 septembre 2022 10:53
À : ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx><mailto:ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx>>
Objet : CephFS Mirroring failed



Hi Dear,

I have a two clusters (A,B) Under ceph 16.2.10, and try to implement cephfs mirroring (From A to B).

It failed at FS mirroring, is their any logs others that can help me to investigate the failure cause..

[root@monnode1]# ceph --admin-daemon ceph-client.cephfs-mirror.monnode1.msygpf.7.93868793542088.asok fs mirror peer status fs-cluster@1 107f24c3-016f-467d-8ed0-87f1026445d5
{
    "/mnt/pointfs": {
        "state": "failed",
        "snaps_synced": 0,
        "snaps_deleted": 0,
        "snaps_renamed": 0
    }
}
[root@monnode1]#


The source cluster can see the remote cluster.

[root@monnode1 ~]#  ceph fs snapshot mirror peer_list fs-cluster | jq
{
  "b4b020a5-a3f8-4713-8b33-787f0210dbec": {
    "client_name": "client.mirror_remote",
    "site_name": "site-remote",
    "fs_name": "fs-cluster2",
    "mon_host": "[v2:192.168.1.176:3300/0,v1:192.168.1.176:6789/0<http://192.168.1.176:3300/0,v1:192.168.1.176:6789/0>] [v2:192.168.1.225:3300/0,v1:192.168.1.225:6789/0<http://192.168.1.225:3300/0,v1:192.168.1.225:6789/0>] [v2:192.168.1.222:3300/0,v1:192.168.1.222:6789/0<http://192.168.1.222:3300/0,v1:192.168.1.222:6789/0>] [v2:192.168.1.48:3300/0,v1:192.168.1.48:6789/0<http://192.168.1.48:3300/0,v1:192.168.1.48:6789/0>]"
  }
}
[root@monnode1 ~]#

Best regards,



_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx>
To unsubscribe send an email to ceph-users-leave@xxxxxxx<mailto:ceph-users-leave@xxxxxxx>

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx>
To unsubscribe send an email to ceph-users-leave@xxxxxxx<mailto:ceph-users-leave@xxxxxxx>


--
Milind

_______________________________________________
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