<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Software-Raid on ads' corner</title><link>https://andreas.scherbaum.la/tags/software-raid/</link><description>Recent content in Software-Raid on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 26 Jul 2024 10:16:48 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/software-raid/index.xml" rel="self" type="application/rss+xml"/><item><title>How to determine the mount point for a device on Linux</title><link>https://andreas.scherbaum.la/post/2024-07-26_how-to-identify-the-mount-point-for-a-device-on-linux/</link><pubDate>Fri, 26 Jul 2024 10:16:48 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2024-07-26_how-to-identify-the-mount-point-for-a-device-on-linux/</guid><description>&lt;p&gt;While &lt;a href="https://andreas.scherbaum.la/post/2024-07-22_install-debian-bookworm-on-a-software-raid-and-efi/"&gt;reinstalling a server&lt;/a&gt; and moving it to &lt;em&gt;Debian&lt;/em&gt;, I ran into the problem that I need to sync the &lt;em&gt;EFI&lt;/em&gt; partitions. The system is using a &lt;em&gt;RAID&lt;/em&gt; on two disks (&lt;em&gt;RAID 1&lt;/em&gt;), but the &lt;em&gt;EFI&lt;/em&gt; partitions can&amp;rsquo;t be a &lt;em&gt;RAID&lt;/em&gt; and need to exist on both disks. Or rather it is useful to have the &lt;em&gt;EFI&lt;/em&gt; partition on every disk: if one disk fails, the system can boot from the other disk.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;grub&lt;/code&gt; only installs the necessary files on one partition. However one can use a script as &lt;code&gt;grub&lt;/code&gt; hook, and sync all partitions.&lt;/p&gt;&#10;&lt;p&gt;This script needs to determine if a device (the &lt;em&gt;EFI&lt;/em&gt; partition) is already mounted somewhere, or needs to be mounted. Turns out there is a little and not well-known tool for this.&lt;/p&gt;</description></item><item><title>Install Debian Bookworm on a Software RAID and EFI</title><link>https://andreas.scherbaum.la/post/2024-07-22_install-debian-bookworm-on-a-software-raid-and-efi/</link><pubDate>Fri, 19 Jul 2024 22:11:01 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2024-07-22_install-debian-bookworm-on-a-software-raid-and-efi/</guid><description>&lt;p&gt;Moving my systems away from &lt;em&gt;Ubuntu&lt;/em&gt;, I also have to reinstall a server at home. This system has two equal disks for a &lt;em&gt;RAID&lt;/em&gt; system, and my plan is to install &lt;em&gt;Debian&lt;/em&gt; on it. Turns out, setting up a Software &lt;em&gt;RAID&lt;/em&gt; on &lt;em&gt;Debian&lt;/em&gt; and booting from &lt;em&gt;EFI&lt;/em&gt; is not a straightforward approach. This blog posting describes the steps.&lt;/p&gt;</description></item><item><title>Replace and re-add a failed drive to a Linux software RAID</title><link>https://andreas.scherbaum.la/post/2019-03-30_replace-and-re-add-a-failed-drive-to-a-linux-software-raid/</link><pubDate>Sat, 30 Mar 2019 16:30:00 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2019-03-30_replace-and-re-add-a-failed-drive-to-a-linux-software-raid/</guid><description>&lt;p&gt;Most of my systems run on a software &lt;a href="https://en.wikipedia.org/wiki/RAID"&gt;RAID&lt;/a&gt; 1 configuration (that is, two disks, where each disk is &lt;a href="https://en.wikipedia.org/wiki/Standard_RAID_levels"&gt;mirrored&lt;/a&gt; to the other). This way, one of the disks can fail and still all the data is available.&lt;/p&gt;&#10;&lt;p&gt;If a disk failure happens, the disk is replaced with a similar disk, and then needs to be configured and re-added to the &lt;em&gt;RAID&lt;/em&gt;.&lt;/p&gt;</description></item><item><title>Install Debian Etch on a Software Raid 1 with S-ATA disks</title><link>https://andreas.scherbaum.la/post/2006-11-30_install-debian-etch-on-a-software-raid-1-with-s-ata-disks/</link><pubDate>Thu, 30 Nov 2006 21:46:20 +0100</pubDate><guid>https://andreas.scherbaum.la/post/2006-11-30_install-debian-etch-on-a-software-raid-1-with-s-ata-disks/</guid><description>&lt;p&gt;New server, S-ATA disks, the hardware &lt;em&gt;RAID&lt;/em&gt; controller is not really supported. So we decided to use a software &lt;em&gt;RAID&lt;/em&gt; 1 for the two disks.&lt;/p&gt;</description></item></channel></rss>