Bug 1048122
Summary: | [SNAPSHOT] : gluster snapshot delete doesnt provide option to delete all / multiple snaps of a given volume | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
Component: | snapshot | Assignee: | Nagaprasad Sathyanarayana <nsathyan> | |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | rhgs-3.0 | CC: | asengupt, asrivast, bmohanra, mzywusko, nsathyan, rhs-bugs, rjoseph, sdharane, senaik, smohan, storage-qa-internal, vagarwal | |
Target Milestone: | --- | Keywords: | FutureFeature | |
Target Release: | RHGS 3.1.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | SNAPSHOT | |||
Fixed In Version: | glusterfs-3.7.0-3.el6rhs | Doc Type: | Enhancement | |
Doc Text: |
Previously, the snapshot delete command had to be executed multiple times to delete more than one snapshot. Two new commands are now introduced that can be used to delete multiple snapshots.
To delete all the snapshots present in a system, execute the following command:
# gluster snapshot delete all
To delete all the snapshot present in a specified volume, execute the following command:
# gluster snapshot delete volume <volname>
|
Story Points: | --- | |
Clone Of: | ||||
: | 1112613 (view as bug list) | Environment: | ||
Last Closed: | 2015-07-29 04:33:21 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1112613, 1145083, 1202842, 1223636 |
Description
Rahul Hinduja
2014-01-03 09:04:34 UTC
Patch posted: http://review.gluster.org/#/c/6673/ With the new cli support for deleting multiple snaps in multiple volumes are not provided. We will consider this bug in the next release Marking snapshot BZs to RHS 3.0. Setting flags required to add BZs to RHS 3.0 Errata See comment #4. http://review.gluster.org/#/c/8162/ is merged upstream. However as this bug doesn't contain any blocker flags, I will not send the relevant patch downstream until the Denail release. Version :glusterfs 3.7.1 built on Jun 9 2015 ======== Deleting all snapshots part of a volume: ======================================== gluster snapshot delete volume vol0 Volume (vol0) contains 2 snapshot(s). Do you still want to continue and delete them? (y/n) y snapshot delete: S1_GMT-2015.06.11-09.16.17: snap removed successfully snapshot delete: S2_GMT-2015.06.11-09.17.23: snap removed successfully Deleting all snapshots present in the system : ============================================= [root@inception ~]# gluster snapshot delete all System contains 80 snapshot(s). Do you still want to continue and delete them? (y/n) y snapshot delete: Scheduled-Job1-vol0_GMT-2015.06.10-13.30.01: snap removed successfully snapshot delete: Scheduled-Job2-vol1_GMT-2015.06.10-13.30.01: snap removed successfully snapshot delete: Scheduled-Job2-vol1_GMT-2015.06.10-14.00.01: snap removed successfully Marking the bug as 'Verified' Hi Sachin, The doc text is updated. Please review the same and share your technical review comments. If it looks ok, then sign-off on the same. Regards, Bhavana Hi Bhavana, The coc text looks good to me. Thanks, Sachin. Sorry for the typo. ==================== Hi Bhavana, The doc text looks good to me. Thanks, Sachin. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1495.html |