]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fixed cephfs mount command 55993/head
authorIvo Almeida <ialmeida@redhat.com>
Tue, 5 Mar 2024 12:37:21 +0000 (12:37 +0000)
committerIvo Almeida <ialmeida@redhat.com>
Wed, 6 Mar 2024 10:32:50 +0000 (10:32 +0000)
Fixes: https://tracker.ceph.com/issues/64716
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit eeb09b19581d353fb68f86bb4c2871f026a35c29)

src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-mount-details/cephfs-mount-details.component.ts

index 77a3f4afadc6ddbbed315d31f40cac35944cb82e..af0b93a96af691cbd64eaea004c185b6336f5a2e 100644 (file)
@@ -19,7 +19,7 @@ export class CephfsMountDetailsComponent implements OnInit, OnDestroy {
   nfs!: string;
 
   ngOnInit(): void {
-    this.mount = `sudo <CLIENT_USER>@${this.mountData?.fsId}.${this.mountData?.fsName}=${this.mountData?.rootPath} ${this.MOUNT_DIRECTORY}`;
+    this.mount = `sudo mount -t ceph <CLIENT_USER>@${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=<PORT> <IP of active_mds daemon>:${this.mountData?.rootPath} ${this.MOUNT_DIRECTORY}`;
   }