Project

General

Profile

Actions

Bug #876

closed

rbd export rbd image > 2GB, export error: Invalid argument

Added by changping Wu about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
High
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

Hi ,
reproduce steps:
1).ceph v0.25.

2) Imported a 10GB image into foo pool
$ rbd ls -p foo
10GBB
10GBrbd
3) export 10GB rbd image

$rbd export 10GBB ./test/10GBBBBB -p foo

logs:

....................................
writing 4194304 bytes at ofs 2105540608
writing 4194304 bytes at ofs 2109734912
writing 4194304 bytes at ofs 2113929216
writing 4194304 bytes at ofs 2118123520
writing 4194304 bytes at ofs 2122317824
writing 4194304 bytes at ofs 2126512128
writing 4194304 bytes at ofs 2130706432
writing 4194304 bytes at ofs 2134900736
writing 4194304 bytes at ofs 2139095040
writing 4194304 bytes at ofs 2143289344
export error: Invalid argument

4) lseek only support < 2GB file.

Jeff,wu

Actions

Also available in: Atom PDF