<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
On Sep 22, 2023, at 01:45, Jan Andersen &lt;<a href="mailto:jan@comind.io" class="">jan@comind.io</a>&gt; wrote:<br class="">
<div>
<blockquote type="cite" class=""><br class="Apple-interchange-newline">
<div class="">
<div class="">Hi Andreas,<br class="">
<br class="">
Thank you for your insightful reply. I didn't know Rocky; I see there's a version 9 as well - is ver 8 better, since it is more mature?<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
There is an el9.2 ldiskfs series that would likely also apply to the Rocky9.2 kernel of the same version. &nbsp;We are currently using el8.8 servers in production and I'm not sure how many people are using 9.2 yet. &nbsp;On the client side, Debian/Ubuntu are widely used.</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div class="">You mention zfs, which I really liked when I worked on Solaris, but when I tried it on Linux it seemed to perform poorly, but that was in Ubuntu; is it better in Redhat et al.?<br class="">
</div>
</div>
</blockquote>
<div><br class="">
</div>
I would think Ubuntu/Debian is working with ZFS better (and may even have ZFS .deb packages available in the distro, which RHEL will likely never have). &nbsp;It's true the ZFS performance is worse than ldiskfs, but can make it easier to use. &nbsp;That is up to you.</div>
<div><br class="">
</div>
<div>Cheers, Andreas</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div class=""><br class="">
/jan<br class="">
<br class="">
On 21/09/2023 18:40, Andreas Dilger wrote:<br class="">
<blockquote type="cite" class="">The first yes toon to ask is what is your end goal? &nbsp;If you just want to build only a client that is mounting to an existing server, then you can disable the server functionality:<br class="">
&nbsp;&nbsp;&nbsp;&nbsp;./configure --disable-server<br class="">
and it should build fine.<br class="">
If you want to also build a server, and *really* want it to run Debian instead of eg. Rocky 8, then you could disable ldiskfs and use ZFS:<br class="">
&nbsp;&nbsp;&nbsp;&nbsp;./configure --disable-ldiskfs<br class="">
You need to have installed ZFS first (either pre-packaged or built yourself), but it is less kernel-specific than ldiskfs.<br class="">
Cheers, Andreas<br class="">
<blockquote type="cite" class="">On Sep 21, 2023, at 10:35, Jan Andersen &lt;<a href="mailto:jan@comind.io" class="">jan@comind.io</a>&gt; wrote:<br class="">
<br class="">
\ufeffMy system: Debian 11, kernel version 5.10.0-13-amd64; I have the following source code:<br class="">
<br class="">
# ll /usr/src/<br class="">
total 117916<br class="">
drwxr-xr-x &nbsp;2 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Aug 21 09:19 linux-config-5.10/<br class="">
drwxr-xr-x &nbsp;4 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Jul 25 &nbsp;2022 linux-headers-5.10.0-12-amd64/<br class="">
drwxr-xr-x &nbsp;4 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Jul 25 &nbsp;2022 linux-headers-5.10.0-12-common/<br class="">
drwxr-xr-x &nbsp;4 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Jul 25 &nbsp;2022 linux-headers-5.10.0-13-amd64/<br class="">
drwxr-xr-x &nbsp;4 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Jul 25 &nbsp;2022 linux-headers-5.10.0-13-common/<br class="">
drwxr-xr-x &nbsp;4 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Aug 11 09:59 linux-headers-5.10.0-24-amd64/<br class="">
drwxr-xr-x &nbsp;4 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Aug 11 09:59 linux-headers-5.10.0-24-common/<br class="">
drwxr-xr-x &nbsp;4 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Aug 21 09:19 linux-headers-5.10.0-25-amd64/<br class="">
drwxr-xr-x &nbsp;4 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Aug 21 09:19 linux-headers-5.10.0-25-common/<br class="">
lrwxrwxrwx &nbsp;1 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;24 Jun 30 &nbsp;2022 linux-kbuild-5.10 -&gt; ../lib/linux-kbuild-5.10<br class="">
-rw-r--r-- &nbsp;1 root root &nbsp;&nbsp;&nbsp;161868 Aug 16 21:52 linux-patch-5.10-rt.patch.xz<br class="">
drwxr-xr-x 25 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Jul 14 21:24 linux-source-5.10/<br class="">
-rw-r--r-- &nbsp;1 root root 120529768 Aug 16 21:52 linux-source-5.10.tar.xz<br class="">
drwxr-xr-x &nbsp;2 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096 Jan 30 &nbsp;2023 percona-server/<br class="">
lrwxrwxrwx &nbsp;1 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;28 Jul 29 &nbsp;2022 vboxhost-6.1.36 -&gt; /opt/VirtualBox/src/vboxhost<br class="">
lrwxrwxrwx &nbsp;1 root root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;32 Apr 17 19:32 vboxhost-7.0.8 -&gt; ../share/virtualbox/src/vboxhost<br class="">
<br class="">
<br class="">
I have downloaded the source code of lustre 2.15.3:<br class="">
<br class="">
# git checkout 2.15.3<br class="">
# git clone <a href="git://git.whamcloud.com/fs/lustre-release.git" class="">git://git.whamcloud.com/fs/lustre-release.git</a><br class="">
<br class="">
- and I'm trying to build it, following <a href="https://wiki.lustre.org/Compiling_Lustre" class="">
https://wiki.lustre.org/Compiling_Lustre</a><br class="">
<br class="">
I've got through 'autogen.sh' and 'configure' and most of 'make debs', but when it comes to patching:<br class="">
<br class="">
cd linux-stage &amp;&amp; quilt push -a -q<br class="">
Applying patch patches/rhel8/ext4-inode-version.patch<br class="">
Applying patch patches/linux-5.4/ext4-lookup-dotdot.patch<br class="">
Applying patch patches/suse15/ext4-print-inum-in-htree-warning.patch<br class="">
Applying patch patches/linux-5.8/ext4-prealloc.patch<br class="">
Applying patch patches/ubuntu18/ext4-osd-iop-common.patch<br class="">
Applying patch patches/linux-5.10/ext4-misc.patch<br class="">
1 out of 4 hunks FAILED<br class="">
Patch patches/linux-5.10/ext4-misc.patch does not apply (enforce with -f)<br class="">
make[2]: *** [autoMakefile:645: sources] Error 1<br class="">
make[2]: Leaving directory '/root/repos/lustre-release/ldiskfs'<br class="">
make[1]: *** [autoMakefile:652: all-recursive] Error 1<br class="">
make[1]: Leaving directory '/root/repos/lustre-release'<br class="">
make: *** [autoMakefile:524: all] Error 2<br class="">
<br class="">
<br class="">
My best guess is that it is because the running kernel version doesn't exactly match the kernel source tree, but I can't seem to find that version. Am I right - and if so, where would I go to download the right kernel tree?<br class="">
<br class="">
_______________________________________________<br class="">
lustre-discuss mailing list<br class="">
<a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a><br class="">
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<br class="">
</blockquote>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Lustre&nbsp;Principal Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>