Page History
...
This document walks through the steps of patching the kernel, building Lustre and running a basic test of the complete system.
If you prefer to skip the kernel build steps and get right to building Lustre, you can download and install pre-patched server kernel RPMs from a recent lustre-master, and can then jump straight to the Configure and build Lustre section below. You should navigate to the el8.x server results (green checkmarked circle), then Build Artifacts→Artifacts→RPMs→x86_64, and get at least the kernel, kernel-devel, kernel-modules RPMs to install.
...
Process
Provision machine and installing dependencies.
...
Configure Lustre source:
Code Block language bash theme Eclipse cd lustre-release ./configure --with-linux=/home/build/kernel/rpmbuild/BUILD/kernel-4.18.0-425.19.2.el8_7/linux-4.18.0-425.19.2.el8_lustre.`uname -m`/ --disable-gss --disable-shared --disable-cryptoBuild and install Lustre:
Code Block language bash theme Eclipse make -j8 sudo make install sudo depmod -a
Run
/usr/lib64/lustre/tests/llmount.sh and tests lustre:Code Block language bash theme Eclipse /usr/lib64/lustre/tests/llmount.sh
Stopping clients: sr050 /mnt/lustre (opts:-f)Stopping clients: sr050 /mnt/lustre2 (opts:-f)sr050: executing set_hostidLoading modules from /usr/lib64/lustre/tests/..detected 8 online CPUs by sysfslibcfs will create CPU partition based on online CPUsFormatting mgs, mds, ostsFormat mds1: /tmp/lustre-mdt1Format ost1: /tmp/lustre-ost1Format ost2: /tmp/lustre-ost2Checking servers environmentsChecking clients sr050 environmentsLoading modules from /usr/lib64/lustre/tests/..detected 8 online CPUs by sysfslibcfs will create CPU partition based on online CPUsSetup mgs, mdt, ostsStarting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1Commit the device label on /tmp/lustre-mdt1Started lustre-MDT0000Starting ost1: -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1Commit the device label on /tmp/lustre-ost1Started lustre-OST0000Starting ost2: -o localrecov /dev/mapper/ost2_flakey /mnt/lustre-ost2Commit the device label on /tmp/lustre-ost2Started lustre-OST0001Starting client: sr050: -o user_xattr,flock sr050@tcp:/lustre /mnt/lustreUUID 1K-blocks Used Available Use% Mounted onlustre-MDT0000_UUID 125056 1644 112176 2% /mnt/lustre[MDT:0]lustre-OST0000_UUID 313104 1244 284700 1% /mnt/lustre[OST:0]lustre-OST0001_UUID 313104 1244 284700 1% /mnt/lustre[OST:1]
filesystem_summary: 626208 2488 569400 1% /mnt/lustre
Using TIMEOUT=20osc.lustre-OST0000-osc-ffffce9052651800.idle_timeout=debugosc.lustre-OST0001-osc-ffffce9052651800.idle_timeout=debugsetting jobstats to procname_uidSetting lustre.sys.jobid_var from disable to procname_uidWaiting 90s for 'procname_uid'Updated after 4s: want 'procname_uid' got 'procname_uid'disable quota as requiredlod.lustre-MDT0000-mdtlov.mdt_hash=crush- You will now have a Lustre filesystem available at
/mnt/lustre
...