summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/md.rst
diff options
context:
space:
mode:
authorSebastian Parschauer <s.parschauer@gmx.de>2020-07-28 13:01:39 +0300
committerSong Liu <songliubraving@fb.com>2020-08-03 09:03:51 +0300
commitec164d07aa771370c7c24c1fa7f7692ad30f01cb (patch)
tree6187f353fe1098d7b40d8668387526b797949e58 /Documentation/admin-guide/md.rst
parentd9c0fa509eafb31605bddda34e2e39f4354563b6 (diff)
downloadlinux-ec164d07aa771370c7c24c1fa7f7692ad30f01cb.tar.xz
md: register new md sysfs file 'uuid' read-only
Report the UUID of the MD array in the following format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx This is useful if you don't want to wait for udev to identify array. And it is also easy for script to monitor it with the format. Signed-off-by: Sebastian Parschauer <s.parschauer@gmx.de> [Guoqing: mention the change in md.rst] Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'Documentation/admin-guide/md.rst')
-rw-r--r--Documentation/admin-guide/md.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/admin-guide/md.rst b/Documentation/admin-guide/md.rst
index d973d469ffc4..cc8781b96b4d 100644
--- a/Documentation/admin-guide/md.rst
+++ b/Documentation/admin-guide/md.rst
@@ -426,6 +426,10 @@ All md devices contain:
The accepted values when writing to this file are ``ppl`` and ``resync``,
used to enable and disable PPL.
+ uuid
+ This indicates the UUID of the array in the following format:
+ xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
+
As component devices are added to an md array, they appear in the ``md``
directory as new directories named::