Skip to content

Commit

Permalink
Improve persistent device name warning (#393)
Browse files Browse the repository at this point in the history
bsc#1226367
jsc#DOCTEAM-1466
  • Loading branch information
tahliar committed Jun 21, 2024
1 parent 057ecd7 commit dea1797
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 1 addition & 5 deletions xml/ha_cluster_md.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,7 @@
</listitem>
</itemizedlist>

<para>
For better stability, use persistent device names
such as <literal>/dev/disk/by-id/<replaceable>DEVICE_ID</replaceable></literal>
instead of <literal>/dev/sd<replaceable>X</replaceable></literal> names.
</para>
&warning-persistent-shared-storage-name;

<procedure>
<step>
Expand Down
11 changes: 11 additions & 0 deletions xml/phrases-decl.ent
Original file line number Diff line number Diff line change
Expand Up @@ -652,3 +652,14 @@
<systemitem class="resource">softdog</systemitem> can be used as kernel
watchdog module.</para>
</important>'>

<!ENTITY warning-persistent-shared-storage-name '<warning xmlns="http://docbook.org/ns/docbook">
<title>Always use persistent device names</title>
<para>
Always use cluster-wide persistent device names, such as
<literal>/dev/disk/by-id/<replaceable>DEVICE_ID</replaceable></literal>.
Unstable device names like <literal>/dev/sd<replaceable>X</replaceable></literal> or
<literal>/dev/dm-<replaceable>X</replaceable></literal> might become mismatched on different
nodes, causing major problems across the cluster.
</para>
</warning>'>

0 comments on commit dea1797

Please sign in to comment.