Re: Read from clones

2014-07-24 Thread Ilya Dryomov
On Tue, Jul 15, 2014 at 9:44 AM, Lakshminarayana Mavunduri lakshminarayana.mavund...@sandisk.com wrote: Hi, Following the below set of steps, we are seeing data loss while reading from clones. 1)Create an image with image format 2 (in this case we have made the size to be 1024MB).

RE: Read from clones

2014-07-24 Thread Pavan Rallabhandi
Thanks Ilya! -Original Message- From: Ilya Dryomov [mailto:ilya.dryo...@inktank.com] Sent: Thursday, July 24, 2014 2:27 PM To: Lakshminarayana Mavunduri Cc: ceph-devel@vger.kernel.org; Pavan Rallabhandi Subject: Re: Read from clones On Tue, Jul 15, 2014 at 9:44 AM, Lakshminarayana

Re: Read from clones

2014-07-16 Thread Gregory Farnum
FYI, this sounds like an issue the userspace client (and possibly the actual rbd class?) had as well: it looked at the HEAD parent_overlap field even when reading from snapshots. (I don't remember if parent_overlap is the actual parameter name, but you get the idea.) -Greg Software Engineer #42 @

Re: Read from clones

2014-07-16 Thread Ilya Dryomov
On Wed, Jul 16, 2014 at 10:19 PM, Gregory Farnum g...@inktank.com wrote: FYI, this sounds like an issue the userspace client (and possibly the actual rbd class?) had as well: it looked at the HEAD parent_overlap field even when reading from snapshots. (I don't remember if parent_overlap is the

Re: Read from clones

2014-07-15 Thread Ilya Dryomov
On Tue, Jul 15, 2014 at 9:44 AM, Lakshminarayana Mavunduri lakshminarayana.mavund...@sandisk.com wrote: Hi, Following the below set of steps, we are seeing data loss while reading from clones. 1)Create an image with image format 2 (in this case we have made the size to be 1024MB).

Read from clones

2014-07-14 Thread Lakshminarayana Mavunduri
Hi, Following the below set of steps, we are seeing data loss while reading from clones. 1)Create an image with image format 2 (in this case we have made the size to be 1024MB). rbd create image1 --size 1024 --image-format 2 2)Map the image and write 1024MB worth of data to it.