H
H
HighMan2021-01-12 22:10:34
CentOS
HighMan, 2021-01-12 22:10:34

Is it worth updating the kernel?

Hello comrades!
Happy New Year!
A little backstory.
I have an iron server on Hetzner. I have several virtual machines for users spinning on it. Among them are Windows.
The base system on that Debian Jessie server, and I even updated the version there once. Those. the system is old as mammoth shit, well, upgrading it to Buster is another quest.
A strong-willed decision was made to crash the system and install Centos 7.
Decided - done.
Even virtual machines managed to be transferred without much red-eye. Rat!
Everything was good, until, suddenly, a problem popped up: the puny Centos 7 doesn't have nbd support in the kernel!
Those. mounting qcow2 files to the base system is rather problematic. There are dumb solutions like guestfs, but I didn't like it.
You can, of course, patch the kernel. How to load network block device on CentOS7
I deployed a virtual machine on my home computer and rushed ... Of course, it was not without bugs, but powerful intelligence helped to defeat them. In general, I patched the kernel on the virtual machine. There was a coveted support for nbd.
Then the thought came, from wherever they expected: why not put, in general, the freshest kernel!
Google led me to Centos 7 Kernel Update
Damn it! It can't be that simple!
I uploaded the virtual machine again and installed a new kernel on it. Eureka!

# uname -r
5.10.6-1.el7.elrepo.x86_64

And the coveted support for nbd "sparks".
But here the question arose: is it worth doing this on a combat server?
And who, in general, are elrepo.org?
In general, comrades, share your thoughts!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Dmitriev, 2021-01-13
@HighMan

Costs. Connect the repository and update from it. The link and the description of elrepo and instructions for adding a repository.
www.elrepo.org/tiki/HomePage

V
Vitaly Karasik, 2021-01-13
@vitaly_il1

Test the entire scenario on a separate server - if it works and doesn't crash, then go ahead!
Two offtopic questions-advice:
- why not Centos8?
- in general, I would leave the iron server with homemade virtualization, and buy ready-made VPS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question