Project

General

Profile

Actions

Bug #11341

closed

rados listsnaps <obj-name> doesn't seem to be working

Added by Kapil Sharma about 9 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On a ceph cluster, create a snap of an object using rados cli -
#rados -p data mksnap test_object
Now, rados listsnaps command should list the snap created but
it doesn't seem to -

jenkins@host-44-0-2-109:~> rados -p data listsnaps test_object
test_object:
cloneid snaps size overlap
head - 0

The value in snaps column is blank

Actions #1

Updated by Greg Farnum about 9 years ago

  • Status changed from New to Rejected

"mksnap" is a pool command which creates a snapshot on a pool (not an object), and even once you create a snapshot on a pool you need to write to an object before it will create the physical snapshot data layout you're looking at. If you're not getting an error on that then we have a bug with "rados mksnap", but there shouldn't be any snapshots on the object with the workflow you've described.

Actions

Also available in: Atom PDF