.Missing options are added in the kernel mount command
Previously, a few options were missing in the kernel mount command for attaching the filesystem causing the command to not work as intended.
With this fix, the missing options are added and the kernel mount command works as expected.
Created attachment 2019113[details]
Screenshot
Description of problem:
Attach option is giving the sample mount command for attaching the filesystem.
We are missing few things in kernel mount command
Command displayed :
sudo <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY>
[root@ceph-amk-test-fs-b9awz0-node7 /]# mkdir /mnt/kernel_mount_ec
[root@ceph-amk-test-fs-b9awz0-node7 /]# sudo admin=/ /mnt/kernel_mount_ec/
sudo: /mnt/kernel_mount_ec/: command not found
Command which is working
[root@ceph-amk-test-fs-b9awz0-node7 /]# sudo mount -t ceph admin=/ /mnt/kernel_mount_ec/
[root@ceph-amk-test-fs-b9awz0-node7 /]# ls -lrt /mnt/kernel_mount_ec/
sudo <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY> -->
sudo mount -t ceph <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY>
Version-Release number of selected component (if applicable):
18.2.1-38.el9cp
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Comment 1RHEL Program Management
2024-02-27 11:18:07 UTC
Hi All,
The kernel mount command looks good and works fine.
[root@ceph-amk-spec-fs-nj55bw-node7 ~]# mkdir /mnt/ec_mnt
[root@ceph-amk-spec-fs-nj55bw-node7 ~]# mount -t ceph admin=/volumes/subvol_group_1/subvol_1/94be414b-efae-4a43-ab7b-e60ae1b34721 /mnt/ec_mnt
[root@ceph-amk-spec-fs-nj55bw-node7 ~]# cd /mnt/ec_mnt
[root@ceph-amk-spec-fs-nj55bw-node7 ec_mnt]# ls -lrt
total 0
[root@ceph-amk-spec-fs-nj55bw-node7 ec_mnt]# mkdir test
[root@ceph-amk-spec-fs-nj55bw-node7 ec_mnt]#
regards,
Amarnath
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2024:3925
Comment 12Red Hat Bugzilla
2024-11-16 04:25:24 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days
Created attachment 2019113 [details] Screenshot Description of problem: Attach option is giving the sample mount command for attaching the filesystem. We are missing few things in kernel mount command Command displayed : sudo <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY> [root@ceph-amk-test-fs-b9awz0-node7 /]# mkdir /mnt/kernel_mount_ec [root@ceph-amk-test-fs-b9awz0-node7 /]# sudo admin=/ /mnt/kernel_mount_ec/ sudo: /mnt/kernel_mount_ec/: command not found Command which is working [root@ceph-amk-test-fs-b9awz0-node7 /]# sudo mount -t ceph admin=/ /mnt/kernel_mount_ec/ [root@ceph-amk-test-fs-b9awz0-node7 /]# ls -lrt /mnt/kernel_mount_ec/ sudo <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY> --> sudo mount -t ceph <CLIENT_USER>@63a5dae8-d559-11ee-bf34-fa163e92bed4.cephfs-ec=/ <MOUNT_DIRECTORY> Version-Release number of selected component (if applicable): 18.2.1-38.el9cp How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: