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 a7da861 commit a8a8f41
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 @@ -75,11 +75,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 @@ -612,3 +612,14 @@
&prompt.root;<command>systemctl</command> start pacemaker</screen>
</listitem>
</itemizedlist>">

<!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 a8a8f41

Please sign in to comment.