From: Ivo Almeida Date: Tue, 5 Mar 2024 12:37:21 +0000 (+0000) Subject: mgr/dashboard: fixed cephfs mount command X-Git-Tag: v18.2.4~224^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55993%2Fhead;p=ceph.git mgr/dashboard: fixed cephfs mount command Fixes: https://tracker.ceph.com/issues/64716 Signed-off-by: Ivo Almeida (cherry picked from commit eeb09b19581d353fb68f86bb4c2871f026a35c29) --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts index 77a3f4afadc6..af0b93a96af6 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts @@ -19,7 +19,7 @@ export class CephfsMountDetailsComponent implements OnInit, OnDestroy { nfs!: string; ngOnInit(): void { - this.mount = `sudo @${this.mountData?.fsId}.${this.mountData?.fsName}=${this.mountData?.rootPath} ${this.MOUNT_DIRECTORY}`; + this.mount = `sudo mount -t ceph @${this.mountData?.fsId}.${this.mountData?.fsName}=${this.mountData?.rootPath} ${this.MOUNT_DIRECTORY}`; this.fuse = `sudo ceph-fuse ${this.MOUNT_DIRECTORY} -r ${this.mountData?.rootPath} --client_mds_namespace=${this.mountData?.fsName}`; this.nfs = `sudo mount -t nfs -o port= :${this.mountData?.rootPath} ${this.MOUNT_DIRECTORY}`; }