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

OST/MDT /proc/mounts always shows "ro" for server mountpoints

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      The /proc/mounts output for all MDT and OST devices shows "ro" (read-only) all the time, even when the devices are working properly. This caused confusion when trying to debug an OST that had actually gone read-only. This is because the "shadow" mountpoints on the server have MS_RDONLY set to prevent users/admins trying to write into these devices, which are only for "statfs" (df) and possibly ioctl() calls (LU-137).

      It would be better to define our own .show_options method in obdclass/obd_mount_server.c::super_operations. It can do an internal dt_statfs() to get the current filesystem state and print "rw" or "ro" as appropriate. It would also be good to print out the rest of the mount options that were used.

      Attachments

        Issue Links

          Activity

            People

              arshad512 Arshad Hussain
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: