Browse Source

Merge "Manila VMAX docs - clarify snapshot support" into stable/rocky

tags/7.2.0
Zuul 2 months ago
parent
commit
ab4914a8ee

+ 43
- 0
doc/source/configuration/shared-file-systems/drivers/dell-emc-vmax-driver.rst View File

@@ -341,6 +341,49 @@ SSL Support
341 341
 #. Restart manila services.
342 342
 
343 343
 
344
+Snapshot Support
345
+~~~~~~~~~~~~~~~~
346
+
347
+Snapshot support is disabled by default, so in order to allow shapshots for a
348
+share type, the ``snapshot_support`` extra spec must be set to True.
349
+Creating a share from a snapshot is also disabled by default so
350
+``create_share_from_snapshot_support`` must also be set to True if this
351
+functionality is required.
352
+
353
+For a new share type:
354
+
355
+.. code-block:: console
356
+
357
+   $ manila type-create --snapshot_support True \
358
+                        --create_share_from_snapshot_support True \
359
+                        ${share_type_name} True
360
+
361
+For an existing share type:
362
+
363
+.. code-block:: console
364
+
365
+   $ manila type-key ${share_type_name} \
366
+                     set snapshot_support=True
367
+   $ manila type-key ${share_type_name} \
368
+                     set create_share_from_snapshot_support=True
369
+
370
+To create a snapshot from a share where snapshot_support=True:
371
+
372
+.. code-block:: console
373
+
374
+   $ manila snapshot-create ${source_share_name} --name ${target_snapshot_name}
375
+
376
+To create a target share from a shapshot where create_share_from_snapshot_support=True:
377
+
378
+.. code-block:: console
379
+
380
+   $ manila create cifs 3 --name ${target_share_name} \
381
+                          --share-network ${share_network} \
382
+                          --share-type ${share_type_name} \
383
+                          --metadata source=snapshot \
384
+                          --snapshot-id ${snapshot_id}
385
+
386
+
344 387
 IPv6 support
345 388
 ~~~~~~~~~~~~
346 389
 IPv6 support for VMAX Manila driver is introduced in Rocky release. The feature is

Loading…
Cancel
Save