CEPH filesystem development
 help / color / mirror / Atom feed
* How to write data to snapshot.
@ 2012-10-07  5:11 ramu eppa
  2012-10-08 17:30 ` Tommi Virtanen
  0 siblings, 1 reply; 6+ messages in thread
From: ramu eppa @ 2012-10-07  5:11 UTC (permalink / raw)
  To: ceph-devel

Hi,
  In rbd am creating snapshot and next time i copied data to that snapshot,
it was not copying the data.Please help me to how to copy data to snapshot.

Thanks,
Ramu.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to write data to snapshot.
  2012-10-07  5:11 How to write data to snapshot ramu eppa
@ 2012-10-08 17:30 ` Tommi Virtanen
  2012-10-09  6:56   ` ramu eppa
  0 siblings, 1 reply; 6+ messages in thread
From: Tommi Virtanen @ 2012-10-08 17:30 UTC (permalink / raw)
  To: ramu eppa; +Cc: ceph-devel

On Sat, Oct 6, 2012 at 10:11 PM, ramu eppa <ramu.freesystems@gmail.com> wrote:
> Hi,
>   In rbd am creating snapshot and next time i copied data to that snapshot,
> it was not copying the data.Please help me to how to copy data to snapshot.

RBD snapshots are immutable by design. You can do a copy-on-write
clone of a snapshot to a writable image (in the latest Ceph version),
or just copy the contents into another image (in older Ceph versions).

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to write data to snapshot.
  2012-10-08 17:30 ` Tommi Virtanen
@ 2012-10-09  6:56   ` ramu eppa
  2012-10-09 17:37     ` Dan Mick
  0 siblings, 1 reply; 6+ messages in thread
From: ramu eppa @ 2012-10-09  6:56 UTC (permalink / raw)
  To: ceph-devel

Hi Tommi ,

    If we convert snapshot into writable(mutable),we will copy data to that 
snapshot and getting data multiple times,is it possible.
This will works on ceph-0.48 or any other version.

Thanks,
Ramu.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to write data to snapshot.
  2012-10-09  6:56   ` ramu eppa
@ 2012-10-09 17:37     ` Dan Mick
  2012-10-10  5:58       ` ramu eppa
  0 siblings, 1 reply; 6+ messages in thread
From: Dan Mick @ 2012-10-09 17:37 UTC (permalink / raw)
  To: ramu eppa; +Cc: ceph-devel

I'm not Tommi, but I'm not aware of a way to convert a snapshot into a 
writable image.  You can make a copy-on-write clone of a snapshot, which 
is writable, but the snapshot remains readonly.

I don't know what the rest of your sentence means.

Are you trying to accomplish something in particular?  Can you describe 
that without suggesting a mechanism, and maybe we can help?

On 10/08/2012 11:56 PM, ramu eppa wrote:
> Hi Tommi ,
>
>      If we convert snapshot into writable(mutable),we will copy data to that
> snapshot and getting data multiple times,is it possible.
> This will works on ceph-0.48 or any other version.
>
> Thanks,
> Ramu.
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to write data to snapshot.
  2012-10-09 17:37     ` Dan Mick
@ 2012-10-10  5:58       ` ramu eppa
  2012-10-12 23:29         ` Dan Mick
  0 siblings, 1 reply; 6+ messages in thread
From: ramu eppa @ 2012-10-10  5:58 UTC (permalink / raw)
  To: ceph-devel

Hi Dan Mick,
  Thank u for reply,actually 
1.I want to create writable snapshot.
2.In that snapshot I want to insert data.
3.Is it possible to reuse snapshot.
4.And for this what version of ceph can I use.

Thanks,
Ramu.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to write data to snapshot.
  2012-10-10  5:58       ` ramu eppa
@ 2012-10-12 23:29         ` Dan Mick
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Mick @ 2012-10-12 23:29 UTC (permalink / raw)
  To: ramu eppa; +Cc: ceph-devel



On 10/09/2012 10:58 PM, ramu eppa wrote:
> Hi Dan Mick,
>    Thank u for reply,actually
> 1.I want to create writable snapshot.

There is no such thing as a writable snapshot.

> 2.In that snapshot I want to insert data.
> 3.Is it possible to reuse snapshot.
> 4.And for this what version of ceph can I use.
>
> Thanks,
> Ramu.
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-12 23:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07  5:11 How to write data to snapshot ramu eppa
2012-10-08 17:30 ` Tommi Virtanen
2012-10-09  6:56   ` ramu eppa
2012-10-09 17:37     ` Dan Mick
2012-10-10  5:58       ` ramu eppa
2012-10-12 23:29         ` Dan Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox