[LU-8631] lfs quota should return useful error on non-lustre file systems Created: 20/Sep/16 Updated: 28/Mar/17 Resolved: 25/Oct/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Nathan Dauchy (Inactive) | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
SLES client running 3.0.101-77.1.20160630-nasa kernel and |
||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Comments |
| Comment by Nathan Dauchy (Inactive) [ 20/Sep/16 ] |
|
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". |
| Comment by Peter Jones [ 21/Sep/16 ] |
|
Niu Could you please advise? Thanks Peter |
| Comment by Gerrit Updater [ 08/Oct/16 ] |
|
Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/23021 |
| Comment by Gerrit Updater [ 25/Oct/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/23021/ |
| Comment by Peter Jones [ 25/Oct/16 ] |
|
Landed for 2.9 |
| Comment by Nathan Dauchy (Inactive) [ 18/Jan/17 ] |
|
Was there a backport to this for b27 FE? |
| Comment by Jay Lan (Inactive) [ 18/Jan/17 ] |
|
Yes, it was landed to b2_7_fe 13 days ago. |