@kageurufu wrote:
I am migrating a a 10 disk pool from my prior DIY storage server to my new Rockstor server.
The old pool is a RAID6 with metadata stored in RAID1C4, which requires Linux 5.5+ to mount, obviously newer than even Leap 15.3, so I went down the rabbit-hole on installing a backported kernel on Leap 15.2. Here’s my documentation
Per https://doc.opensuse.org/documentation/leap/reference/html/book-reference/cha-tuning-multikernel.html#sec-tuning-multikernel-latest, I ensured that
/etc/zypp/zypp.conf
contains the followingmultiversion = provides:multiversion(kernel) multiversion.kernels = latest,latest-1,latest-2,latest-3,running
latest-2 and -3 might be overkill, but I’d strongly prefer having a bootable server instead of saving a little disk space for now. I intend to research this more, and see if I can specify
latest from Leap_15_2, latest from kernel-stable-backport-repo
somehow.I had to find a kernel to install, preferrably on the Open Build Service. I chose https://build.opensuse.org/project/show/Kernel:stable:Backport. I also searched for a newer version of
btrfsprogs
, and found it available in https://build.opensuse.org/project/show/filesystemsTo add the repos, I logged in over ssh and did the following
$ zypper addrepo \ https://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard \ kernel-stable-backport-repo $ zypper addrepo \ https://download.opensuse.org/repositories/filesystems/openSUSE_Leap_15.2/ \ filesystems-repo $ zypper refresh
I searched the repos for a new kernel-default, at a more modern version. I truncated the output tables here to only show relevant rows.
$ zypper search kernel-default S | Name | Type | Version | Arch | Repository ---+--------------------------------+------------+--------------------------------+--------+---------------------------- v | kernel-default | package | 5.13.12-lp153.6.1.g33df9c6 | x86_64 | kernel-stable-backport-repo i+ | kernel-default | package | 5.3.18-lp152.87.1 | x86_64 | Leap_15_2_Updates i+ | kernel-default | package | 5.3.18-lp152.19.2 | x86_64 | Leap_15_2 $ zypper search -s btrfsprogs S | Name | Type | Version | Arch | Repository ---+-----------------------------+------------+--------------------+--------+------------------ v | btrfsprogs | package | 5.13.1-lp152.347.2 | x86_64 | filesystems-repo i+ | btrfsprogs | package | 4.19.1-lp152.6.3.1 | x86_64 | Leap_15_2_Updates v | btrfsprogs-udev-rules | package | 5.13.1-lp152.347.2 | noarch | filesystems-repo i | btrfsprogs-udev-rules | package | 4.19.1-lp152.6.3.1 | noarch | Leap_15_2_Updates $ zypper install kernel-default-5.13.12-lp153.6.1.g33df9c6 btrfsprogs-5.13.1 btrfsprogs-udev-rules-5.13.1
This also pulled in
kernel-firmware-all
,crda
, andwireless-regdb
. I don’t have wifi on the server, but I don’t know zypper or opensuse well enough to be comfortable excluding these.Rebooted and I was able to import the pool. A little manual cleanup for errant files and paths floating around in the btrfs root subvolume, and everything seems great.
Rockstor doesn’t know about RAID1C3 yet, but that’s not a huge problem. I might have to tweak a few things over time to keep this working right, but I’m happy.
I’d love some feedback on all this, I didn’t deal with migrating rockons and just recreated them instead.
Posts: 1
Participants: 1