[LUDOC-18] Lustre operations manual refers to old or incomplete header file(s) for error numbers Created: 07/Sep/11  Updated: 27/Nov/12  Resolved: 28/Oct/11

Status: Closed
Project: Lustre Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Frank Leers Assignee: Richard Henwood (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

lustre operations manual .pdf (2.x)


Severity: 3
Epic: document, errno, header
Rank (Obsolete): 7192

 Description   

Went looking for a specific quota error message (-122) and found it in several header files, just not the one mentioned in the lustre manual:

messages.1:Aug 30 07:28:27 compute-14-8.local kernel: LustreError: 11-0: an error occurred while communicating with 10.191.128.103@o2ib. The ost_write operation failed with -122

Manual pp 173 -

Error numbers for Lustre come from the Linux errno.h, and are located in /usr/include/asm/ errno.h. Lustre does not use all of the available Linux error numbers. The exact meaning of an error number depends on where it is used. Here is a summary of the basic errors that Lustre users may encounter.

  1. cat /etc/redhat-release
    CentOS release 5.5 (Final)
  2. uname -a
    Linux es15ga 2.6.18-238.12.1.el5_lustre.gce5e033 #1 SMP Thu Jun 23 20:11:14 PDT 2011 x86_64 x86_64 x86_64 GNU/Linux
  1. locate errno.h|xargs grep 122
    /usr/include/asm-generic/errno.h:#define EDQUOT 122 /* Quota exceeded */
    /usr/lib/bcc/include/arch/errno.h:#define EDQUOT 122 /* Quota exceeded */
    /usr/lib/bcc/include/generic/errno.h:#define EDQUOT 122 /* Quota exceeded */
    /usr/lib/bcc/include/linux/errno.h:#define EDQUOT 122 /* Quota exceeded */
    /usr/lib/syslinux/com32/include/errno.h:#define EDQUOT 122 /* Quota exceeded */
    /usr/src/kernels/2.6.18-238.12.1.el5_lustre.gce5e033-x86_64/include/asm-generic/errno.h:#define EDQUOT 122 /* Quota exceeded */


 Comments   
Comment by Richard Henwood (Inactive) [ 09/Sep/11 ]

Change is available for review:

http://review.whamcloud.com/#change,1369

Comment by Richard Henwood (Inactive) [ 12/Sep/11 ]

Hi Frank,

Would you be willing to review the change I've created?

Thanks,
Richard

Comment by Frank Leers [ 12/Sep/11 ]

Would love to, but the link to the change leads to a 404 Not Found page.

This link, specifically:
http://review.whamcloud.com/#change,1369

Comment by Richard Henwood (Inactive) [ 12/Sep/11 ]

To review using Gerrit, you'll need to sign-in.

If this is a pain for you, I can post the in-line here as an alternative.

Comment by Richard Henwood (Inactive) [ 28/Oct/11 ]

This change been reviewed and landed onto the Lustre manual.

Generated at Sat Feb 10 03:39:35 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.