Yes, you can still use snapshot2 to clone the new image while a flatten is in-progress. The parent/clone relationships form a chain, so when the flatten completes image2 will be disassociated from its parent. Also, when the flatten completes, a notification will be sent (in the background) to all users of image2 (and its descendants) that its parent has been removed. If you had a clone of image2 open at the time, the clone of image2 would then know it would no longer need to access image1 since the link from image1 to image2 was removed. -- Jason Dillaman > ----- Original Message ----- > > From: "Jackie" <hzguanqiang@xxxxxxxxx> > > To: ceph-users@xxxxxxxxxxxxxx > > Sent: Tuesday, November 3, 2015 8:47:19 PM > > Subject: Can snapshot of image still be used while flattening > > the image? > > > > Hi experts, > > > > I have rbd images and snapshots as following: > > image1 - > snapshot1(snapshot for image1) > > -> image2(cloned from snapshot1) -> snapshot2 (snapshot for image2), > > > > During I flatten the image2, can I still use snapshot2 to clone new image? > > > > Regards, > > Jackie > > _______________________________________________ > > ceph-users mailing list > > ceph-users@xxxxxxxxxxxxxx > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com