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

write fails with -EOPNOTSUPP with zfs 0.8.0-rc5 using 0.7.x pool

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.10.7
    • Fix Version/s: Lustre 2.13.0, Lustre 2.12.3
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      Testing Lustre 2.10.7 against zfs 0.8.0-rc5

      If the file system is stored in pools created under previous versions of zfs and the project quota feature has not yet been enabled on those pools, writes fail with -EOPNOTSUPP

      Debug logs on the OST seem to indicate that the -EOPNOTSUPP is returned from osd_declare_attr_set(), which requires that if Lustre has been built with the ZFS project quota feature enabled, that the pool must have the feature enabled.

      #ifdef ZFS_PROJINHERIT
             if (attr && attr->la_valid & LA_PROJID) {
                     if (!osd->od_projectused_dn)
                             GOTO(out, rc = -EOPNOTSUPP);
      

      It's unclear why this is necessary. In addition, every user who upgrades from an earlier version of lustre will initially be in this state, where their zfs software supports project quotas, but the feature is not enabled on the pool. As long as they do not enable the feature on the pool, they can revert to the earlier zfs version if they encounter issues.

        Attachments

          Activity

            People

            • Assignee:
              utopiabound Nathaniel Clark
              Reporter:
              ofaaland Olaf Faaland
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: