Details
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.
- cat /etc/redhat-release
CentOS release 5.5 (Final) - 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
- 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 */