Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-27493

Make sure gfs2_grow still works ("fs: Block writes to mounted block devices")

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • rhel-10.0
    • rhel-10.0
    • gfs2-utils
    • None
    • None
    • Moderate
    • rhel-sst-filesystems
    • ssg_filesystems_storage_and_HA
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      Commit 6f861765464f ("fs: Block writes to mounted block devices") in the 6.8 upstream kernel prevents writing to devices that are mounted as filesystems.

      It seems that gfs2_grow does exactly that for writing the additional resource group metadata onto disk. We need to make sure that the kernel either allows those writes to succeed, or else implement writing the additional resource group metadata in the kernel.

      We should probably ask Jan Kara (the author of commit 6f861765464f) about his thoughts on dealing with these kinds of problems.

      tunegfs2 will probably also not work on mounted devices anymore, but using it that way is discouraged and unnecessary, anyway.

      gfs2_jadd probably isn't affected because it creates normal files and moves them into place in the "gfs2meta" filesystem.

              gfs2-maint GFS2 Maintainers Bot
              agruenba@redhat.com Andreas Gruenbacher
              GFS2 Maintainers Bot GFS2 Maintainers Bot
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: