From 5990493c7a8bcb710c9787831157c161d53cb281 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Laurent=20P=C3=A9tr=C3=A9?= <laurent.petre@cern.ch>
Date: Fri, 10 Feb 2023 14:25:56 +0100
Subject: [PATCH] Keep the CTP7 in read-only mode except during maintenance

---
 .../p5-operations/installation-maintenance.md      | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/expert/p5-operations/installation-maintenance.md b/docs/expert/p5-operations/installation-maintenance.md
index ed43270..8710cc6 100644
--- a/docs/expert/p5-operations/installation-maintenance.md
+++ b/docs/expert/p5-operations/installation-maintenance.md
@@ -12,6 +12,20 @@ Failing to follow the instructions or failing to react to unexpected events can
     * System modifications to the GEM machines can (but should not) be carried on by members of the `gemsudoers` group.
     * Traditionally, the `gempro` and `gemsudoers` groups are kept in sync' and meant for DAQ experts; the `cms_gem_librarian` is a sub-group meant for administrators and superusers.
 
+!!! warning
+    All CTP7 volumes are kept in read-only mode during normal operations in order to avoid data corruption in case of a sudden power cut.
+    During backend boards maintenance, the `/mnt/persistent` partition must be remounted in read-write mode:
+    ``` sh
+    # from gempro@gemvm-control
+    mussh -m 13 -H /gemdata/config/ctp7-ge* -l root -c 'mount -o remount,rw /mnt/persistent'
+    ```
+    Do no forget to put back the partition in read-only mode after maintenance:
+    ``` sh
+    # from gempro@gemvm-control
+    mussh -m 13 -H /gemdata/config/ctp7-ge* -l root -c 'mount -o remount,ro /mnt/persistent'
+    ```
+    Such an operation is taken care of automatically in the `push-configuration.sh` script & co.
+
 ## Online software
 
 ### Client software
-- 
GitLab