-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i disabled standalone snapshot creation #675, the unorthodoxy implement cause other problem and confuse me. #2430
Comments
If you are not seeing your original images something wrong with your setup and I suggest opening a separate issue for that one.
Mirroring is not a problem, for now, I have opened few issues related to mirroring and we will handle that in cephcsi internally The images will get flatten once a certain limit is reached and We have not seen any issue when creating more images and the design was suggested and approved by the RBD engineer. If you have seen any performance issues related to rbd images we can discuss them further.
No, cephcsi implementation is completed different from the core ceph for below 2 reason
|
@jpsn123 just to confirm above, are you saying after taking just |
@Madhu-1 thank your help.
Perhaps my mind has not changed if I have used the full functionality of CSI, I shouldn't manage images in the traditional way. |
@humblec there is no extra images, actually i take snapshot serveral times, so it pop up about 600 images. |
Hello @Madhu-1, I am a cloud architecture engineer, and I want to promote private cloud based on open source solution in my company. I use Rook as a bridge between Ceph storage and K8S. After deploying all the production applications, I backed up the cluster with Velero including taking a snapshot of all the PVC (about 100), then I went to Ceph Dashbord and I was shocked that all the image corresponding to my PVC have disappeared and there are just left thousands more image prefix with csi-snap-xxx. I am very curious about why there are so many images, I just take snapshots and where is my original images?
Finally, I found that my image was still there by ceph-cli, but two more
op_features
were added and hidden by ceph dashbord. Then I discovered the mechanism of taking snapshots in further research (#693 #675).Assuming that taking snapshots twice a day and keep them for a year, I will have 365x100x2=73,000 images!!! Ceph will maintain a large index to find images. I don't know how ceph is designed internally, but I do know that if there are hundreds of thousands of files in a directory, The
ls
command maybe crash and the file index will be slow. In addition, there are a number of other problems with this implementation. For example, configuring mirroring for some important images(not all) byrbd mirror image enable {pool-name}/{image-name} snapshot
will be out of work.I think this is a terrible design and it breaks the ceph official Snapshot design, probably because I don't know much about the details, but for now I would like to disable this snapshot implement. steps as shown below:
Create a snapshot
Create PVC from a snapshot
--rbd-default-clone-format 2 --image-feature layering,deep-flatten
Delete a snapshot
I am very glad to receive your reply, thanks.
The text was updated successfully, but these errors were encountered: