<?xml version="1.0" encoding="utf-8"?> 
<rss version="2.0"
  xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
  xmlns:atom="http://www.w3.org/2005/Atom">

<channel>

<title>M9K blog: заметки с тегом Oracle Linux 8.10</title>
<link>https://blog.m9k.space/tags/oracle-linux-8-10/</link>
<description>Заметки обо всём: devops, lifestyle, культура.</description>
<author>M</author>
<language>ru</language>
<generator>E2 (v3877; Aegea)</generator>

<itunes:owner>
<itunes:name>M</itunes:name>
<itunes:email></itunes:email>
</itunes:owner>
<itunes:subtitle>Заметки обо всём: devops, lifestyle, культура.</itunes:subtitle>
<itunes:image href="" />
<itunes:explicit></itunes:explicit>

<item>
<title>ZFS на Oracle Linux 8.10</title>
<guid isPermaLink="false">181</guid>
<link>https://blog.m9k.space/all/zfs-na-oracle-linux-8-10/</link>
<pubDate>Thu, 06 Mar 2025 10:29:29 +0000</pubDate>
<author>M</author>
<comments>https://blog.m9k.space/all/zfs-na-oracle-linux-8-10/</comments>
<description>
&lt;p&gt;При установке ZFS на Oracle Linux 8.10 по официальной &lt;a href="https://openzfs.github.io/openzfs-docs/Getting%20Started/RHEL-based%20distro/index.html"&gt;доке&lt;/a&gt; столкнулся с неочевидной ошибкой:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;checking for kernel config option compatibility... done&lt;br /&gt;
checking whether CONFIG_MODULES is defined... no&lt;br /&gt;
configure: error:&lt;br /&gt;
		*** This kernel does not include the required loadable module&lt;br /&gt;
		*** support!&lt;br /&gt;
		***&lt;br /&gt;
		*** To build OpenZFS as a loadable Linux kernel module&lt;br /&gt;
		*** enable loadable module support by setting&lt;br /&gt;
		*** `CONFIG_MODULES=y` in the kernel configuration and run&lt;br /&gt;
		*** `make modules_prepare` in the Linux source tree.&lt;br /&gt;
		***&lt;br /&gt;
		*** If you don’t intend to enable loadable kernel module&lt;br /&gt;
		*** support, please compile OpenZFS as a Linux kernel built-in.&lt;br /&gt;
		***&lt;br /&gt;
		*** Prepare the Linux source tree by running `make prepare`,&lt;br /&gt;
		*** use the OpenZFS `—enable-linux-builtin` configure option,&lt;br /&gt;
		*** copy the OpenZFS sources into the Linux source tree using&lt;br /&gt;
		*** `./copy-builtin &lt;linux source directory&gt;`,&lt;br /&gt;
		*** set `CONFIG_ZFS=y` in the kernel configuration and compile&lt;br /&gt;
		*** kernel as usual.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Объяснение и решение проблемы нашёл &lt;a href="https://run.tournament.org.il/build-zfs-on-oel-with-uek7/"&gt;тут&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The root of the problem is with the GCC toolset used to build UEK7 kernel, which is different from the one used to build Redhat compatible version. RH kernel is built (using the default) GCC.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Решение:&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;dnf install -y gcc-toolset-11-annobin-plugin-gcc
. /opt/rh/gcc-toolset-11/enable
dkms install zfs/$VERSION&lt;/code&gt;&lt;/pre&gt;</description>
</item>


</channel>
</rss>