[Lustre-discuss] Autoconf/Automake problem when running on Lustre 1.8.2 filesystem

Andreas Dilger andreas.dilger at oracle.com
Thu Jun 3 12:27:04 PDT 2010


On 2010-06-03, at 11:50, Ashley Nicholls wrote:
> Setup and problem:
> After much trial and error I have managed to setup a small Lustre system consisting of one MDS and one OSS. All machines involved  are CentOS 5 based and run the 2.6.18-164.11.1.el5_lustre.1.8.2 kernel. This setup appears to work correctly but now fails in a way that it didn't before.
> 
> One of our builds that uses autoconf started failing with the error: 
> "Can't locate auto/Autom4te/XFile/msg.al in @INC"
> 
> After having a look at some of the problems encountered on OpenBSD with automake and a lockless NFS system a workaround was suggested. By adding the line 'use Autom4te::Channels qw(msg);' and 'use Automake::Channels qw(msg);' to the respective XFile.pm autoconf becomes more verbose and produces:
> "autom4te: cannot lock autom4te.cache/requests with mode 2: Function not implemented"

Your tools probably are using flock to lock the files.  You need to mount the clients with "-o flock" to get globally-coherent flock (at some performance impact) or "-o localflock" to get local-node-only flock (at minimal performance impact).

Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.




More information about the lustre-discuss mailing list