[lustre-discuss] Strange lustre 2.7 client behavior

Philippe Weill Philippe.Weill at latmos.ipsl.fr
Mon Apr 25 09:01:30 PDT 2016



Le 25/04/2016 17:46, Jérôme BECOT a écrit :
> Hi,
>
> This is not really an issue, but I wondered if you already got it :
>
> Fresh installed linux machines. Lustre client 2.7.65 recompiled for kernel 3.10.0-327.10.1.el7.x86_64 on CentOS 7.2
> I boot the machine. "/scratch" folder is mounted from lustre with fstab
> I have an nagios nrpe daemon running. It controls the mount by running a bash script which begins with "if [ -d /scratch]"
>
> This very first test returns  False.
>
> If I add "else echo $(ls -l /);" it returns :
> d?????????? ? ? ? ? ? scratch
>
> If I unmount, the test is ok
> If I remount, it not pass
>
> If i run ls /scratch or the same test directly from a root shell, it's ok, and then my script works.
>
> It may be a bug. Any idea ?

not a bug , your nagios uid must be known on mds to have  this working

>
> Thanks
>

-- 
Weill Philippe -  Administrateur Systeme et Reseaux
CNRS/UPMC/IPSL   LATMOS (UMR 8190)
Tour 45/46 3e Etage B302|4 Place Jussieu|75252 Paris Cedex 05 -  FRANCE
Email:philippe.weill at latmos.ipsl.fr | tel:+33 0144274759


More information about the lustre-discuss mailing list