]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fixed nfs attach command 56387/head
authorIvo Almeida <ialmeida@redhat.com>
Thu, 14 Mar 2024 16:14:25 +0000 (16:14 +0000)
committerIvo Almeida <ialmeida@redhat.com>
Fri, 22 Mar 2024 12:16:07 +0000 (12:16 +0000)
Fixes: https://tracker.ceph.com/issues/64933
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
(cherry picked from commit db724a8fef183f6f5200bc0e93428a19c69d1342)

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

index af0b93a96af691cbd64eaea004c185b6336f5a2e..76fd81aa9413fbca91e54458d21e045c2cdf9ad8 100644 (file)
@@ -21,7 +21,7 @@ export class CephfsMountDetailsComponent implements OnInit, OnDestroy {
   ngOnInit(): void {
     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}`;
+    this.nfs = `sudo mount -t nfs -o port=<PORT> <IP of active_mds daemon>:<export_name> ${this.MOUNT_DIRECTORY}`;
   }
 
   ngOnDestroy(): void {