Project

General

Profile

Actions

Bug #1201

closed

rbd export doesn't match import

Added by Paul Komkoff almost 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librbd
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

rbd import foo bar output:
rbd import file_pos=0 extent_len=12288
reading 12288 bytes at offset 0
rbd import file_pos=1048576 extent_len=278528
reading 278528 bytes at offset 1048576
rbd import file_pos=1331200 extent_len=4096
reading 4096 bytes at offset 1331200

rbd export output:
writing 12288 bytes at ofs 0
writing 1335296 bytes at ofs 4194304
writing 4096 bytes at ofs 9437184

As you can see, the offsets don't match. They do not match for real, and this also affects other librbd clients, like qemu-img and qemu itself.

Actions #1

Updated by Paul Komkoff almost 13 years ago

P.S. v0.29.1-4-g93623fb

Actions #2

Updated by Sage Weil almost 13 years ago

  • Target version set to v0.31
  • Translation missing: en.field_position set to 10
Actions #3

Updated by Sage Weil almost 13 years ago

  • Translation missing: en.field_position deleted (11)
  • Translation missing: en.field_position set to 5
Actions #4

Updated by Sage Weil almost 13 years ago

  • Assignee set to Yehuda Sadeh
Actions #5

Updated by Sage Weil almost 13 years ago

  • Translation missing: en.field_story_points set to 2
  • Translation missing: en.field_position deleted (5)
  • Translation missing: en.field_position set to 5
Actions #6

Updated by Yehuda Sadeh almost 13 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF