[Lustre-discuss] Lustre Build - Ubuntu 14.04 LTS

2014-05-01 Thread Steven Lokie
Trying to run a specific version of lustre client for our setup at work - I
am running into a weird error message on ./configure

personally never seen this error before - checking for external module
build support... configure: error: unknown; check config.log for details

GIT BUILD:

git clone git://git.whamcloud.com/fs/lustre-release.git
cd lustre-release/
git checkout --track -b b2_3 origin/b2_3
sh ./autogen.sh
./configure --disable-server

Log:

root@linux-desktop:/home/imemadmin/lustre-release# ./configure
--without-server
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to configure just enough for make dist... no
checking if this distro uses dpkg... yes
checking for buildid... none... congratulations, you must be on a tag
checking whether to build BGL features... no
checking for ranlib... ranlib
checking for buggy compiler... no known problems
checking size of unsigned long long... 8
--- size SIZEOF
--- size SIZEOF 8
checking whether to enable uoss... no
checking whether to enable posix osd... no
checking whether to build docs... no
checking whether to build utilities... yes
checking whether to install init scripts... no
checking whether to build Lustre tests... yes
checking whether to build Lustre server support... yes
checking whether to build Lustre client support... yes
checking whether to enable split support... no
checking whether to enable CDEBUG, CWARN... yes
checking whether to enable ENTRY/EXIT... yes
checking whether to enable LASSERT, LASSERTF... yes
checking sys/quota.h usability... yes
checking sys/quota.h presence... yes
checking for sys/quota.h... yes
checking whether to build kernel modules... yes (linux-gnu)
/usr/src/linux-headers-3.13.0-24-generic
/usr/src/linux-headers-3.13.0-24-generic
checking for Linux sources... /lib/modules/3.13.0-24-generic/build
checking for /lib/modules/3.13.0-24-generic/build... yes
checking for Linux objects dir... /lib/modules/3.13.0-24-generic/build
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /lib/modules/3.13.0-24-generic/build/.config... yes
checking for
/lib/modules/3.13.0-24-generic/build/include/generated/autoconf.h... yes
checking for
/lib/modules/3.13.0-24-generic/build/include/linux/version.h... yes
checking for
/lib/modules/3.13.0-24-generic/build/include/linux/kconfig.h... yes
checking if you are running user mode linux for x86_64... no (asm-um
missing)
checking for /lib/modules/3.13.0-24-generic/build/include/linux/namei.h...
yes
checking if you are using Linux 2.6... yes
checking for external module build support... configure: error: unknown;
check config.log for details
___
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss


Re: [Lustre-discuss] Lustre Build - Ubuntu 14.04 LTS

2014-05-01 Thread Keith Mannthey
I recommended you use Lustre 2.5+ for modern Linux kernels.  A large
amount of build changes would be need to be ported to run Lustre 2.3
version against your kernel version.  

Thanks,
 Keith  




On Thu, 2014-05-01 at 15:03 -0700, Steven Lokie wrote:
 Trying to run a specific version of lustre client for our setup at
 work - I am running into a weird error message on ./configure 
 
 
 personally never seen this error before - checking for external module
 build support... configure: error: unknown; check config.log for
 details
 
 
 GIT BUILD: 
 
 
 git clone git://git.whamcloud.com/fs/lustre-release.git
 cd lustre-release/
 git checkout --track -b b2_3 origin/b2_3
 sh ./autogen.sh
 ./configure --disable-server
 
 
 Log: 
 
 
 root@linux-desktop:/home/imemadmin/lustre-release# ./configure
 --without-server
 
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking target system type... x86_64-unknown-linux-gnu
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... no
 checking for mawk... mawk
 checking whether make sets $(MAKE)... yes
 checking how to create a ustar tar archive... gnutar
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables... 
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking for style of include used by make... GNU
 checking dependency style of gcc... gcc3
 checking how to run the C preprocessor... gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking whether to configure just enough for make dist... no
 checking if this distro uses dpkg... yes
 checking for buildid... none... congratulations, you must be on a tag
 checking whether to build BGL features... no
 checking for ranlib... ranlib
 checking for buggy compiler... no known problems
 checking size of unsigned long long... 8
 --- size SIZEOF 
 --- size SIZEOF 8
 checking whether to enable uoss... no
 checking whether to enable posix osd... no
 checking whether to build docs... no
 checking whether to build utilities... yes
 checking whether to install init scripts... no
 checking whether to build Lustre tests... yes
 checking whether to build Lustre server support... yes
 checking whether to build Lustre client support... yes
 checking whether to enable split support... no
 checking whether to enable CDEBUG, CWARN... yes
 checking whether to enable ENTRY/EXIT... yes
 checking whether to enable LASSERT, LASSERTF... yes
 checking sys/quota.h usability... yes
 checking sys/quota.h presence... yes
 checking for sys/quota.h... yes
 checking whether to build kernel modules... yes (linux-gnu)
 /usr/src/linux-headers-3.13.0-24-generic
 /usr/src/linux-headers-3.13.0-24-generic
 checking for Linux sources... /lib/modules/3.13.0-24-generic/build
 checking for /lib/modules/3.13.0-24-generic/build... yes
 checking for Linux objects dir... /lib/modules/3.13.0-24-generic/build
 checking for /boot/kernel.h... no
 checking for /var/adm/running-kernel.h... no
 checking for /lib/modules/3.13.0-24-generic/build/.config... yes
 checking
 for /lib/modules/3.13.0-24-generic/build/include/generated/autoconf.h... yes
 checking
 for /lib/modules/3.13.0-24-generic/build/include/linux/version.h...
 yes
 checking
 for /lib/modules/3.13.0-24-generic/build/include/linux/kconfig.h...
 yes
 checking if you are running user mode linux for x86_64... no (asm-um
 missing)
 checking
 for /lib/modules/3.13.0-24-generic/build/include/linux/namei.h... yes
 checking if you are using Linux 2.6... yes
 checking for external module build support... configure: error:
 unknown; check config.log for details
 ___
 Lustre-discuss mailing list
 Lustre-discuss@lists.lustre.org
 http://lists.lustre.org/mailman/listinfo/lustre-discuss

___
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss


Re: [Lustre-discuss] Fwd: MDT fails to mount after lustre upgrade

2014-05-01 Thread Anjana Kar

This one is lustre over zfs.
Running tunefs.lustre with writeconf didn't seem to help either.
Still get the same messages trying to mount MDT, though
all pools have data.

NAME SIZE  ALLOC   FREECAP  DEDUP  HEALTH  ALTROOT
lustre-mgs-mdt  74.5G  47.2G  27.3G63%  1.00x  ONLINE  -
lustre-ost0 16.2T  15.1T  1.20T92%  1.00x  ONLINE  -
lustre-ost1 16.2T  14.8T  1.48T90%  1.00x  ONLINE  -
lustre-ost2 16.2T  15.1T  1.16T92%  1.00x  ONLINE  -
lustre-ost3 16.2T  15.0T  1.23T92%  1.00x  ONLINE  -


On 04/24/2014 11:06 AM, Parinay Kondekar wrote:

Anjana,

Does this look similar - https://jira.hpdd.intel.com/browse/LU-4634 ?

including hpdd-discuss.

HTH

-- Forwarded message --
From: *Anjana Kar* k...@psc.edu mailto:k...@psc.edu
Date: 24 April 2014 20:16
Subject: Re: [Lustre-discuss] MDT fails to mount after lustre upgrade
To: lustre-discuss@lists.lustre.org 
mailto:lustre-discuss@lists.lustre.org



Would it make sense to run
tunefs.lustre --mgs --writeconf --mgs --mdt /dev/sda /dev/sdb ?

The original mkfs command used to create the MDT was
mkfs.lustre --reformat --fsname=iconfs --mgs --mdt --backfstype=zfs 
--device-size 131072 \

--index=0 lustre-mgs-mdt/mgsmdt0 mirror /dev/sda /dev/sdb

Not sure if both device names should be included or the zpool name.

The latest 2.5.x version also fails to mount MDT with similar 
messages, though

zpool seems intact... is there anyway to get MDT to mount?

[root@icon0 kar]# more /proc/fs/lustre/version
lustre: 2.5.58
kernel: patchless_client
build: 2.5.58-g5565877-PRISTINE-2.6.32-431.11.2.el6.netboot

[root@icon0 kar]# /sbin/service lustre start mgsmdt

Mounting lustre-mgs-mdt/mgsmdt0 on /mnt/lustre/local/mgsmdt
mount.lustre: mount lustre-mgs-mdt/mgsmdt0 at /mnt/lustre/local/mgsmdt 
failed: File exists


[root@icon0 kar]# zpool list
NAME SIZE  ALLOC   FREECAP  DEDUP  HEALTH ALTROOT
lustre-mgs-mdt  74.5G  47.2G  27.3G63%  1.00x ONLINE  -

Corresponding console messages:
2014-04-24T10:36:53.736967-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: Lustre: Lustre: Build Version: 
2.5.58-g5565877-PRISTINE-2.6.32-431.11.2.el6.netboot
2014-04-24T10:36:53.986362-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: LNet: Added LNI 10.10.101.160@o2ib [8/256/0/180]
2014-04-24T10:36:54.005177-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: LNet: Added LNI 128.182.75.160@tcp10 [8/256/0/180]
2014-04-24T10:36:54.009556-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: LNet: Accept secure, port 988
2014-04-24T10:36:57.428805-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: LustreError: 11-0: iconfs-MDT-lwp-MDT: Communicating 
with 0@lo, operation mds_connect failed with -11.
2014-04-24T10:36:58.600958-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: LustreError: 11888:0:(mdd_device.c:1050:mdd_prepare()) 
iconfs-MDD: failed to initialize lfsck: rc = -17
2014-04-24T10:36:58.600978-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: LustreError: 
11888:0:(obd_mount_server.c:1776:server_fill_super()) Unable to start 
targets: -17
2014-04-24T10:36:58.614082-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: Lustre: Failing over iconfs-MDT
2014-04-24T10:37:04.885917-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: Lustre: 11888:0:(client.c:1912:ptlrpc_expire_one_request()) 
@@@ Request sent has timed out for slow reply: [sent 1398350218/real 
1398350218]  req@8802fca1a000 x1466276472946828/t0(0) 
o251-MGC10.10.101.160@o2ib@0@lo:26/25 lens 224/224 e 0 to 1 dl 
1398350224 ref 2 fl Rpc:XN/0/ rc 0/-1
2014-04-24T10:37:05.418516-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: Lustre: server umount iconfs-MDT complete
2014-04-24T10:37:05.418535-04:00 icon0.psc.edu http://icon0.psc.edu 
kernel: LustreError: 11888:0:(obd_mount.c:1338:lustre_fill_super()) 
Unable to mount  (-17)


TIA,

-Anjana Kar
 Pittsburgh Supercomputing Center
k...@psc.edu mailto:k...@psc.edu
___
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org mailto:Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss




___
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss


___
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss