Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-27 Thread Tung-Han Hsieh
Dear All, To follow up my previous problems on Lustre-2.10.5. After spending more days of test, finally I have solved it. The solution is that my Linux kernel configuration should set: CONFIG_DEBUG_FS=y when compiling kernel (version 3.12.72). Without enabling this option, Lustre-2.9 can work,

Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-25 Thread Tung-Han Hsieh
Hello, I just made another test. On my newer machine, I rebooted it with older kernel 3.12.72, and try to recompile Lustre again. So the system now becomes: Linux OS Debian 9.5, with kmod version 23-2, udev version 232-25+deb9u4, linux kernel 3.12.72, gcc-4.9.2. Then I compile Lustre-2.10.5 with

Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-25 Thread Tung-Han Hsieh
Dear Andreas, Thank you very much for your kindly reply. When I run "modprobe lustre", dmesg only tells: [191843.804416] LNet: HW NUMA nodes: 2, HW CPU cores: 24, npartitions: 2 [191844.582597] Lustre: Lustre: Build Version: 2.10.0 and I got "ERROR: could not insert 'lustre': No such device" co

Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-25 Thread Andreas Dilger
What does dmesg tell you? Normally it will report some module has incorrect symbols, which means you compiled against a different version of the kernel source. OFED/MOFED libraries, etc. > On Sep 25, 2018, at 05:14, Tung-Han Hsieh > wrote: > > Dear All, > > I found that my lustre-2.10.5 wit

Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-24 Thread Tung-Han Hsieh
Dear All, I found that my lustre-2.10.5 with ZFS (either 0.7.9 or 0.7.11) cannot load the "lustre" modules because it cannot load the "obdclass.ko" module. The error message is the following: # modprobe -v -v obdclass insmod /lib/modules/3.12.72/updates/fs/lustre/obdclass.ko libkmod: INFO ../lib

Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-24 Thread Andreas Dilger
Don't use 0.7.10, it has a serious bug. Use 0.7.12 instead. Cheers, Andreas > On Sep 24, 2018, at 21:39, Riccardo Veraldi > wrote: > > as for me Lustre 2.10.5 is not building on ZFS 0.7.10 > of course it builds fine with ZFS 0.7.9 > > CC:gcc > LD:/usr/bin/ld -m elf_x8

Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-24 Thread Riccardo Veraldi
as for me Lustre 2.10.5 is not building on ZFS 0.7.10 of course it builds fine with ZFS 0.7.9 CC:    gcc LD:    /usr/bin/ld -m elf_x86_64 CPPFLAGS:  -include /root/rpmbuild/BUILD/lustre-2.10.5/undef.h -include /root/rpmbuild/BUILD/lustre-2.10.5/config.h -I/root/rpmbuild/BUIL

Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-24 Thread Tung-Han Hsieh
Dear Nathaniel, Thank you very much for your kindly reply. Indeed I modified the lustre-2.10.5 codes: lustre/osd-zfs/osd_object.c lustre/osd-zfs/osd_xattr.c for the declaration: inode_timespec_t now; Similar to what you have done in your patch. So I can compile lustre-2.10.5 cleanl

Re: [lustre-discuss] Lustre-2.10.5 problem

2018-09-24 Thread Nathaniel Clark
Hello Tung-Han, ZFS 0.7.11 doesn’t compile cleanly with Lustre, yet. There’s a ticket for adding ZFS 0.7.11 support to lustre: https://jira.whamcloud.com/browse/LU-11393 It has patches for master (pre-2.12) and a separate patch for 2.10. — Nathaniel Clark mailto:ncl...@whamcloud.com>> Senior En

[lustre-discuss] Lustre-2.10.5 problem

2018-09-24 Thread Tung-Han Hsieh
Dear All, I am trying to install Lustre version 2.10.5 with ZFS-0.7.11 from source code. After compilation and installation, I tried to load the "lustre" module, but encountered the following error: # modprobe lustre could not load module 'lustre': no such device My procedure of installation is