[Lustre-discuss] Lustre v2.1 RHEL 6.1 build does not work

Jon Zhu jon.zhu at gmail.com
Thu Jun 23 12:05:54 PDT 2011


The problem disappeared after I disable SELinux with the following steps, it
works very well. Maybe we need to mention disabling SELinux and probably
creating extra firewall policy to enable Lustre inter-node communication in
the setup guide.

Edit /etc/selinux/config and make sure the following line is
*SELINUX=disabled*
*Reboot host. (this is a must, the test environment must have SELINUX
disabled, *echo 0 >/selinux/enforce won't work)
*
*
Hope this helps, and thanks for all of your help.

Regards,
-Jon.



On Thu, Jun 23, 2011 at 8:26 AM, Jon Zhu <jon.zhu at gmail.com> wrote:

> Thanks, Peter.
> The procedure has a step to create initrd:
>
> # /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod --install 2.6.32lustre21
>
>
> It doesn't work so I used this command instead:
> mkinitrd /boot/initramfs-2.6.32.lustre21.img 2.6.32.lustre21
>
> Looking forward to get the new procedure soon.
>
> Regards,
> -Jon.
>
> On Thu, Jun 23, 2011 at 1:02 AM, Peter Jones <pjones at whamcloud.com> wrote:
>
>> **
>> Jon
>>
>> It seems that the instructions (written at the end of May) have grown
>> stale since the recent realignment on RHEL6.1. We'll get the instructions
>> updated.
>>
>> Peter
>>
>>
>> On 11-06-22 6:03 PM, Jon Zhu wrote:
>>
>> Hi, all
>>
>>  As a fan of Lustre file system, recently I got a chance to try to build
>> Lustre whamcloud code v2.1 branch from scratch, the following build guide
>> works pretty well:
>>
>> http://wiki.whamcloud.com/display/PUB/Walk-thru-+Build+Lustre+2.1+on+RHEL6+from+Whamcloud+git
>>
>>  Everything works well until the last step, when I
>> run  /usr/lib64/lustre/tests/llmount.sh, it failed with the following
>> error:
>>
>> #############################################################################################
>> [root at ip-10-204-59-145 tests]# /usr/lib64/lustre/tests/llmount.sh
>> Stopping clients: ip-10-204-59-145 /mnt/lustre (opts:)
>> Stopping clients: ip-10-204-59-145 /mnt/lustre2 (opts:)
>> Loading modules from /usr/lib64/lustre/tests/..
>> debug=0x33f0404
>> subsystem_debug=0xffb7e3ff
>> gss/krb5 is not supported
>> WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> belong into /etc/modprobe.d/.
>> WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> belong into /etc/modprobe.d/.
>> WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> belong into /etc/modprobe.d/.
>> WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> belong into /etc/modprobe.d/.
>>  Formatting mgs, mds, osts
>> Format mds1: /tmp/lustre-mdt1
>> Format ost1: /tmp/lustre-ost1
>> Format ost2: /tmp/lustre-ost2
>> Checking servers environments
>> Checking clients ip-10-204-59-145 environments
>> Loading modules from /usr/lib64/lustre/tests/..
>> debug=0x33f0404
>> subsystem_debug=0xffb7e3ff
>> gss/krb5 is not supported
>> Setup mgs, mdt, osts
>> Starting mds1: -o loop,user_xattr,acl  /tmp/lustre-mdt1 /mnt/mds1
>> mount.lustre: mount /dev/loop0 at /mnt/mds1 failed: Operation not
>> supported
>>
>> #############################################################################################
>>
>>  Can anyone shed some light on this issue? Does this mean current
>> Whamcloud Lustre code base (git://git.whamcloud.com/fs/lustre-release.git)
>> is not ready for test drive?
>>
>>  Detailed system log messages is attached for your information, the test
>> machine's info is also dumped as following:
>>
>>  [root at ip-10-204-59-145 tests]# uname -a
>>  Linux ip-10-204-59-145 2.6.32.lustre21 #6 SMP Wed Jun 22 15:27:40 EDT
>> 2011 x86_64 x86_64 x86_64 GNU/Linux
>>
>>  [root at ip-10-204-59-145 tests]# cat /etc/redhat-release
>> Red Hat Enterprise Linux Server release 6.1 (Santiago)
>>
>>  BTW, thanks to the Whamcloud team for contributing so much to Lustre,
>> without your effort Lustre is almost dead.
>>
>>  Regards,
>> -Jon.
>> jon.zhu at gmail.com
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Lustre-discuss mailing listLustre-discuss at lists.lustre.orghttp://lists.lustre.org/mailman/listinfo/lustre-discuss
>>
>>
>> --
>> Peter Jones
>> Whamcloud, Inc.www.whamcloud.com
>>
>>
>> _______________________________________________
>> Lustre-discuss mailing list
>> Lustre-discuss at lists.lustre.org
>> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20110623/18188ce6/attachment.htm>


More information about the lustre-discuss mailing list