Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2219

[Common] When using 'overlay(fs)' storage driver, add check if xfs backing filesystem was formatted with ftype=1 (d_type support enabled). Exit early if not

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • EAP70 1.5.8.GA, EAP64 1.4.15.GA
    • EAP6, EAP7
    • None
    • Specific to overlay(fs) storage driver with xfs used as the backing filesystem.

    • Compatibility/Configuration, User Experience

      When using overlay(fs) as the docker storage driver, the backing xfs filesystem needs to be formatted with ftype=1 (d_type support enabled):
      https://linuxer.pro/2017/03/what-is-d_type-and-why-docker-overlayfs-need-it/

      If d_type support is not enabled, it can lead to erroneous behaviour (e.g. attempt to remove a directory fails with "rm: cannot remove 'path': : Directory not empty" message):
      https://github.com/moby/moby/issues/27358

      rkt and moby contain this check already:

      Situation in Red Hat Enterprise Linux:

              rhn-jlieskov Ján Lieskovský (Inactive)
              rhn-jlieskov Ján Lieskovský (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: