Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerFlex 4.5.x CLI Reference Guide

PDF

remove_source_volume_from_snapshot_policy

Remove a source volume from the specified snapshot policy.

When removing the source volume from the policy, you must choose how to handle the snapshots created by the policy (auto snapshots). Your selection depends on if there are locked auto snapshots.

  • If the source volume has no auto snapshots, you don't need to use the --detach_auto_snapshots or --remove_auto_snapshots options.
  • If the source volume has auto snapshots but none of them are locked, you can choose to detach all snapshots with the --detach_auto_snapshots flag. They become regular snapshots as if they were created manually. If you use the --remove_auto_snapshots, the snapshots are deleted.
  • If the source volume has locked auto snapshots, you can use --detach_auto_snapshots to turn the auto snapshots into regular snapshots, as if they were created manually. If you use --remove_auto_snapshots, the auto snapshots that are not locked are removed, while the auto snapshots that are locked are detached.

Syntax

scli --remove_source_volume_from_snapshot_policy (--snapshot_policy_id <ID> | --snapshot_policy_name <NAME>) (--source_vol_id <ID> | --source_vol_name <NAME>) (--detach_auto_snapshots | (--remove_auto_snapshots [--detach_locked_auto_snapshots]))

Example

scli --remove_source_volume_from_snapshot_policy --snapshot_policy_name snap_pol_1 --source_vol_id a7e798d100000000 --remove_auto_snapshots --detach_locked_auto_snapshots

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\