From 424da29c5a85adfcc1eda9412516efd77355d469 Mon Sep 17 00:00:00 2001 From: Mikulas Patocka Date: Wed, 2 Dec 2015 12:32:49 -0500 Subject: [PATCH] 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 Signed-off-by: Mike Snitzer --- Documentation/device-mapper/snapshot.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/device-mapper/snapshot.txt b/Documentation/device-mapper/snapshot.txt index ad6949b..b8bbb51 100644 --- a/Documentation/device-mapper/snapshot.txt +++ b/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 -- 2.7.4