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

lfs quota should return useful error on non-lustre file systems

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.9.0
    • Lustre 2.7.0
    • None
    • SLES client running 3.0.101-77.1.20160630-nasa kernel and
    • 3
    • 9223372036854775807

    Attachments

      Activity

        [LU-8631] lfs quota should return useful error on non-lustre file systems

        Yes, it was landed to b2_7_fe 13 days ago.

        jaylan Jay Lan (Inactive) added a comment - Yes, it was landed to b2_7_fe 13 days ago.

        Was there a backport to this for b27 FE?

        ndauchy Nathan Dauchy (Inactive) added a comment - Was there a backport to this for b27 FE?
        pjones Peter Jones added a comment -

        Landed for 2.9

        pjones Peter Jones added a comment - Landed for 2.9

        Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/23021/
        Subject: LU-8631 quota: better error message for 'lfs quota'
        Project: fs/lustre-release
        Branch: master
        Current Patch Set:
        Commit: 64b279c3ec0e7a9960b3d33db8a64e0a53af9e82

        gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/23021/ Subject: LU-8631 quota: better error message for 'lfs quota' Project: fs/lustre-release Branch: master Current Patch Set: Commit: 64b279c3ec0e7a9960b3d33db8a64e0a53af9e82

        Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/23021
        Subject: LU-8631 quota: better error message for lfs quota
        Project: fs/lustre-release
        Branch: master
        Current Patch Set: 1
        Commit: 2bca3e968ac28cd9d2c75b7f39905554330b8e84

        gerrit Gerrit Updater added a comment - Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/23021 Subject: LU-8631 quota: better error message for lfs quota Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2bca3e968ac28cd9d2c75b7f39905554330b8e84
        pjones Peter Jones added a comment -

        Niu

        Could you please advise?

        Thanks

        Peter

        pjones Peter Jones added a comment - Niu Could you please advise? Thanks Peter

        OOPS! Hit enter too soon...

        Client lustre version is lustre-client-2.7.2-2nasC_mofed32v1_3.0.101_77.1.20160630_nasa

        Error to be resolved is:

         $ lfs quota .          
        Unexpected quotactl error: Inappropriate ioctl for device
        Disk quotas for user ndauchy (uid 30758):
             Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
                      .     [0]     [0]     [0]       -     [0]     [0]     [0]       -
        Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.
        Unexpected quotactl error: Inappropriate ioctl for device
        Disk quotas for group css (gid 1125):
             Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
                      .     [0]     [0]     [0]       -     [0]     [0]     [0]       -
        Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.
        

        This is confusing for users where there are several different file system types (particularly NFS and Lustre).

        The "lfs" command should check the type of the file system and return a useful error message like "this command is only valid on Lustre file systems".

        ndauchy Nathan Dauchy (Inactive) added a comment - OOPS! Hit enter too soon... Client lustre version is lustre-client-2.7.2-2nasC_mofed32v1_3.0.101_77.1.20160630_nasa Error to be resolved is: $ lfs quota . Unexpected quotactl error: Inappropriate ioctl for device Disk quotas for user ndauchy (uid 30758): Filesystem kbytes quota limit grace files quota limit grace . [0] [0] [0] - [0] [0] [0] - Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate. Unexpected quotactl error: Inappropriate ioctl for device Disk quotas for group css (gid 1125): Filesystem kbytes quota limit grace files quota limit grace . [0] [0] [0] - [0] [0] [0] - Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate. This is confusing for users where there are several different file system types (particularly NFS and Lustre). The "lfs" command should check the type of the file system and return a useful error message like "this command is only valid on Lustre file systems".

        People

          niu Niu Yawei (Inactive)
          ndauchy Nathan Dauchy (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          7 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: