Skip to content

Commit

Permalink
Fixed BSC#1230396
Browse files Browse the repository at this point in the history
  • Loading branch information
lvicoun committed Jan 7, 2025
1 parent e0f9300 commit f92b401
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions xml/storage_mdadm-resize.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,19 +251,21 @@
continuing.
</para>
</step>
<step>
<para>
Attach the device you want use in the RAID, for example <filename>/dev/sda2</filename>, but do not mount it.
</para>
</step>
<step>
<para>
Remove one of the component partitions from the RAID array. For example,
to remove <filename>/dev/sda1</filename>, enter
</para>
<screen>&prompt.sudo;mdadm /dev/md0 --fail /dev/sda1 --remove /dev/sda1</screen>
<para>
To succeed, both the fail and remove actions must be specified.
Replace one of the component partitions from the RAID array. For example,
to replace <filename>/dev/sda1</filename> with the bigger device <filename>/dev/sda2</filename>, enter
</para>
<screen>&prompt.sudo;mdadm /dev/md0 --replace /dev/sda1 --with /dev/sda2</screen>
</step>
<step>
<para>
Increase the size of the partition that you removed in the previous step
Increase the size of the partition (<filename>/dev/sda2</filename>)
by doing one of the following:
</para>
<itemizedlist mark="bullet" spacing="normal">
Expand All @@ -285,18 +287,7 @@
</para>
</listitem>
</itemizedlist>
</step>
<step>
<para>
Re-add the partition to the RAID array. For example, to add
<filename>/dev/sda1</filename>, enter
</para>
<screen>&prompt.sudo;mdadm -a /dev/md0 /dev/sda1</screen>
<para>
Wait until the RAID is synchronized and consistent before continuing with
the next partition.
</para>
</step>
</step>
<step>
<para>
Repeat these steps for each of the remaining component devices in the
Expand Down

0 comments on commit f92b401

Please sign in to comment.