[ceph-users] Re: rbd export-diff/import-diff hangs

2023-08-27 Thread Mykola Golub
On Mon, Aug 28, 2023 at 6:21 AM Tony Liu wrote: > > It's export-diff from an in-use image, both from-snapshot and to-snapshot > exist. > The same from-snapshot exists in import image, which is the to-snapshot from > last diff. > export/import is used for local backup, rbd-mirroring is used for r

[ceph-users] Re: rbd export-diff/import-diff hangs

2023-08-27 Thread Tony Liu
Figured it out. It's not rbd issue. Sorry for this false alarm. Thanks! Tony From: Tony Liu Sent: August 27, 2023 08:19 PM To: Eugen Block; ceph-users@ceph.io Subject: [ceph-users] Re: rbd export-diff/import-diff hangs It's export-diff from an in-use imag

[ceph-users] Re: rbd export-diff/import-diff hangs

2023-08-27 Thread Tony Liu
It's export-diff from an in-use image, both from-snapshot and to-snapshot exist. The same from-snapshot exists in import image, which is the to-snapshot from last diff. export/import is used for local backup, rbd-mirroring is used for remote backup. Looking for options to get more info to troubles

[ceph-users] Re: rbd export with export-format 2 exports all snapshots?

2023-08-27 Thread Tony Liu
Thank you Alex for confirmation! Tony From: Alex Gorbachev Sent: August 27, 2023 05:29 PM To: Tony Liu Cc: d...@ceph.io; ceph-users@ceph.io Subject: Re: [ceph-users] rbd export with export-format 2 exports all snapshots? Tony, From what I recall having w

[ceph-users] Re: rbd export with export-format 2 exports all snapshots?

2023-08-27 Thread Alex Gorbachev
Tony, From what I recall having worked with snapshots a while ago, you would want export-diff to achieve a differential export. "export" will always go for a full image. -- Alex Gorbachev https://alextelescope.blogspot.com On Sun, Aug 27, 2023 at 8:03 PM Tony Liu wrote: > Hi, > > Say, sourc

[ceph-users] rbd export with export-format 2 exports all snapshots?

2023-08-27 Thread Tony Liu
Hi, Say, source image has snapshot s1, s2 and s3. I expect "export" behaves the same as "deep cp", when specify a snapshot, with "--export-format 2", only the specified snapshot and all snapshots earlier than that will be exported. What I see is that, no matter which snapshot I specify, "export"

[ceph-users] Re: What does 'removed_snaps_queue' [d5~3] means?

2023-08-27 Thread Work Ceph
I see, thanks for the reply! BTW, while the snapshots are not removed yet, should we be able to delete the image that had the snapshots being deleted? We noticed the following for the images that had snapshots deleted, but not actually removed from the system: ``` This means the image is still op

[ceph-users] Re: rbd export-diff/import-diff hangs

2023-08-27 Thread Eugen Block
You mean the image is in use while you’re exporting? Have thought about creating snapshots and exporting those? Or set up rbd mirroring? Zitat von Tony Liu : To update, hanging happens when updating local image, not remote, networking is not a concern here. Any advices how to look into it? T

[ceph-users] Re: rbd export-diff/import-diff hangs

2023-08-27 Thread Tony Liu
To update, hanging happens when updating local image, not remote, networking is not a concern here. Any advices how to look into it? Thanks! Tony From: Tony Liu Sent: August 26, 2023 10:43 PM To: d...@ceph.io; ceph-users@ceph.io Subject: [ceph-users] rbd e