xfs
[Top] [All Lists]

Re: Run out of inodes?

To: xfs@xxxxxxxxxxx
Subject: Re: Run out of inodes?
From: Samuel Granjeaud <samuel.granjeaud@xxxxxxxxx>
Date: Tue, 02 Sep 2014 09:22:13 +0200
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20140901211932.342b4bb3@xxxxxxxxxxxxxx>
References: <54005108.1020203@xxxxxxxxx> <20140829114806.GA17610@xxxxxxxxxxxxxxx> <5400802C.5050005@xxxxxxxxx> <54009603.9050404@xxxxxxxxxxx> <8d5fff2548d35737c6cebcb1f6382e80@xxxxxxxxx> <20140901211932.342b4bb3@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
Thanks Eric and Emmanuel.

Here are the diagnosis of the installed samba distrib with openfiler 64 bits

# smb (auto-completion key)
smbcontrol  smbd        smbpasswd   smbprint    smbstatus smbtar

# which smbcontrol  smbd        smbpasswd   smbprint    smbstatus smbtar
/usr/bin/smbcontrol
/usr/sbin/smbd
/usr/bin/smbpasswd
/usr/bin/smbprint
/usr/bin/smbstatus
/usr/bin/smbtar

# file /usr/sbin/smbd /usr/bin/smb*
/usr/sbin/smbd: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, stripped /usr/bin/smbcontrol: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, stripped /usr/bin/smbpasswd: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, stripped
/usr/bin/smbprint:   Bourne shell script text executable
/usr/bin/smbstatus: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, stripped
/usr/bin/smbtar:     Bourne shell script text executable

[root@proteo-replica ~]# ldd /usr/sbin/smbd /usr/bin/smb*
/usr/sbin/smbd:
    libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00007fe4c97ff000)
    liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00007fe4c96f0000)
libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2 (0x00007fe4c95d8000)
    libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3 (0x00007fe4c945e000)
libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3 (0x00007fe4c933a000) libkrb5support.so.0 => /usr/kerberos/lib64/libkrb5support.so.0 (0x00007fe4c9237000) libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3 (0x00007fe4c9133000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fe4c9020000)
    libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fe4c8eed000)
    libpam.so.0 => /lib64/libpam.so.0 (0x00007fe4c8de5000)
    libacl.so.1 => /lib64/libacl.so.1 (0x00007fe4c8cdd000)
    libattr.so.1 => /lib64/libattr.so.1 (0x00007fe4c8bd9000)
    libcap.so.1 => /lib64/libcap.so.1 (0x00007fe4c8ad5000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fe4c89bf000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fe4c88bc000)
    librt.so.1 => /lib64/tls/librt.so.1 (0x00007fe4c87a2000)
    libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007fe4c869a000)
    libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007fe4c8592000)
    libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007fe4c8485000)
    libwbclient.so.0 => /usr/lib64/libwbclient.so.0 (0x00007fe4c8379000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00007fe4c8264000)
    libc.so.6 => /lib64/tls/libc.so.6 (0x00007fe4c803e000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fe4c7f27000)
    libssl.so.5 => /lib64/libssl.so.5 (0x00007fe4c7dde000)
    libcrypto.so.5 => /lib64/libcrypto.so.5 (0x00007fe4c7b6e000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fe4c9935000)
    libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00007fe4c7a5a000)
/usr/bin/smbcontrol:
    libcap.so.1 => /lib64/libcap.so.1 (0x00007f6133e37000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f6133d24000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f6133c0e000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f6133b0b000)
    librt.so.1 => /lib64/tls/librt.so.1 (0x00007f61339f1000)
    libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00007f61338bb000)
    liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00007f61337ac000)
    libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007f61336a4000)
    libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007f613359c000)
    libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007f613348f000)
    libc.so.6 => /lib64/tls/libc.so.6 (0x00007f6133269000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f6133f3b000)
    libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00007f6133155000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f613303e000)
    libssl.so.5 => /lib64/libssl.so.5 (0x00007f6132ef5000)
    libcrypto.so.5 => /lib64/libcrypto.so.5 (0x00007f6132c85000)
libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2 (0x00007f6132b6d000)
    libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3 (0x00007f61329f3000)
libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3 (0x00007f61328ef000) libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3 (0x00007f61327cb000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00007f61326b6000)
libkrb5support.so.0 => /usr/kerberos/lib64/libkrb5support.so.0 (0x00007f61325b3000)
/usr/bin/smbpasswd:
    libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00007f9eaea1f000)
    liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00007f9eae910000)
    libcap.so.1 => /lib64/libcap.so.1 (0x00007f9eae80c000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f9eae6f9000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f9eae5e3000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f9eae4e0000)
    librt.so.1 => /lib64/tls/librt.so.1 (0x00007f9eae3c6000)
    libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007f9eae2be000)
libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2 (0x00007f9eae1a6000)
    libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3 (0x00007f9eae02c000)
libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3 (0x00007f9eadf08000) libkrb5support.so.0 => /usr/kerberos/lib64/libkrb5support.so.0 (0x00007f9eade05000) libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3 (0x00007f9eadd01000)
    libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007f9eadbf9000)
    libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007f9eadaec000)
    libwbclient.so.0 => /usr/lib64/libwbclient.so.0 (0x00007f9ead9e0000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00007f9ead8cb000)
    libc.so.6 => /lib64/tls/libc.so.6 (0x00007f9ead6a5000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f9ead58e000)
    libssl.so.5 => /lib64/libssl.so.5 (0x00007f9ead445000)
    libcrypto.so.5 => /lib64/libcrypto.so.5 (0x00007f9ead1d5000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f9eaeb55000)
    libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00007f9ead0c1000)
/usr/bin/smbprint:
    not a dynamic executable
/usr/bin/smbstatus:
    libcap.so.1 => /lib64/libcap.so.1 (0x00007ffc9b5d5000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007ffc9b4c2000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007ffc9b3ac000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007ffc9b2a9000)
    librt.so.1 => /lib64/tls/librt.so.1 (0x00007ffc9b18f000)
    libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00007ffc9b059000)
    liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00007ffc9af4a000)
    libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007ffc9ae42000)
    libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007ffc9ad3a000)
    libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007ffc9ac2d000)
    libc.so.6 => /lib64/tls/libc.so.6 (0x00007ffc9aa07000)
    /lib64/ld-linux-x86-64.so.2 (0x00007ffc9b6d9000)
    libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00007ffc9a8f3000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007ffc9a7dc000)
    libssl.so.5 => /lib64/libssl.so.5 (0x00007ffc9a693000)
    libcrypto.so.5 => /lib64/libcrypto.so.5 (0x00007ffc9a423000)
libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2 (0x00007ffc9a30b000)
    libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3 (0x00007ffc9a191000)
libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3 (0x00007ffc9a08d000) libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3 (0x00007ffc99f69000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00007ffc99e54000)
libkrb5support.so.0 => /usr/kerberos/lib64/libkrb5support.so.0 (0x00007ffc99d51000)
/usr/bin/smbtar:
    not a dynamic executable
[root@proteo-replica ~]# ldd /usr/sbin/smbd /usr/bin/smb* | grep -r "lib64"
    libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00007fe322205000)
    liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00007fe3220f6000)
libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2 (0x00007fe321fde000)
    libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3 (0x00007fe321e64000)
libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3 (0x00007fe321d40000) libkrb5support.so.0 => /usr/kerberos/lib64/libkrb5support.so.0 (0x00007fe321c3d000) libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3 (0x00007fe321b39000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fe321a26000)
    libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fe3218f3000)
    libpam.so.0 => /lib64/libpam.so.0 (0x00007fe3217eb000)
    libacl.so.1 => /lib64/libacl.so.1 (0x00007fe3216e3000)
    libattr.so.1 => /lib64/libattr.so.1 (0x00007fe3215df000)
    libcap.so.1 => /lib64/libcap.so.1 (0x00007fe3214db000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fe3213c5000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fe3212c2000)
    librt.so.1 => /lib64/tls/librt.so.1 (0x00007fe3211a8000)
    libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007fe3210a0000)
    libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007fe320f98000)
    libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007fe320e8b000)
    libwbclient.so.0 => /usr/lib64/libwbclient.so.0 (0x00007fe320d7f000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00007fe320c6a000)
    libc.so.6 => /lib64/tls/libc.so.6 (0x00007fe320a44000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fe32092d000)
    libssl.so.5 => /lib64/libssl.so.5 (0x00007fe3207e4000)
    libcrypto.so.5 => /lib64/libcrypto.so.5 (0x00007fe320574000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fe32233b000)
    libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00007fe320460000)
    libcap.so.1 => /lib64/libcap.so.1 (0x00007fad1f282000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fad1f16f000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fad1f059000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fad1ef56000)
    librt.so.1 => /lib64/tls/librt.so.1 (0x00007fad1ee3c000)
    libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00007fad1ed06000)
    liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00007fad1ebf7000)
    libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007fad1eaef000)
    libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007fad1e9e7000)
    libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007fad1e8da000)
    libc.so.6 => /lib64/tls/libc.so.6 (0x00007fad1e6b4000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fad1f386000)
    libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00007fad1e5a0000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007fad1e489000)
    libssl.so.5 => /lib64/libssl.so.5 (0x00007fad1e340000)
    libcrypto.so.5 => /lib64/libcrypto.so.5 (0x00007fad1e0d0000)
libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2 (0x00007fad1dfb8000)
    libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3 (0x00007fad1de3e000)
libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3 (0x00007fad1dd3a000) libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3 (0x00007fad1dc16000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00007fad1db01000)
libkrb5support.so.0 => /usr/kerberos/lib64/libkrb5support.so.0 (0x00007fad1d9fe000)
    libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00007f4551e92000)
    liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00007f4551d83000)
    libcap.so.1 => /lib64/libcap.so.1 (0x00007f4551c7f000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f4551b6c000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f4551a56000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f4551953000)
    librt.so.1 => /lib64/tls/librt.so.1 (0x00007f4551839000)
    libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007f4551731000)
libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2 (0x00007f4551619000)
    libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3 (0x00007f455149f000)
libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3 (0x00007f455137b000) libkrb5support.so.0 => /usr/kerberos/lib64/libkrb5support.so.0 (0x00007f4551278000) libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3 (0x00007f4551174000)
    libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007f455106c000)
    libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007f4550f5f000)
    libwbclient.so.0 => /usr/lib64/libwbclient.so.0 (0x00007f4550e53000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00007f4550d3e000)
    libc.so.6 => /lib64/tls/libc.so.6 (0x00007f4550b18000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f4550a01000)
    libssl.so.5 => /lib64/libssl.so.5 (0x00007f45508b8000)
    libcrypto.so.5 => /lib64/libcrypto.so.5 (0x00007f4550648000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f4551fc8000)
    libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00007f4550534000)
    libcap.so.1 => /lib64/libcap.so.1 (0x00007f03c54c6000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f03c53b3000)
    libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f03c529d000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f03c519a000)
    librt.so.1 => /lib64/tls/librt.so.1 (0x00007f03c5080000)
    libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x00007f03c4f4a000)
    liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x00007f03c4e3b000)
    libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00007f03c4d33000)
    libtalloc.so.1 => /usr/lib64/libtalloc.so.1 (0x00007f03c4c2b000)
    libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x00007f03c4b1e000)
    libc.so.6 => /lib64/tls/libc.so.6 (0x00007f03c48f8000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f03c55ca000)
    libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00007f03c47e4000)
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f03c46cd000)
    libssl.so.5 => /lib64/libssl.so.5 (0x00007f03c4584000)
    libcrypto.so.5 => /lib64/libcrypto.so.5 (0x00007f03c4314000)
libgssapi_krb5.so.2 => /usr/kerberos/lib64/libgssapi_krb5.so.2 (0x00007f03c41fc000)
    libkrb5.so.3 => /usr/kerberos/lib64/libkrb5.so.3 (0x00007f03c4082000)
libcom_err.so.3 => /usr/kerberos/lib64/libcom_err.so.3 (0x00007f03c3f7e000) libk5crypto.so.3 => /usr/kerberos/lib64/libk5crypto.so.3 (0x00007f03c3e5a000)
    libz.so.1 => /usr/lib64/libz.so.1 (0x00007f03c3d45000)
libkrb5support.so.0 => /usr/kerberos/lib64/libkrb5support.so.0 (0x00007f03c3c42000)

# ldd /usr/sbin/smbd /usr/bin/smb* | grep -v "lib64"
/usr/sbin/smbd:
/usr/bin/smbcontrol:
/usr/bin/smbpasswd:
/usr/bin/smbprint:
    not a dynamic executable
/usr/bin/smbstatus:
/usr/bin/smbtar:
    not a dynamic executable

If there is no other binary in relation to Samba I didn't think about, I guess the Samba package is 64 bits. This should prevent me from any surprise.

Best.

Eric Sandeen wrote, On 31/08/14 04:46:
On 8/30/14, 2:33 PM, Samuel GRANJEAUD IR/INSERM wrote:
Enabling the inode64 option has solved the problem.

Final question: could some issues appear with SAMBA?

ah, what sort of issues?

Any application which uses i.e. a 32-bit stat() interface will return -EOVERFLOW on a 64-bit inode.

http://sandeen.net/wordpress/computers/the-world-wants-32-bit-inodes/
http://blog.fmeh.org/2013/05/11/does-the-world-need-32-bit-inodes/

-Eric


Emmanuel Florac wrote, On 01/09/14 21:19:
Le Sat, 30 Aug 2014 21:33:46 +0200 vous Ãcriviez:

Final question: could some issues appear with SAMBA?

# smbstatus  -V
Version 3.4.5
Is your whole distribution 64 bits, or only the kernel? However, I've
never had any problem with samba, but some with NFS.


<Prev in Thread] Current Thread [Next in Thread>