Skip to content

Commit

Permalink
Automatic rebuild after doc-sle commit d630aea7b14fbccecb73ea670b0492…
Browse files Browse the repository at this point in the history
…3d70eab973
  • Loading branch information
suse-docs-bot committed Oct 10, 2024
1 parent 9e704a7 commit 6cf4ca0
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
20 changes: 19 additions & 1 deletion main/html/SLES-storage/cha-raid-resize.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,25 @@
</p></li><li class="step"><p>
Continue with
<a class="xref" href="cha-raid-resize.html#sec-raid-resize-incr-raid" title="11.1.2. Increasing the size of the RAID array">Section 11.1.2, “Increasing the size of the RAID array”</a>.
</p></li></ol></div></div></section><section class="sect2" id="sec-raid-resize-incr-raid" data-id-title="Increasing the size of the RAID array"><div class="titlepage"><div><div><div class="title-container"><h3 class="title"><span class="title-number-name"><span class="title-number">11.1.2 </span><span class="title-name">Increasing the size of the RAID array</span></span> <a title="Permalink" class="permalink" href="cha-raid-resize.html#sec-raid-resize-incr-raid">#</a></h3><div class="icons"><a target="_blank" class="icon-reportbug" title="Report an issue"> </a><a target="_blank" class="icon-editsource" href="https://github.com/SUSE/doc-sle/edit/main/xml/storage_mdadm-resize.xml" title="Edit source document"> </a></div></div></div></div></div><p>
</p></li></ol></div></div><p>
Alternatively, if you are replacing the disks and can install the new disks
temporarily alongside the existing array, you can hot-replace the
partitions. This will keep them in service until a new partition has been
rebuilt as a spare, so the array does not enter a degraded state and
remains fault-tolerant during the process. The following steps replace
steps 3–5 in the above procedure.
</p><div class="procedure"><div class="procedure-contents"><ol class="procedure" type="1"><li class="step"><p>
Mark a component partition for replacement. For example, to replace
<code class="filename">/dev/sda1</code>, enter
</p><div class="verbatim-wrap"><pre class="screen"><code class="prompt user">&gt; </code><code class="command">sudo</code> mdadm /dev/md0 --replace /dev/sda1</pre></div></li><li class="step"><p>
Add a replacement partition to the RAID array. For example, to add
<code class="filename">/dev/sdd1</code>, enter
</p><div class="verbatim-wrap"><pre class="screen"><code class="prompt user">&gt; </code><code class="command">sudo</code> mdadm -a /dev/md0 /dev/sdd1</pre></div></li><li class="step"><p>
Once the new partition has been added and has finished rebuilding, the
partition marked for replacement will be automatically marked as faulty,
and can be removed from the array. For example, to remove
<code class="filename">/dev/sda1</code>, enter
</p><div class="verbatim-wrap"><pre class="screen"><code class="prompt user">&gt; </code><code class="command">sudo</code> mdadm /dev/md0 --remove /dev/sda1</pre></div></li></ol></div></div></section><section class="sect2" id="sec-raid-resize-incr-raid" data-id-title="Increasing the size of the RAID array"><div class="titlepage"><div><div><div class="title-container"><h3 class="title"><span class="title-number-name"><span class="title-number">11.1.2 </span><span class="title-name">Increasing the size of the RAID array</span></span> <a title="Permalink" class="permalink" href="cha-raid-resize.html#sec-raid-resize-incr-raid">#</a></h3><div class="icons"><a target="_blank" class="icon-reportbug" title="Report an issue"> </a><a target="_blank" class="icon-editsource" href="https://github.com/SUSE/doc-sle/edit/main/xml/storage_mdadm-resize.xml" title="Edit source document"> </a></div></div></div></div></div><p>
After you have resized each of the component partitions in the RAID (see
<a class="xref" href="cha-raid-resize.html#sec-raid-resize-incr-partitions" title="11.1.1. Increasing the size of component partitions">Section 11.1.1, “Increasing the size of component partitions”</a>),
the RAID array configuration continues to use the original array size until
Expand Down
20 changes: 19 additions & 1 deletion main/single-html/SLES-storage/book-storage_draft.html
Original file line number Diff line number Diff line change
Expand Up @@ -5059,7 +5059,25 @@
</p></li><li class="step"><p>
Continue with
<a class="xref" href="#sec-raid-resize-incr-raid" title="11.1.2. Increasing the size of the RAID array">Section 11.1.2, “Increasing the size of the RAID array”</a>.
</p></li></ol></div></div></section><section class="sect2" id="sec-raid-resize-incr-raid" data-id-title="Increasing the size of the RAID array"><div class="titlepage"><div><div><div class="title-container"><h3 class="title"><span class="title-number-name"><span class="title-number">11.1.2 </span><span class="title-name">Increasing the size of the RAID array</span></span> <a title="Permalink" class="permalink" href="#sec-raid-resize-incr-raid">#</a></h3><div class="icons"><a target="_blank" class="icon-reportbug" title="Report an issue"> </a><a target="_blank" class="icon-editsource" href="https://github.com/SUSE/doc-sle/edit/main/xml/storage_mdadm-resize.xml" title="Edit source document"> </a></div></div></div></div></div><p>
</p></li></ol></div></div><p>
Alternatively, if you are replacing the disks and can install the new disks
temporarily alongside the existing array, you can hot-replace the
partitions. This will keep them in service until a new partition has been
rebuilt as a spare, so the array does not enter a degraded state and
remains fault-tolerant during the process. The following steps replace
steps 3–5 in the above procedure.
</p><div class="procedure"><div class="procedure-contents"><ol class="procedure" type="1"><li class="step"><p>
Mark a component partition for replacement. For example, to replace
<code class="filename">/dev/sda1</code>, enter
</p><div class="verbatim-wrap"><pre class="screen"><code class="prompt user">&gt; </code><code class="command">sudo</code> mdadm /dev/md0 --replace /dev/sda1</pre></div></li><li class="step"><p>
Add a replacement partition to the RAID array. For example, to add
<code class="filename">/dev/sdd1</code>, enter
</p><div class="verbatim-wrap"><pre class="screen"><code class="prompt user">&gt; </code><code class="command">sudo</code> mdadm -a /dev/md0 /dev/sdd1</pre></div></li><li class="step"><p>
Once the new partition has been added and has finished rebuilding, the
partition marked for replacement will be automatically marked as faulty,
and can be removed from the array. For example, to remove
<code class="filename">/dev/sda1</code>, enter
</p><div class="verbatim-wrap"><pre class="screen"><code class="prompt user">&gt; </code><code class="command">sudo</code> mdadm /dev/md0 --remove /dev/sda1</pre></div></li></ol></div></div></section><section class="sect2" id="sec-raid-resize-incr-raid" data-id-title="Increasing the size of the RAID array"><div class="titlepage"><div><div><div class="title-container"><h3 class="title"><span class="title-number-name"><span class="title-number">11.1.2 </span><span class="title-name">Increasing the size of the RAID array</span></span> <a title="Permalink" class="permalink" href="#sec-raid-resize-incr-raid">#</a></h3><div class="icons"><a target="_blank" class="icon-reportbug" title="Report an issue"> </a><a target="_blank" class="icon-editsource" href="https://github.com/SUSE/doc-sle/edit/main/xml/storage_mdadm-resize.xml" title="Edit source document"> </a></div></div></div></div></div><p>
After you have resized each of the component partitions in the RAID (see
<a class="xref" href="#sec-raid-resize-incr-partitions" title="11.1.1. Increasing the size of component partitions">Section 11.1.1, “Increasing the size of component partitions”</a>),
the RAID array configuration continues to use the original array size until
Expand Down

0 comments on commit 6cf4ca0

Please sign in to comment.