Hi all,
I'm trying to understand the idea behind rbd images and their
clones/snapshots. I have tried this scenario:
1. upload image A to glance
2. boot instance ONE from image A
3. make changes to instance ONE (install new package)
4. create snapshot SNAP1 from ONE
5. delete instance ONE
6. delete image A
deleting image A fails because of existing snapshot SNAP1
7. flatten snapshot SNAP1
8. delete image A
succeeds
9. launch instance TWO from SNAP1
10. make changes to TWO (install package)
11. create snapshot SNAP2 from TWO
12. delete TWO
13. delete SNAP1
succeeds
This means that the second snapshot has the same (full) size as the
first. Can I manipulate SNAP1 somehow so that snapshots are not
flattened anymore and SNAP2 becomes a cow clone of SNAP1?
I hope my description is not too confusing. The idea behind this
question is, if I have one base image and want to adjust that image
from time to time, I don't want to keep several versions of that
image, I just want one. But this way i would lose the protection from
deleting the base image.
Is there any config option in ceph or Openstack or anything else I can
do to "un-flatten" an image? I would assume that there is some kind of
flag set for that image. Maybe someone can point me to the right
direction.
Thanks,
Eugen
--
Eugen Block voice : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail : eblock@xxxxxx
Vorsitzende des Aufsichtsrates: Angelika Mozdzen
Sitz und Registergericht: Hamburg, HRB 90934
Vorstand: Jens-U. Mozdzen
USt-IdNr. DE 814 013 983
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com