Skip to content

Commit 28700a3

Browse files
committed
dm thin: update Documentation to clarify when "read_only" is valid
Due to user confusion, clarify that it doesn't make sense to try to create a thin-pool with "read_only" mode enabled. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
1 parent 65972a6 commit 28700a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/device-mapper/thin-provisioning.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,10 @@ i) Constructor
264264
data device, but just remove the mapping.
265265

266266
read_only: Don't allow any changes to be made to the pool
267-
metadata.
267+
metadata. This mode is only available after the
268+
thin-pool has been created and first used in full
269+
read/write mode. It cannot be specified on initial
270+
thin-pool creation.
268271

269272
error_if_no_space: Error IOs, instead of queueing, if no space.
270273

0 commit comments

Comments
 (0)