Skip to contentSkip to conversation

How to write data to snapshot.

DISCUSSION ramu eppa 3 participants 6 messages Oct 7, 2012 – Oct 12, 2012

lore
Share & tools
lore

ramu eppa

author
#0 lore raw

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.

#1 lore raw
Quoted 3 lines · ramu eppa

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).

author
#2 lore raw

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.

#3 lore raw

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?

Quoted 15 lines · ramu eppa

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#4 lore raw

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.

#5 lore raw
Quoted 3 lines · ramu eppa

Hi Dan Mick,
Thank u for reply,actually
1.I want to create writable snapshot.

There is no such thing as a writable snapshot.

Quoted 12 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html