From: Milind Changire Date: Tue, 20 Sep 2022 08:17:08 +0000 (+0530) Subject: doc/cephfs: add note about cephfs-mirroring paths X-Git-Tag: v18.0.0^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48172%2Fhead;p=ceph.git doc/cephfs: add note about cephfs-mirroring paths Signed-off-by: Milind Changire --- diff --git a/doc/cephfs/cephfs-mirroring.rst b/doc/cephfs/cephfs-mirroring.rst index 08e07bc8b45d..a53581c32e92 100644 --- a/doc/cephfs/cephfs-mirroring.rst +++ b/doc/cephfs/cephfs-mirroring.rst @@ -131,7 +131,10 @@ To stop a mirroring directory snapshots use:: $ ceph fs snapshot mirror remove Only absolute directory paths are allowed. Also, paths are normalized by the mirroring -module, therefore, `/a/b/../b` is equivalent to `/a/b`. +module, therefore, `/a/b/../b` is equivalent to `/a/b`. Also note that paths always +start from the cephfs file-system root and not from the host system mount point. + +e.g.:: $ mkdir -p /d0/d1/d2 $ ceph fs snapshot mirror add cephfs /d0/d1/d2