Jelajahi Sumber

dm snapshot: improve documentation relative to origin suspend requirements

Add a note to snapshot.txt that the origin target must be suspended when
loading or unloading the snapshot target.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Mikulas Patocka 10 tahun lalu
induk
melakukan
424da29c5a
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      Documentation/device-mapper/snapshot.txt

+ 4 - 0
Documentation/device-mapper/snapshot.txt

@@ -49,6 +49,10 @@ The difference between persistent and transient is with transient
 snapshots less metadata must be saved on disk - they can be kept in
 memory by the kernel.
 
+When loading or unloading the snapshot target, the corresponding
+snapshot-origin or snapshot-merge target must be suspended. A failure to
+suspend the origin target could result in data corruption.
+
 
 * snapshot-merge <origin> <COW device> <persistent> <chunksize>