Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15873

Make mounting with "-o rdonly_dev" work

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.16.0
    • None
    • None
    • 9223372036854775807

      Make target mounting with "-o rdonly_dev" work.

       "rdonly_dev"  currently does not work. While the "rdonly_dev" returns "Operation not supported" from OSD. It is a simple flag check which is doing the returning, removing the check seems to work.

      Mounting with "rdonly_dev" 

      # umount /mnt/lustre-mds1
      # mount.lustre /dev/mapper/mds1_flakey /mnt/lustre-mds1 -o rdonly_dev
      mount.lustre: mount /dev/mapper/mds1_flakey at /mnt/lustre-mds1 failed: Operation not supported

      Logs:

      (obd_config.c:774:class_setup()) setup lustre-MDT0000-osd failed (-95)
      (obd_mount.c:200:lustre_start_simple()) lustre-MDT0000-osd setup error -95
      (obd_mount_server.c:1993:server_fill_super()) Unable to start osd on /dev/mapper/mds1_flakey: -95
      (super25.c:176:lustre_fill_super()) llite: Unable to mount <unknown>: rc = -95

       

            arshad512 Arshad Hussain
            arshad512 Arshad Hussain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: