]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
index 28035fb8cce696c0a8f1f5b34e947d810fceef61..4acecbf083167221d10851808cf04537c4efbe6a 100644 (file)
@@ -6,6 +6,107 @@
                 <link>https://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="https://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>RAID status from LSI Megaraid controllers using free software</title>
+               <link>https://people.skolelinux.org/pere/blog/RAID_status_from_LSI_Megaraid_controllers_using_free_software.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/RAID_status_from_LSI_Megaraid_controllers_using_free_software.html</guid>
+                <pubDate>Sun, 3 Mar 2024 22:40:00 +0100</pubDate>
+               <description>&lt;p&gt;The last few days I have revisited RAID setup using the LSI
+Megaraid controller.  These are a family of controllers called PERC by
+Dell, and is present in several old PowerEdge servers, and I recently
+got my hands on one of these.  I had forgotten how to handle this RAID
+controller in Debian, so I had to take a peek in the
+&lt;a href=&quot;https://wiki.debian.org/LinuxRaidForAdmins&quot;&gt;Debian wiki page
+&quot;Linux and Hardware RAID: an administrator&#39;s summary&quot;&lt;/a&gt; to remember
+that kind of software is available to configure and monitor the disks
+and controller.  I prefer Free Software alternatives to proprietary
+tools, as the later tend to fall into disarray once the manufacturer
+loose interest, and often do not work with newer Linux Distributions.
+Sadly there is no free software tool to configure the RAID setup, only
+to monitor it. RAID can provide improved reliability and resilience in
+a storage solution, but only if it is being regularly checked and any
+broken disks are being replaced in time.  I thus want to ensure some
+automatic monitoring is available.&lt;/p&gt;
+
+&lt;p&gt;In the discovery process, I came across a old free software tool to
+monitor PERC2, PERC3, PERC4 and PERC5 controllers, which to my
+surprise is not present in debian.  To help change that I created a
+&lt;a href=&quot;https://bugs.debian.org/1065322&quot;&gt;request for packaging of the
+megactl package&lt;/a&gt;, and tried to track down a usable version.
+&lt;a href=&quot;https://sourceforge.net/p/megactl/&quot;&gt;The original project
+site&lt;/a&gt; is on Sourceforge, but as far as I can tell that project has
+been dead for more than 15 years.  I managed to find a
+&lt;a href=&quot;https://github.com/hmage/megactl&quot;&gt;more recent fork on
+github&lt;/a&gt; from user hmage, but it is unclear to me if this is still
+being maintained.  It has not seen much improvements since 2016.  A
+&lt;a href=&quot;https://github.com/namiltd/megactl&quot;&gt;more up to date
+edition&lt;/a&gt; is a git fork from the original github fork by user
+namiltd, and this newer fork seem a lot more promising.  The owner of
+this github repository has replied to change proposals within hours,
+and had already added some improvements and support for more hardware.
+Sadly he is reluctant to commit to maintaining the tool and stated in
+&lt;a href=&quot;https://github.com/namiltd/megactl/pull/1&quot;&gt;my first pull
+request&lt;/A&gt; that he think a new release should be made based on the
+git repository owned by hmage.  I perfectly understand this
+reluctance, as I feel the same about maintaining yet another package
+in Debian when I barely have time to take care of the ones I already
+maintain, but do not really have high hopes that hmage will have time
+to spend on it and hope namiltd will change his mind.&lt;/p&gt;
+
+&lt;p&gt;In any case, I created
+&lt;a href=&quot;https://salsa.debian.org/debian/megactl&quot;&gt;a draft package&lt;/a&gt;
+based on the namiltd edition and put it under the debian group on
+salsa.debian.org.  If you own a Dell PowerEdge server with one of the
+PERC controllers, or any other RAID controller using the megaraid or
+megaraid_sas Linux kernel modules, you might want to check it out.  If
+enough people are interested, perhaps the package will make it into
+the Debian archive.&lt;/p&gt;
+
+&lt;p&gt;There are two tools provided, megactl for the megaraid Linux kernel
+module, and megasasctl for the megaraid_sas Linux kernel module. The
+simple output from the command on one of my machines look like this
+(yes, I know some of the disks have problems. :).&lt;/p&gt;
+
+&lt;pre&gt;
+# megasasctl 
+a0       PERC H730 Mini           encl:1 ldrv:2  batt:good
+a0d0       558GiB RAID 1   1x2  optimal
+a0d1      3067GiB RAID 0   1x11 optimal
+a0e32s0     558GiB  a0d0  online   errs: media:0  other:19
+a0e32s1     279GiB  a0d1  online  
+a0e32s2     279GiB  a0d1  online  
+a0e32s3     279GiB  a0d1  online  
+a0e32s4     279GiB  a0d1  online  
+a0e32s5     279GiB  a0d1  online  
+a0e32s6     279GiB  a0d1  online  
+a0e32s8     558GiB  a0d0  online   errs: media:0  other:17
+a0e32s9     279GiB  a0d1  online  
+a0e32s10    279GiB  a0d1  online  
+a0e32s11    279GiB  a0d1  online  
+a0e32s12    279GiB  a0d1  online  
+a0e32s13    279GiB  a0d1  online  
+
+#
+&lt;/pre&gt;
+
+&lt;p&gt;In addition to displaying a simple status report, it can also test
+individual drives and print the various event logs.  Perhaps you too
+find it useful?&lt;/p&gt;
+
+&lt;p&gt;In the packaging process I provided some patches upstream to
+improve installation and ensure
+&lt;ahref=&quot;https://github.com/namiltd/megactl/pull/2&quot;&gt;a Appstream
+metainfo file is provided&lt;/a&gt; to list all supported HW, to allow
+&lt;a href=&quot;https://tracker.debian.org/isenkram&quot;&gt;isenkram&lt;/a&gt; to propose
+the package on all servers with a relevant PCI card.&lt;/p&gt;
+
+&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
+
+</description>
+       </item>
+       
        <item>
                <title>Frokostseminar om Noark 5 i Oslo tirsdag 2024-03-12</title>
                <link>https://people.skolelinux.org/pere/blog/Frokostseminar_om_Noark_5_i_Oslo_tirsdag_2024_03_12.html</link>
@@ -1409,58 +1510,5 @@ Orwell: «Alle dyr er like, men noen dyr er likere enn andre».
 </description>
        </item>
        
-       <item>
-               <title>Invidious add-on for Kodi 20</title>
-               <link>https://people.skolelinux.org/pere/blog/Invidious_add_on_for_Kodi_20.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Invidious_add_on_for_Kodi_20.html</guid>
-                <pubDate>Thu, 10 Aug 2023 19:50:00 +0200</pubDate>
-               <description>&lt;p&gt;I still enjoy &lt;a href=&quot;https://kodi.tv/&quot;&gt;Kodi&lt;/a&gt; and
-&lt;a href=&quot;https://libreelec.tv/&quot;&gt;LibreELEC&lt;/a&gt; as my multimedia center
-at home.  Sadly two of the services I really would like to use from
-within Kodi are not easily available.  The most wanted add-on would be
-one making &lt;a href=&quot;https://archive.org/&quot;&gt;The Internet Archive&lt;/a&gt;
-available, and it has
-&lt;a href=&quot;https://kodi.wiki/view/Add-on:Internet_Archive&quot;&gt;not been
-working&lt;/a&gt; for many years.  The second most wanted add-on is one
-using &lt;a href=&quot;https://invidious.io/&quot;&gt;the Invidious privacy enhanced
-Youtube frontent&lt;/a&gt;.  A plugin for this has been partly working, but
-not been kept up to date in the Kodi add-on repository, and its
-upstream seem to have given it up in April this year, when the git
-repository was closed.  A few days ago I got tired of this sad state
-of affairs and decided to
-&lt;a href=&quot;https://github.com/petterreinholdtsen/kodi-invidious-plugin&quot;&gt;have
-a go at improving the Invidious add-on&lt;/a&gt;.  As
-&lt;a href=&quot;https://github.com/iv-org/invidious/issues/3872&quot;&gt;Google has
-already attacked&lt;/a&gt; the Invidious concept, so it need all the support
-if can get.  My small contribution here is to improve the service
-status on Kodi.&lt;/p&gt;
-
-&lt;p&gt;I added support to the Invidious add-on for automatically picking a
-working Invidious instance, instead of requiring the user to specify
-the URL to a specific instance after installation.  I also had a look
-at the set of patches floating around in the various forks on github,
-and decided to clean up at least some of the features I liked and
-integrate them into my new release branch.  Now the plugin can handle
-channel and short video items in search results.  Earlier it could
-only handle single video instances in the search response.  I also
-brushed up the set of metadata displayed a bit, but hope I can figure
-out how to get more relevant metadata displayed.&lt;/p&gt;
-
-&lt;p&gt;Because I only use Kodi 20 myself, I only test on version 20 and am
-only motivated to ensure version 20 is working.  Because of API changes
-between version 19 and 20, I suspect it will fail with earlier Kodi
-versions.&lt;/p&gt;
-
-&lt;p&gt;I already
-&lt;a href=&quot;https://github.com/xbmc/repo-plugins/pull/4363&quot;&gt;asked to have
-the add-on added&lt;/a&gt; to the official Kodi 20 repository, and is
-waiting to heard back from the repo maintainers.&lt;/p&gt;
-
-&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
-activities, please send Bitcoin donations to my address
-&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
-</description>
-       </item>
-       
         </channel>
 </rss>